www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Lack <gml4...@ggr.co.uk>
Subject general/6012: Server runs out of filehandles (after many soft restarts?)
Date Wed, 19 Apr 2000 14:23:10 GMT

>Number:         6012
>Category:       general
>Synopsis:       Server runs out of filehandles (after many soft restarts?)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Apr 19 07:30:00 PDT 2000
>Originator:     gml4410@ggr.co.uk
>Release:        1.3.9
ukwsv1*[1] uname -aR
IRIX64 ukwsv1 6.5 6.5.1m 07271714 IP27

   I've just had to stop/start (i.e. restart was not enough) the Apache
server on ukwsv1 (ukw3t2).  It was producing this in the error logs for
all CGI scripts.  [HTML files were being served Ok].

[Wed Apr 19 11:46:01 2000] [error] [client]
  (24)Too many open files: couldn't spawn child process: 

   The status showed this, so I suspected that it is a problem with it
failing to shut one filehandle at each soft restart.  However, I can't
reproduce this.....

Server Version: Apache/1.3.9 (Unix) ApacheJServ/1.0 mod_perl/1.21
Server Built: Aug 20 1999 13:50:44

Current Time: Wednesday, 19-Apr-2000 11:44:09 BST
Restart Time: Wednesday, 01-Sep-1999 14:10:53 BST
Parent Server Generation: 245 
Server uptime: 230 days 21 hours 33 minutes 16 seconds
Total accesses: 46731 - Total Traffic: 569.7 MB
CPU Usage: u4.9 s2.73 cu534.2 cs32.96 - .00288% CPU load
.00234 requests/sec - 29 B/second - 12.5 kB/request
1 requests currently being processed, 5 idle servers

The server is configured with:
 MaxRequestsPerChild 30

The default Open Files limit is 200 for this system.
Not sure.

Just doing 250 restarts (5 second pauses between each) didn't reproduce it.
Neither did doing another 300 while moving the log files befor each restart.

Sorry I can't be more helpful.....

No, sorry.
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@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!     ]

View raw message