RE: AH00485: scoreboard is full, not at MaxRequestWorkers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I don't know much on this, but for the bug link you included, one comment mentioned it being a problem with event mpm, that went away when using worker mpm.  Is it possible to try the worker mpm?


Date: Mon, 1 Jun 2015 23:58:13 +0000
From: mark_jacquet@xxxxxxxxx.INVALID
To: users@xxxxxxxxxxxxxxxx
Subject: AH00485: scoreboard is full, not at MaxRequestWorkers

Sorry for the bandwidth, this is a repeat send from January.
We STILL have this issue.
Perhaps a new look might jolt your memory and help me resolve this issue!!!

Problem: Apache server will stay up for random amount of time, usually days, but eventually enters a hung state. When hung the CPU load gradually spikes on the machine and new web server requests are unresponsive. Only a full server stop/kill and restart will resolve the issue, at which time the host load average drops quickly to normal.

Error logs typically contain many many lines of:

    Wed Jan 28 16:06:58.667188 2015] [mpm_event:error] [pid 25336:tid 1] AH00485: scoreboard is full, not at MaxRequestWorkers

I have done a lot of web research on this top and have found many cases where others have had the same/similar issue but no real solutions. Seem very close to this bug report: https://issues.apache.org/bugzilla/show_bug.cgi?id=53555

Environment:

LDOM (VM) SunOS myhostname 5.10 Generic_118833-36 sun4v sparc SUNW,Sun-Fire-T200
8G RAM

http Conf:

StartServers                      8
MinSpareServers              Not set
MaxSpareServers             Not set
ServerLimit                       256
MaxRequestWorkers        200
MaxConnectionsPerChild 200
KeepAlive                         On
TimeOut                           3000
MaxKeepAliveRequests   50
KeepAliveTimeout            2
RequestReadTimeout header=10-20,MinRate=500 body=20,MinRate=500

We use LDAP to authenitcate most of our web tools, and this is configured like:

#
# Enable the LDAP connection pool and shared
# memory cache. Enable the LDAP cache status
# handler. Requires that mod_ldap and mod_authnz_ldap be loaded.
#
LDAPSharedCacheSize 500000
LDAPCacheEntries 1024
LDAPCacheTTL 600
LDAPOpCacheEntries 1024
LDAPOpCacheTTL 600



Current non-hung Score Board:

Apache Server Status for myserver.domain (via 5.5.5.5)

Server Version: Apache/2.4.12 (Unix)
Server MPM: event
Server Built: Feb 20 2015 13:47:55

Current Time: Monday, 01-Jun-2015 16:52:14 PDT
Restart Time: Monday, 01-Jun-2015 00:35:23 PDT
Parent Server Config. Generation: 1
Parent Server MPM Generation: 0
Server uptime: 16 hours 16 minutes 51 seconds
Server load: 1.06 0.84 0.60
Total accesses: 8263 - Total Traffic: 414.7 MB
CPU Usage: u20.9 s32 cu660.69 cs121.41 - 1.42% CPU load
.141 requests/sec - 7.2 kB/second - 51.4 kB/request
2 requests currently being processed, 98 idle workers
PIDConnections ThreadsAsync connections
totalacceptingbusyidlewritingkeep-aliveclosing
187930yes025000
95253yes124003
134840yes025000
195063yes124002
Sum6 298005
........................._______________________________________
________W__________________________________W_________________...
................................................................
........


Any thoughts/comments on http conf tuning, OS patches, apache bug fixes appreciated.

This is a production server, so you can imagine, having it go down at random times (usually when I am asleep) is not fun!

Thanks.
MJ


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux