From nobody@hyperreal.com Thu Mar 27 11:16:40 1997 Received: by taz.hyperreal.com (8.8.4/V2.0) id LAA04624; Thu, 27 Mar 1997 11:16:40 -0800 (PST) Message-Id: <199703271916.LAA04624@taz.hyperreal.com> Date: Thu, 27 Mar 1997 11:16:40 -0800 (PST) From: Todd Stewart Reply-To: stew@stew.clever.net To: apbugs@hyperreal.com Subject: Web Daemon hangs X-Send-Pr-Version: 3.2 >Number: 274 >Category: general >Synopsis: Web Daemon hangs >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Mar 27 11:20:01 1997 >Last-Modified: Sun Jun 29 17:46:33 PDT 1997 >Originator: stew@stew.clever.net >Organization: >Release: 1.2b7 >Environment: BSDI 2.1 All patches installed gcc version 2.7.2 >Description: We have 3 machines that host around 500 virtual sites (2 class C's). We have been running apache 1.1.1 on all of the servers for several months. I have downloaded, configured, and compiled the 1.2b7 source. When I enter 249 VirtualHosts or less, all works well. When I enter 250 VirtualHosts, the browser displays "document contains no data". When I enter 251 VirtualHosts, the daemon hangs. >How-To-Repeat: Enter 251 Virtualhosts in the httpd.conf and see it happen. >Fix: Not reall >Audit-Trail: State-Changed-From-To: open-feedback State-Changed-By: coar@decus.org State-Changed-When: Fri Apr 4 11:32:24 PST 1997 State-Changed-Why: This is commonly caused by an exhaustion of file descriptors. Each virtual host consumes several for housekeeping functions as well as for serving documents, and you may be running into this limit. Check out your system's "limit" or "ulimit" command to see how many are available to the process starting the server, and see if your OS will allow you to increase the number. If that doesn't work, please let us know. From: COAR@PROCESS.COM (Ken A L Coar) To: apbugs@Apache.Org Subject: Re: general/274: add'l info Date: Mon, 7 Apr 1997 11:53 -0400 From the fingers of stew@stew.clever.net flowed the following: > >Hi, > >I changed the ulimits from > >core file size (blocks) unlimited >data seg size (kbytes) 65536 >file size (blocks) unlimited >max memory size (kbytes) 95144 >stack size (kbytes) 2048 >cpu time (seconds) unlimited >max user processes 512 >pipe size (512 bytes) 2 >open files 512 >virtual memory (kbytes) 67584 > >to > >core file size (blocks) unlimited >data seg size (kbytes) 65536 >file size (blocks) unlimited >max memory size (kbytes) unlimited >stack size (kbytes) 65536 >cpu time (seconds) unlimited >max user processes 512 >pipe size (512 bytes) 2 >open files 12890 >virtual memory (kbytes) 131072 > >for the shell that is starting the daemon. It did not change the problem. >Do I need to change these limits on the kernel? > >THANX for the help, >Todd From: coar@decus.org (Rodent of Unusual Size) To: apbugs@apache.org, stew@stew.clever.net, Coar@decus.org Subject: Re: general/274: Date: Tue, 13 May 1997 11:44:31 -0400 Attaching additional comments from PR originator: From the fingers of stew@stew.clever.net flowed the following: > >I am using BSDI 2.1 and have adjusted the kernel to allow 16000+ open files >per process. Same result, daemon starts but does not serve pages. I have >recently heard something about adjustment of VNODES, could this be a >candidate for modification? > >THANX, >Todd State-Changed-From-To: feedback-closed State-Changed-By: dgaudet State-Changed-When: Sun Jun 29 17:46:33 PDT 1997 State-Changed-Why: A workaround and documentation for this problem appears in 1.2.1. Dean >Unformatted: