Attaching strace to 100% CPU Apache process - output
Posted
by
knef
on Server Fault
See other posts from Server Fault
or by knef
Published on 2011-11-14T17:28:19Z
Indexed on
2011/11/14
17:54 UTC
Read the original article
Hit count: 216
I am having a problem with Apache2 spawning processes that use 100% CPU.
Attaching strace to one of such processes produces no output sometimes and sometimes gives this:
2672 17:18:07 poll([{fd=14, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
2672 17:18:07 write(14, "\236\3\0\0\3SELECT FLOOR(((price_index."..., 930) = 930
2672 17:18:07 read(14, "\1\0\0\1\2\33\0\0\2\3def\0\0\0\5range\0\f?\0\r\0\0\0\10\0"..., 16384) = 85
I would be grateful for any ideas as to interpreting the above.
© Server Fault or respective owner