segfault log 분석 확인 요청 > LINUX 자료실

본문 바로가기

사이트 내 전체검색

뒤로가기 LINUX 자료실

segfault log 분석 확인 요청

페이지 정보

작성자 jhseol 작성일 20-10-20 15:53 조회 6,769 댓글 0

본문

- 재부팅을 해도 segfault log가 지속적으로 발생중인 상황
- segfault log 메세지의 발생 원인 및 조치 방법에 대한 문의

-----------------------------------------------------------------------------

sosreport 분석 결과 대상 서버의 segfault 는 3rd-party 프로세스에서만 발생하는 것으로 확인
segfault는 해당 프로세스가 잘못된 메모리 주소에 대한 접근으로 발생하는 에러메세지이며,
프로세스의 버그 혹은 정확하지 않은 compiled/built 등 어플리케이션의 문제로 인해 발생하는 것으로
알려져있다.
해당 어플리케이션/프로세스 측면에서의 추가 분석이 필요합니다.

참고문서
A Guide for Troubleshooting a Segfault
https://access.redhat.com/articles/372743

로그 내용
-----------------------------------------------------------------------------
[nbiz1]
$ grep segfault var/log/messages* | awk '{print $6}' | cut -d '[' -f1 | sort | uniq -c
  3067 auto_up
  3066 auto_up2
  3060 bsvr_proxy.new
  3066 bsvr_proxy.old
  3065 bsvr_proxy.old_
  3064 bsvr_proxy.tst

$ for i in `grep segfault var/log/messages* | awk '{print $6}' | cut -d '[' -f1 | sort | uniq`; do cat ps | grep $i ; done
mhs      2556  0.0  0.0  1964  464 ?        S    14:37  0:00 /CMSADM/EDI/bin/auto_up 7400
mhs      2586  0.0  0.0  1964  468 ?        S    14:37  0:00 /CMSADM/EDI/bin/auto_up2 7401
mhs      2586  0.0  0.0  1964  468 ?        S    14:37  0:00 /CMSADM/EDI/bin/auto_up2 7401
mhs      2673  0.0  0.0  1960  472 ?        Ss  14:37  0:00 /CMSADM/EDI/bin/bsvr_proxy.new 7326
mhs      4826  0.0  0.0  1960  448 ?        S    14:39  0:00 /CMSADM/EDI/bin/bsvr_proxy.new 7326
mhs      5104  0.0  0.0  1960  448 ?        S    14:40  0:00 /CMSADM/EDI/bin/bsvr_proxy.new 7326
....
mhs      4827  0.0  0.0  1960  444 ?        S    14:39  0:00 /CMSADM/EDI/bin/bsvr_proxy.tst 7327
mhs      5105  0.0  0.0  1960  444 ?        S    14:40  0:00 /CMSADM/EDI/bin/bsvr_proxy.tst 7327
mhs      5436  0.0  0.0  1960  444 ?        S    14:41  0:00 /CMSADM/EDI/bin/bsvr_proxy.tst 7327
mhs      5811  0.0  0.0  1960  444 ?        S    14:42  0:00 /CMSADM/EDI/bin/bsvr_proxy.tst 7327

[nbiz2]
$ grep segfault var/log/messages* | awk '{print $6}' | cut -d '[' -f1 | sort | uniq -c
  3053 auto_up
  3049 auto_up2
  3052 bsvr_proxy.new
  2969 bsvr_proxy.old
  3038 bsvr_proxy.old_
  3051 bsvr_proxy.tst

$ for i in `grep segfault var/log/messages* | awk '{print $6}' | cut -d '[' -f1 | sort | uniq`; do cat ps | grep $i ; done
mhs      2582  0.0  0.0  1964  464 ?        S    14:13  0:00 /CMSADM/EDI/bin/auto_up 7400
mhs      2612  0.0  0.0  1964  464 ?        S    14:13  0:00 /CMSADM/EDI/bin/auto_up2 7401
mhs      2612  0.0  0.0  1964  464 ?        S    14:13  0:00 /CMSADM/EDI/bin/auto_up2 7401
mhs      2699  0.0  0.0  1960  472 ?        Ss  14:13  0:00 /CMSADM/EDI/bin/bsvr_proxy.new 7326
mhs      7251  0.0  0.0  1960  448 ?        S    14:22  0:00 /CMSADM/EDI/bin/bsvr_proxy.new 7326
mhs      7560  0.0  0.0  1960  448 ?        S    14:23  0:00 /CMSADM/EDI/bin/bsvr_proxy.new 7326
...
mhs      2728  0.0  0.0  1960  468 ?        Ss  14:13  0:00 /CMSADM/EDI/bin/bsvr_proxy.tst 7327
mhs      7252  0.0  0.0  1960  448 ?        S    14:22  0:00 /CMSADM/EDI/bin/bsvr_proxy.tst 7327
mhs      7561  0.0  0.0  1960  448 ?        S    14:23  0:00 /CMSADM/EDI/bin/bsvr_proxy.tst 7327
mhs      7860  0.0  0.0  1960  448 ?        S    14:24  0:00 /CMSADM/EDI/bin/bsvr_proxy.tst 7327

댓글목록 0

등록된 댓글이 없습니다.

Copyright © 소유하신 도메인. All rights reserved.

사이트 정보

회사명 : (주)리눅스데이타시스템 / 대표 : 정정모
서울본사 : 서울특별시 강남구 봉은사로 114길 40 홍선빌딩 2층 / tel : 02-6207-1160
대전지사 : 대전광역시 유성구 노은로174 도원프라자 5층 / tel : 042-331-1161

PC 버전으로 보기