티스토리 뷰
child pid **** exit signal File size limit exceeded (25)
▶ 웹 서버 로그 파일이 너무 커져서 발생하는 로그
웹 서버 로그 파일이 쌓이는 디렉토리 이동 후 로그사이즈 확인 후 cp /dev/null 처리
특정 디렉토리를 모를 경우 find 명령어를 사용하여 1GB 이상 로그파일 찾기
find / -type f -name "*.log" -size 10050000k | xargs ls -alth
확인 후 /dev/null 처리 또는 로그를 보관을 하고자 할 경우 copy 후 null 처리 진행
[참고]
파일시스템이 ext2라면 파일 크기2GB로 제한이 되어있음
반응형
'Linux(CentOS) > * log' 카테고리의 다른 글
page allocation failure. swapper Not tainted (0) | 2016.01.04 |
---|---|
possible SYN flooding on port 80. Sending cookies. (0) | 2016.01.01 |
ext3_dx_add_entry:Director index Full (2) | 2015.12.31 |
TCP: Treason uncloaked! Peer ***.***.***.***:***/*** shrinks windows 2166083304:21204049950 Repaired (0) | 2015.12.31 |
device eth0 entered promiscuous mode (0) | 2015.12.31 |
댓글