httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Montgomery <mogtn...@yahoo.com>
Subject Re: [users@httpd] Major Issue -- Apache not closing open requests
Date Fri, 18 Feb 2005 07:44:53 GMT
Are you by chance using php/mysql ? I'm wondering if
mysql connections are causing this problem?  I've seen
similar problems but it takes an hour or 2 to hit 256
clients.  _most_ of my clients are getting reused, but
some dont, and they slowly accumulate....

Rob



--- Jason Bradwell <jason@moonwell.com> wrote:

> I run a fairly high traffic Web site on a dedicated
> Redhat 7.2 server 
> (1.7Ghz proc, 512M ram).  Apache 2.0.48 had been
> running for about 35 days 
> since it was restarted, no problems.
> 
> As of a few hours ago, Apache decided to start
> opening connections, but not 
> closing them.  MaxClients was quickly reached, and
> the server stopped 
> responding.  I restarted Apache, and the max request
> limit (which I upped 
> to 256) is reached in under a minute.
> 
>  From the server-status page:Current Time: Friday,
> 18-Feb-2005 01:21:10 CST 
> Restart Time: Friday, 18-Feb-2005 01:20:22 CST
> Parent Server Generation: 12 
> Server uptime: 48 seconds Total accesses: 73 - Total
> Traffic: 546 kB CPU 
> Usage: u2.68 s.58 cu0 cs0 - 6.79% CPU load 1.52
> requests/sec - 11.4 
> kB/second - 7.5 kB/request 256 requests currently
> being processed, 0 idle 
> workers
>
RRRWRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
>
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
>
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
>
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRWRRRRRRRR
> 
> Here's the status page at the point I noticed the
> problem, before I 
> restarted the server:Current Time: Thursday,
> 17-Feb-2005 22:02:49 CST 
> Restart Time: Wednesday, 12-Jan-2005 21:40:11 CST
> Parent Server Generation: 
> 4 Server uptime: 36 days 22 minutes 38 seconds Total
> accesses: 17525775 - 
> Total Traffic: 44.5 GB CPU Usage: u216.48 s38.59
> cu1.44 cs.27 - .00825% CPU 
> load 5.63 requests/sec - 15.0 kB/second - 2725
> B/request 150 requests 
> currently being processed, 0 idle workers 
>
RRRRRRRRRRRRRWWRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRWRRRRRRRRRKRRRRRWR
>
RRRRRRRRRRRRRRRRRRRRRRRKRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRWRRRRR
>
RRRRRCRRRRRRRRRRRRRRRR..........................................
>
................................................................
> 
> 
> My logs aren't showing anything abnormal, except for
> the fact that the 
> server stops accepting connections after 1 minute
> (tried running with 
> loglevel set to debug as well).  I compiled apache
> 2.0.53 hoping that would 
> fix something, and am still having the issue. 
> "lsof" shows 256 unique IP's 
> connected.  "ps auxf" shows 256 children. I have
> done all the 
> troubleshooting I can think of (more than what I
> have listed here) and am 
> really at a loss here.  Does anybody have any ideas?
> 
> Thanks in advance!
> Jason Bradwell 
> 
> 
>
---------------------------------------------------------------------
> 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
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
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