On Fri, Jun 25, 1999, [EMAIL PROTECTED] wrote:

> Hiyas.. Well I seem to have gotten mod_ssl 2.3.5 + mm 1.0.8 + apache +
> mod_perl 1.20 compiled fine and running fine without seg faulting or Buss
> Erroring on solaris 2.6.. So long has I define SSLSessionCache as shm
> instead of dbm.. defining it as dbm would make it segfault on USR1 or HUP
> signals..
> 
> Now, I'm sure this can also be an OS limit but, when I run the
> following command <evil grin>:
> 
> while : ; do kill -HUP `cat /var/run/httpd.pid` ; done
> 
> apache stop working and the error log 
> 
> [error] mod_ssl: Cannot allocate shared memory: mm:core: failed to attach
> shared memory (Too many open files)
> 
> but besides that, it kicks butt.. atleast it kicked my butt.. 
> life is good now :).. 

I think I've now fixed this for mod_ssl 2.3.6.  The problem was that the MM
object wasn't destroyed on restarts. On my development machine it doesn't
require an underlying file, so it never occured.  On your platform it seems to
use a temporary file, so you lost one fd per restart.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to