I read that as well but the following statement he made did not make me feel
like it totally resolved the issue.
"However, what I did notice is that the same server periodically had all of its
workers taken up with requests, so that may be relevant to the problem as well."
If I did switch to "Worker" I wonder how much config file change would be
needed?
Any thoughts on that?
MJ
On Monday, June 1, 2015 5:33 PM, Scot Russell <[email protected]>
wrote:
#yiv1467884072 #yiv1467884072 --.yiv1467884072hmmessage
P{margin:0px;padding:0px;}#yiv1467884072
body.yiv1467884072hmmessage{font-size:12pt;font-family:Calibri;}#yiv1467884072
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: [email protected]
To: [email protected]
Subject: [users@httpd] 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 2RequestReadTimeout 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
| PID | Connections | Threads | Async connections |
| total | accepting | busy | idle | writing | keep-alive | closing |
| 18793 | 0 | yes | 0 | 25 | 0 | 0 | 0 |
| 9525 | 3 | yes | 1 | 24 | 0 | 0 | 3 |
| 13484 | 0 | yes | 0 | 25 | 0 | 0 | 0 |
| 19506 | 3 | yes | 1 | 24 | 0 | 0 | 2 |
| Sum | 6 | | 2 | 98 | 0 | 0 | 5 |
........................._______________________________________
________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