My modperl Apache keeps freezing up every few days.

When it freezes up, here's what "ps" looks like:

$ ps ux --width=9999
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
shoujoai 29179  0.0  0.2  8036 5928 ?        Ss   May03   0:00 
/usr/local/perlhttpd/bin/httpd -f /home/shoujoai/httpd/httpd.conf
shoujoai 30337  0.0  0.9 21344 18728 ?       S    May03   0:02 
/usr/local/perlhttpd/bin/httpd -f /home/shoujoai/httpd/httpd.conf
shoujoai 14289  0.0  1.0 23708 21156 ?       S    May03   0:36 
/usr/local/perlhttpd/bin/httpd -f /home/shoujoai/httpd/httpd.conf
shoujoai 14366  0.0  0.9 22168 19584 ?       S    May03   0:25 
/usr/local/perlhttpd/bin/httpd -f /home/shoujoai/httpd/httpd.conf
shoujoai 17662  0.0  0.9 21656 19132 ?       S    May03   0:19 
/usr/local/perlhttpd/bin/httpd -f /home/shoujoai/httpd/httpd.conf
shoujoai 26427  0.0  0.9 21364 18836 ?       S    May03   0:06 
/usr/local/perlhttpd/bin/httpd -f /home/shoujoai/httpd/httpd.conf

When I try to telnet to it, it goes like this:

$ telnet localhost 8002
Trying 127.0.0.1...

then it hangs for a few minutes before this:

Connected to localhost.localdomain.
Escape character is '^]'.

Then if I try to do an HTTP request:

GET /server-status HTTP/1.1
Host: www.shoujoai.com

it'll hang for another few minutes and then it just does:

Connection closed by foreign host.

Any ideas what's going on? The access_log showed normal traffic
patterns up until the time it froze then it just stops:

206.57.89.207 - - [03/May/2006:23:44:04 -0500] "GET /forum/board_show.pl?bid=12 
HTTP/1.0" 200 15098 "http://www.shoujoai.com/forum/forum_show.pl"; "Mozilla/5.0 
(Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 
(ax)"
68.107.121.19 - - [03/May/2006:23:44:04 -0500] "GET 
/forum/board_show.pl?bid=7;pg=2 HTTP/1.0" 200 15752 
"http://www.shoujoai.com/forum/board_show.pl?bid=7"; "Mozilla/5.0 (Windows; U; 
Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7"
70.244.35.23 - - [03/May/2006:23:44:05 -0500] "GET /forum/forum_search.pl 
HTTP/1.0" 200 6525 "http://www.shoujoai.com/forum/board_show.pl?bid=12"; 
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; YPC 3.0.3; .NET CLR 
1.1.4322)"

If I kill and restart the Apache then it's fine but it'll freeze up in
a few days again. I'm perplexed.

Reply via email to