Maxime Petazzoni wrote:
Salut,
* Joshua Slive <[EMAIL PROTECTED]> [2005-10-16 15:54:18]:
There appear to be some httpd processes spinning on cpu on ajax.
Attaching with gdb and asking for a backtrace gives me something
like this:
[snip]
Could you send us the URL that raised the problem ? We don't see
anything that could be wrong in the mbox_wrap_text code :(
This URL seems to give the problem:
http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-commits/200012.mbox/[EMAIL
PROTECTED]
There are no spinning httpds on ajax at the moment -- they seem to come
and go. I suspect that they are not permanently spinning, but rather
are dying whenever the client gives up on waiting. Connecting to the
above URL gives me instant 100% CPU usage on the server that lasts until
I hit "stop" on the browser. I get no content from the server.
I would debug further, but that would involve actually looking at the
code, which I have so far managed to avoid ;-)
I forced a core dump and put it in /raid1/httpd-cores/core.31834 on ajax.
Here's the basics:
#1 0x2000000001007f30 in mbox_wrap_text (
str=0x200000000147c038 "fotis 00/12/12 11:18:52\n\n
Modified: . build.xml\n", ' ' <repeats 15 times>,
"docs/examples build.xml\n", ' ' <repeats 15 times>, "docs/xml-docs
fop.xml xml2xml.xsl\n", ' ' <repeats 15 times>, "lib Fop.class
Fop.java read"...) at mod_mbox.c:155
#2 0x2000000001012ff0 in mbox_static_message (r=0x6000000000230ca0,
f=0x6000000000235f70) at mod_mbox_out.c:1158
#3 0x200000000100a900 in mbox_file_handler (r=0x6000000000230ca0)
at mod_mbox_file.c:320
#4 0x4000000000035f90 in ap_run_handler (r=0x6000000000230ca0) at
config.c:153
#5 0x4000000000036f70 in ap_invoke_handler (r=0x6000000000230ca0)
Joshua.