Hi.

I have an amd64/3.7-stable machine here running apache with mod_ssl
and php 5.0.4.  SSLMutex is set to 'sem', the default.  Intermittently
the httpds start segfaulting.
Of course the parent process remains, and respawns them.  There's a
large number of clients
and the machine is kept pretty busy.

The httpds always end the same way:

 26510 httpd    CALL  semop(0x70000,0x7f7ffffeced0,0x1)
 26510 httpd    RET   semop -1 errno 13 Permission denied
 26510 httpd    CALL  semop(0x70000,0x7f7ffffeced0,0x1)
 26510 httpd    RET   semop -1 errno 13 Permission denied
 26510 httpd    CALL  semop(0x70000,0x7f7ffffeced0,0x1)
 26510 httpd    RET   semop -1 errno 13 Permission denied
 26510 httpd    PSIG  SIGSEGV SIG_DFL code 1 addr=0x2f2e2e trapno=6

>From what I've read, semume and semaem values that are too low can
cause this.  I've cranked
semume to 100 but haven't messed with semaem since that's actually
hardcoded in sys/sem.h.

Should I be messing with semaem or is there something else at work
here?  I'm tempted to try
a file mutex but saw a post (which I only vaguely remember) where
henning@ said it was
defaulted to 'sem' for permissions reasons and that file wouldn't work right.

I'm at my wits end with this... anyone have a solution?  Thanks much in advance.

Reply via email to