서버가 계속 다운되는데 무슨 문제일까요
작성자 정보
- 초보입니다 작성
- 작성일
컨텐츠 정보
- 7,034 조회
- 1 댓글
- 0 추천
- 목록
본문
# top
top - 21:03:31 up 2 days, 7:00, 4 users, load average: 226.22, 247.84, 189.92
Tasks: 636 total, 120 running, 515 sleeping, 0 stopped, 1 zombie
Cpu(s): 0.1%us, 99.8%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 16431172k total, 16350848k used, 80324k free, 536k buffers
Swap: 8385920k total, 8385920k used, 0k free, 17532k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
805 root 11 -5 0 0 0 S 53.2 0.0 1:09.66 kjournald
5285 daemon 18 0 376m 152m 2508 R 41.2 0.9 1:29.29 httpd
5435 daemon 17 0 342m 19m 2792 R 29.0 0.1 0:03.00 httpd
5264 daemon 17 0 288m 13m 2836 R 28.8 0.1 0:33.90 httpd
2674 daemon 17 0 491m 143m 2200 R 27.4 0.9 0:39.18 httpd
6325 daemon 18 0 276m 8136 3220 R 25.5 0.0 0:02.89 httpd
29535 daemon 17 0 346m 14m 2488 R 24.2 0.1 0:03.51 httpd
5290 daemon 16 0 350m 57m 3236 S 23.9 0.4 0:02.19 httpd
3993 daemon 17 0 289m 13m 2220 R 23.2 0.1 0:55.69 httpd
5440 daemon 16 0 290m 13m 2496 R 22.6 0.1 0:25.92 httpd
5477 daemon 16 0 346m 55m 3584 R 20.7 0.3 0:03.19 httpd
5659 daemon 18 0 288m 12m 1716 R 20.7 0.1 0:02.29 httpd
6421 daemon 16 0 277m 7316 2660 R 20.0 0.0 0:00.87 httpd
5265 daemon 16 0 284m 7236 2928 R 19.6 0.0 0:08.91 httpd
6412 daemon 16 0 276m 8580 3660 R 19.6 0.1 0:00.99 httpd
4786 daemon 16 0 288m 13m 2748 D 18.6 0.1 0:02.17 httpd
6508 daemon 16 0 274m 3812 1004 R 18.4 0.0 0:00.80 httpd
2519 daemon 16 0 346m 56m 3404 R 18.2 0.4 0:03.68 httpd
dmesg
You need to implement a remote task_setrlimit in your security module and call it directly from this functionWARNING: at security/security.c:51 security_ops_task_setrlimit()
Call Trace:
[<ffffffff8012ee59>] security_ops_task_setrlimit+0x87/0x96
[<ffffffff8009dbc9>] do_prlimit+0xd7/0x1d2
[<ffffffff800b2376>] compat_sys_setrlimit+0x75/0x85
[<ffffffff800614b5>] sysenter_do_call+0x1e/0x76
/var/log/message
Aug 2 20:51:35 alpha kernel: INFO: task httpd:26547 blocked for more than 120 seconds.
Aug 2 20:51:36 alpha kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Aug 2 20:51:36 alpha kernel: httpd D ffff810001004420 0 26547 3685 26819 23390 (NOTLB)
Aug 2 20:51:36 alpha kernel: ffff8101b4859dc8 0000000000000086 ffff8104259d2408 ffffffff80009a1c
Aug 2 20:51:36 alpha kernel: ffff81042b347638 000000000000000a ffff810154f8b820 ffffffff8031cb60
Aug 2 20:51:36 alpha kernel: 0000b2dd05dbd747 0000000000070340 ffff810154f8ba08 000000003e401810
Aug 2 20:51:36 alpha kernel: Call Trace:
Aug 2 20:51:36 alpha kernel: [<ffffffff80009a1c>] __link_path_walk+0x173/0xf39
Aug 2 20:51:36 alpha kernel: [<ffffffff8002d0f1>] mntput_no_expire+0x19/0x89
Aug 2 20:51:36 alpha kernel: [<ffffffff80063c63>] __mutex_lock_slowpath+0x60/0x9b
Aug 2 20:51:36 alpha kernel: [<ffffffff80023daa>] __path_lookup_intent_open+0x56/0x97
Aug 2 20:51:36 alpha kernel: [<ffffffff80063cad>] .text.lock.mutex+0xf/0x14
Aug 2 20:51:43 alpha kernel: [<ffffffff8001b692>] open_namei+0xea/0x6ba
Aug 2 20:51:58 alpha kernel: [<ffffffff800efab7>] __posix_lock_file_conf+0x396/0x3e0
CPU 로드량이 226까지 올라가면서 서버가 뻗어버리는데요
용도는 웹서버입니다.
관련자료
-
이전
-
다음
수타님의 댓글
- 수타
- 작성일
아파치쪽 문제 같습니다. 아파치 관련 로그를 확인 해 보시고
http://ssambback.tistory.com/entry/서버가-응답이-없어요INfotask-processpid-lock-for-more-than-120-seconds
확인해 보세요,