You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Mark Cooper <mc...@cableinet.net> on 1997/12/05 19:58:02 UTC

config/1519: Apache crashes after 138 Virtual hosts have their own log/error files

>Number:         1519
>Category:       config
>Synopsis:       Apache crashes after 138 Virtual hosts have their own log/error files
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Dec  5 12:10:00 PST 1997
>Last-Modified:
>Originator:     mcooper@cableinet.net
>Organization:
apache
>Release:        1.2.4
>Environment:
IRIX 6.2 ( IRIX64 6.2 IP19 )
>Description:
Apache 1.2.4 will not accept any more then 138 virtual hosts which have their
own error/access logs. A system trace ends in:-

WRONLY|O_APPEND|O_CREAT, 0666) = 3
29849mS[ 0]     httpd( 1659): fcntl(3, F_DUPFD, 15) = 186
29849mS[ 0]     httpd( 1659): close(3) OK
29849mS[ 0]     httpd( 1659): fstat64(186, 0x7fff2d30) OK
29849mS[ 0]     httpd( 1659): lseek64(186, 0, SEEK_END) = 406
29849mS[ 0]     httpd( 1659): open(/usr/ns-home/https-xxxxxxx/logs/errors, O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
29850mS[ 0]     httpd( 1659): fcntl(3, F_DUPFD, 15) = 187
29850mS[ 0]     httpd( 1659): close(3) OK
29850mS[ 0]     httpd( 1659): fstat64(187, 0x7fff2d30) OK
29850mS[ 0]     httpd( 1659): lseek64(187, 0, SEEK_END) = 0
OVERFLOW: total so far 35867
OVERFLOW: total so far 36137
OVERFLOW: total so far 36957
OVERFLOW: total so far 39179

Increasing the file descriptor limits by changing rlimit_nofile_cur from its
default of 200 to 1024 makes no difference.
>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]