You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Tim Hawes <ti...@ednet.co.uk> on 2000/04/07 11:18:10 UTC

mod_jserv/5968: Graceful restart causes multiple handles to ApJServLogFile

>Number:         5968
>Category:       mod_jserv
>Synopsis:       Graceful restart causes multiple handles to ApJServLogFile
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jserv
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Apr 07 02:20:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     timh@ednet.co.uk
>Release:        Apache/1.3.11 Ben-SSL/1.38 (Unix)
>Organization:
apache
>Environment:
Linux faure 2.2.14 #5 Tue Feb 22 18:37:27 GMT 2000 i686 unknown
Server version: Apache/1.3.11 Ben-SSL/1.38 (Unix)
Server built:   Jan 27 2000 23:12:25
Server's Module Magic Number: 19990320:6
Server compiled with....
 -D HAVE_MMAP
 -D HAVE_SHMGET
 -D USE_SHMGET_SCOREBOARD
 -D USE_MMAP_FILES
 -D NO_WRITEV
 -D USE_FCNTL_SERIALIZED_ACCEPT
 -D HTTPD_ROOT="/usr/local/www/apache-1.3.11"
 -D SUEXEC_BIN="/usr/local/www/apache-1.3.11/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpsd.pid"
 -D DEFAULT_SCOREBOARD="logs/httpsd.scoreboard"
 -D DEFAULT_LOCKFILE="logs/httpsd.lock"
 -D DEFAULT_XFERLOG="logs/access_log"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpsd.conf"
 -D ACCESS_CONFIG_FILE="conf/access.conf"
 -D RESOURCE_CONFIG_FILE="conf/srm.conf"
>Description:
After each graceful restart, a new handle is opened to the log file specified by ApJServLogFile. The old handles are not closed, and build up until Apache runs out of file handles.

A standard restart does not cause extra file handles, but a complete stop/start is required to actually clear the problem.
>How-To-Repeat:

>Fix:

>Release-Note:
>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 make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]