Bug#286604: apache using large amounts of CPU
package: apache
version: 1.3.33-2
severity: critical
A module or package has been upgraded recently and is creating large
problems for apache
I attempted to downgrade php and apache to find out what was causing the
problem, this did not help, I have included a trace of the running child
apache process that is basically hammering my system.
In conclusion, something is severly CPU bound and basically rendering
apache useless and impacting on every other application until it times
out, it could be php related, however to get the process running.
I do have the same website appliction running on 3 separate servers and
all was working well, this one system died after I did an apt-get
dist-upgrade, the other two servers are running older versions of
apache/php.
regards
Paul.
Process 10487 attached - interrupt to quit
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn() = ? (mask now [])
--- SIGPROF (Profiling timer expired) @ 0 (0) ---
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={240, 0}}, NULL) = 0
rt_sigaction(SIGPROF, {0xb7708830, [PROF], SA_RESTART}, {0xb7708830,
[PROF], SA_RESTART}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) = 0
mmap2(NULL, 2097152, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE,
-1, 0) = 0xb7249000
munmap(0xb7249000, 749568) = 0
munmap(0xb7400000, 299008) = 0
mprotect(0xb7300000, 135168, PROT_READ|PROT_WRITE) = 0
open("/local/logs/php", O_WRONLY|O_APPEND|O_CREAT, 0666) = 7
fstat64(7, {st_mode=S_IFREG|0777, st_size=58064679, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0xb7448000
fstat64(7, {st_mode=S_IFREG|0777, st_size=58064679, ...}) = 0
_llseek(7, 58064679, [58064679], SEEK_SET) = 0
time([1103599287]) = 1103599287
write(7, "[21-Dec-2004 14:21:27] PHP Fatal"..., 142) = 142
close(7) = 0
munmap(0xb7448000, 4096) = 0
chdir("/") = 0
futex(0xb7e76620, FUTEX_WAIT, 2, NULL
Reply to: