This is a discussion on one apache process looping within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi, We have one apache process that is constantly starting after apache restart. this process takes sometimes 99% or cpu, ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
We have one apache process that is constantly starting after apache restart. this process takes sometimes 99% or cpu, and sometimes just 15%. when I try to strace it, I get: [root@web1 root]# strace -p 7940 --- SIGSTOP (Stopped (signal)) --- select(0, NULL, NULL, NULL, {0, 742140}) = 0 (Timeout) time(NULL) = 1057141901 kill(10344, SIGUSR1) = 0 wait4(-1, 0xbffff88c, WNOHANG, NULL) = 0 select(0, NULL, NULL, NULL, {1, 0}) = ? ERESTARTNOHAND (To be restarted) --- SIGCHLD (Child exited) --- select(0, NULL, NULL, NULL, {0, 996030}) = 0 (Timeout) time(NULL) = 1057141902 kill(10345, SIGUSR1) = 0 wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 10344 wait4(-1, 0xbffff88c, WNOHANG, NULL) = 0 select(0, NULL, NULL, NULL, {1, 0}) = ? ERESTARTNOHAND (To be restarted) --- SIGCHLD (Child exited) --- select(0, NULL, NULL, NULL, {0, 996030}) = 0 (Timeout) time(NULL) = 1057141903 kill(10345, SIGUSR1) = 0 wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 10345 wait4(-1, 0xbffff88c, WNOHANG, NULL) = 0 select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout) time(NULL) = 1057141904 kill(10343, SIGUSR1) = 0 wait4(-1, 0xbffff88c, WNOHANG, NULL) = 0 select(0, NULL, NULL, NULL, {1, 0}) = ? ERESTARTNOHAND (To be restarted) --- SIGCHLD (Child exited) --- select(0, NULL, NULL, NULL, {0, 996030} <unfinished ...> I haven't seen this beheivour before. What is this? Is this a bug in one of our scripts, what is a way to tied it to the appropriate script and debug it further? Thanks in advance, -G |
| Thread Tools | |
| Display Modes | |
|
|