On 9/23/06, Dave Mabe <[EMAIL PROTECTED]> wrote:
On 9/22/06, Dave Mabe <[EMAIL PROTECTED]> wrote:
> On 9/22/06, Joshua Slive <[EMAIL PROTECTED]> wrote:
> > On 9/22/06, Dave Mabe <[EMAIL PROTECTED]> wrote:
> > > I'm running Apache from the apache-perl Debian package out of stable.
> > >
> > > Every so often (just infrequently enough to be very annoying), Apache will
> > > all of the sudden ignore the MaxSpareServers and start up more and more
> > > Apache child processes until it brings the server down.  During normal
> > > operation, it works just fine.  But when it gets in this state, it brings
> > > the server to its knees and I have to reboot.
> > >
> > > I'm using this version of apache-perl: 1.3.33-6sarge1
> > >
> > > Any ideas about how to troubleshoot and fix this problem?
> >
> > What does server-status look like during these times (see mod_status)?

OK, the problem happened again and I was able to pull some information
from server-status.

First of all, here's the appropriate part of my config:

MinSpareServers 3
MaxSpareServers 5
StartServers 3
MaxClients 50
MaxRequestsPerChild 30

I've attached a few files:
* server-status.normal.htm - the output from server-status during
normal operation
* server-status.problem.htm - output from server-status as soon as I
detected the problem
* server-status.problem.escalating.htm - output from server-status a
few minutes later
* process.list.txt - output from ps -ef|grep apache during the problem

As you can see from process.list.txt, Apache is completely ignoring
MaxSpareServers and creating a ton of child processes until it
completely runs out of memory.  Sometimes it gets in this state a
couple times a day, other times it will go for 10 days without the
problem occuring.

Any idea what is going on and how I might be able to fix it or
troubleshoot further?

Thanks!
Dave

Whoops.  process.list.txt was an empty file in the last email.  Here's
the contents.
stocktickr:~# ps -ef|grep apache
root      4251     1  0 06:12 ?        00:00:05 /usr/sbin/apache-perl
www-data  6455  4251  1 21:10 ?        00:00:15 /usr/sbin/apache-perl
www-data  6456  4251  1 21:10 ?        00:00:14 /usr/sbin/apache-perl
www-data  6478  4251  1 21:18 ?        00:00:09 /usr/sbin/apache-perl
www-data  6483  4251  0 21:20 ?        00:00:06 /usr/sbin/apache-perl
www-data  6500  4251  1 21:21 ?        00:00:10 /usr/sbin/apache-perl
www-data  6503  4251  0 21:21 ?        00:00:06 /usr/sbin/apache-perl
www-data  6504  4251  1 21:21 ?        00:00:08 /usr/sbin/apache-perl
www-data  6507  4251  1 21:21 ?        00:00:08 /usr/sbin/apache-perl
www-data  6508  4251  0 21:21 ?        00:00:05 /usr/sbin/apache-perl
www-data  6509  4251  1 21:21 ?        00:00:09 /usr/sbin/apache-perl
www-data  6510  4251  0 21:21 ?        00:00:05 /usr/sbin/apache-perl
www-data  6511  4251  1 21:21 ?        00:00:07 /usr/sbin/apache-perl
www-data  6512  4251  1 21:21 ?        00:00:10 /usr/sbin/apache-perl
www-data  6513  4251  1 21:21 ?        00:00:08 /usr/sbin/apache-perl
www-data  6514  4251  1 21:21 ?        00:00:09 /usr/sbin/apache-perl
www-data  6515  4251  1 21:21 ?        00:00:07 /usr/sbin/apache-perl
www-data  6541  4251  1 21:22 ?        00:00:07 /usr/sbin/apache-perl
www-data  6542  4251  1 21:22 ?        00:00:06 /usr/sbin/apache-perl
www-data  6543  4251  1 21:22 ?        00:00:07 /usr/sbin/apache-perl
www-data  6545  4251  1 21:23 ?        00:00:06 /usr/sbin/apache-perl
www-data  6549  4251  1 21:25 ?        00:00:07 /usr/sbin/apache-perl
www-data  6567  4251  2 21:27 ?        00:00:06 /usr/sbin/apache-perl
www-data  6570  4251  2 21:28 ?        00:00:06 /usr/sbin/apache-perl
www-data  6571  4251  2 21:28 ?        00:00:06 /usr/sbin/apache-perl
www-data  6578  4251  1 21:30 ?        00:00:01 /usr/sbin/apache-perl
www-data  6579  4251  1 21:30 ?        00:00:01 /usr/sbin/apache-perl
www-data  6580  4251  1 21:30 ?        00:00:01 /usr/sbin/apache-perl
www-data  6581  4251  1 21:30 ?        00:00:01 /usr/sbin/apache-perl
www-data  6582  4251  1 21:30 ?        00:00:01 /usr/sbin/apache-perl
www-data  6583  4251  2 21:30 ?        00:00:02 /usr/sbin/apache-perl
www-data  6584  4251  2 21:30 ?        00:00:02 /usr/sbin/apache-perl
www-data  6585  4251  3 21:31 ?        00:00:02 /usr/sbin/apache-perl
www-data  6586  4251  4 21:31 ?        00:00:02 /usr/sbin/apache-perl
www-data  6587  4251  4 21:31 ?        00:00:01 /usr/sbin/apache-perl
root      6590  5089  0 21:31 pts/0    00:00:00 grep apache
www-data  6595  4251  0 21:33 ?        00:00:01 /usr/sbin/apache-perl
www-data  6596  4251  0 21:33 ?        00:00:01 /usr/sbin/apache-perl
www-data  6598  4251  0 21:33 ?        00:00:00 /usr/sbin/apache-perl
stocktickr:~#
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to