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 2002/11/04 11:33:26 UTC

DO NOT REPLY [Bug 14219] New: - apache with mod_ssl fail to start when return value of open syscall of certificates and key files are more than 255

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=14219>.
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=14219

apache with mod_ssl fail to start when return value of open syscall of certificates and key files are more than 255

           Summary: apache with mod_ssl fail to start when return value of
                    open syscall of certificates and key files are more than
                    255
           Product: Apache httpd-2.0
           Version: 2.0.43
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: mod_ssl
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: jlrenard@generali.fr


I have defined 115 virtual hosts in the config file.
Each virtual host need 2 open directives (one for access log file, one for 
error log file).
When httpd open the certificate file, the open system call return 265.
When httpd open the key file, the open system call return 265.
then httpd stop and return the following message in error log file.

[Mon Nov 04 11:17:24 2002] [error] Init: Unable to read server certificate from 
file /usr/local/www/conf/ssl.crt/www.gfa.crt
[Mon Nov 04 11:17:24 2002] [error] SSL Library Error: 33558552 
error:02001018:system library:fopen:Too many open files
[Mon Nov 04 11:17:24 2002] [error] SSL Library Error: 537317378 
error:2006D002:BIO routines:BIO_new_file:system lib

If I remove this SSL virtual host, httpd start without problem (more than 256 
open files, exactly 262).

If I let this SSL virtual host, but i remove 5 virtual hosts, the httpd server 
start without problem (open syscall of certificate and key file retrun 255)

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org