You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/08/18 16:27:59 UTC
DO NOT REPLY [Bug 22516] -
Apache 2 crashes with Acept Mutex error when stressed with 20 users on HP-UX 11.00
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22516>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22516
Apache 2 crashes with Acept Mutex error when stressed with 20 users on HP-UX 11.00
------- Additional Comments From trawick@apache.org 2003-08-18 14:27 -------
What kind of accept mutex are you using?
To determine this:
1st see if there is an AcceptMutex directive in your configuration file
if not, the output of "apachectl -V" tells what is the compiled-in default
I think it will say
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
which means that SysV semaphores are used for cross-process locks
and pthread mutexes are used for intra-process locks
meanwhile, ENOSPC (no space left on device) is an error associated with SysV
semaphores, and it has nothing to do with available filesystem space
Assuming you're really using SysV semaphores:
a) the problem may be some OS tuning issue... increase any system tuning
associated with SysV sems until the problem goes away
b) if you can't get it tuned properly, switch to a different mutex mechanism,
such as fcntl, by putting something like this in your config file:
AcceptMutex fcntl
Note that fcntl mutexes have their own issues. For starters, if your server
root is on a remote filesystem, you'll need to use the LockFile directive.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org