httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Birkland <bir...@gmail.com>
Subject [users@httpd] Scoreboard describes nonexistant processes, MaxClients are reached
Date Thu, 06 Jan 2005 16:54:56 GMT
Hello,
   I have come across a vexing problem that I have yet to find a
problem to.  In a nutshell, I reach the MaxClients limit (set high,
256) while only having a handful of server processes in existance and
very few users, given enough elapsed time.

I see a problem in that server-status is telling me I have lots of
active servers that are stuck 'closing conection' like this:

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCW____...................................
................................................................

Srv	PID	Acc	M	CPU 	SS	Req	Conn	Child	Slot	...
0-0	4330	2/3/3	C 	0.01	35457	0	1.7	0.01	0.01  ...
1-0	4331	1/4/4	C 	0.01	26432	0	2.2	0.00	0.00  ...
2-0	4332	3/3/3	C 	0.01	35457	0	2.1	0.00	0.00  ...
3-0	4333	3/3/3	C 	0.01	35457	0	2.1	0.00	0.00   ...
4-0	4334	1/5/5	C 	0.03	26432	0	0.1	0.01	0.01  ...
5-0	4341	1/2/2	C 	0.00	26432	0	0.4	0.000	0.000  ...
(and so on)

Problem is, all the processes listed that are recorded as 'closing
connection' do not exist any more.  In this example, I had about 150
such processes listed, yet only six actual running processes on the
system.

Now, a bit of background:  I am using apache 2.0.50 on solaris 9 (aka
sunos 5.9), and it is compiled to use the prefork MPM.  The server I
am describing is running on a nonstandard port, and we have a saparate
server set up which has a VirtualHost set up such that it proxies  to
the one in question, so it basicaly doesn't do much and hasn't been
giving us troubles.  This setup has worked fine for years on various
older apache versions (pre-2.0) on servers running linux.   So two
things changed: We are using apache 2, and we are on a Solaris
machine.

I don't know that much about Apache's internals, but it seems like
this behviour is abnormal and there is some sort of a schism between
the scoreboard and reality.  As I don't understand the mechanism by
which these are related, I do not have any intuition as to what the
cause of the problem may be (i.e. under what conditions (if any) may
something like this happen).  Can anybody help me out here, perhaps
even by pointing out somewhere to look?  I couldn't find a similar
situation in the archives or on google, though I don't know if I used
or am using the correct vocabulary to describe it.   Thanks very much!

   -Aaron

---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message