Received: (qmail 19298 invoked by uid 501); 19 Dec 2001 21:28:12 -0000 Message-Id: <20011219212812.19297.qmail@apache.org> Date: 19 Dec 2001 21:28:12 -0000 From: Richard Cepas Reply-To: rch@richard.eu.org To: submit@bugz.apache.org Subject: leaks open files X-Send-Pr-Version: 3.110 >Number: 9200 >Category: general >Synopsis: leaks open files >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Dec 19 13:30:00 PST 2001 >Closed-Date: Mon Mar 25 23:19:45 PST 2002 >Last-Modified: Mon Mar 25 23:19:45 PST 2002 >Originator: rch@richard.eu.org >Release: 2.0.28 >Organization: >Environment: FreeBSD 4.4-STABLE #2 gcc version 2.95.3 20010315 (release) [FreeBSD] /usr/local/apache2/icons #su3# /usr/local/apache2/bin/httpd -l Compiled in modules: core.c prefork.c http_core.c mod_so.c /usr/local/apache2/icons #su3# /usr/local/apache2/bin/httpd -V Server version: Apache/2.0.28 Server built: Dec 18 2001 14:12:36 Server's Module Magic Number: 20011002:0 Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_FILE_BASED_SHM -D APR_HAS_MMAP -D APR_HAVE_IPV6 -D APR_USE_FCNTL_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT="/usr/local/apache2" -D SUEXEC_BIN="/usr/local/apache2/bin/suexec" -D DEFAULT_ERRORLOG="logs/error_log" -D SERVER_CONFIG_FILE="conf/httpd.conf" ./configure --enable-so '--enable-mods-shared=all cgid ssl proxy proxy-connect proxy-ftp proxy-http cache mem-cache file-cache' LoadModule access_module modules/mod_access.so LoadModule log_config_module modules/mod_log_config.so LoadModule setenvif_module modules/mod_setenvif.so LoadModule mime_module modules/mod_mime.so LoadModule autoindex_module modules/mod_autoindex.so LoadModule cgi_module modules/mod_cgi.so LoadModule negotiation_module modules/mod_negotiation.so LoadModule dir_module modules/mod_dir.so LoadModule actions_module modules/mod_actions.so LoadModule alias_module modules/mod_alias.so >Description: After several requests lsof output shows quickly growing number of entries like this until it runs out of file descriptors: httpd 14636 root 1371u IPv4 0t0 TCP no PCB, CANTSENDMORE, CANTRCVMORE httpd 14636 root 1372u IPv4 0t0 TCP no PCB, CANTSENDMORE, CANTRCVMORE httpd 14636 root 1373u IPv4 0t0 TCP no PCB, CANTSENDMORE, CANTRCVMORE httpd 14636 root 1374u IPv4 0t0 TCP no PCB, CANTSENDMORE, CANTRCVMORE httpd 14636 root 1375u IPv4 0t0 TCP no PCB, CANTSENDMORE, CANTRCVMORE httpd 14636 root 1376u IPv4 0t0 TCP no PCB, CANTSENDMORE, CANTRCVMORE httpd 14636 root 1377u IPv4 0t0 TCP no PCB, CANTSENDMORE, CANTRCVMORE >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: Comment-Added-By: wrowe Comment-Added-When: Mon Mar 25 23:19:20 PST 2002 Comment-Added: We found and solved many leaks, please see if you can reproduce in the forthcoming 2.0.34 release and report a new incident to http://nagoya.apache.org/bugzilla/ Thanks for the report! State-Changed-From-To: open-closed State-Changed-By: wrowe State-Changed-When: Mon Mar 25 23:19:45 PST 2002 State-Changed-Why: Ment to close >Unformatted: [In order for any reply to be added to the PR database, you need] [to include 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! ]