Received: (qmail 14601 invoked by uid 2012); 14 Apr 1999 21:47:02 -0000 Message-Id: <19990414214702.14600.qmail@hyperreal.org> Date: 14 Apr 1999 21:47:02 -0000 From: Bryce Newman Reply-To: bryce@techwave.com To: apbugs@hyperreal.org Subject: Apache child process eats up all CPU. X-Send-Pr-Version: 3.2 >Number: 4245 >Category: os-windows >Synopsis: Apache child process eats up all CPU. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Apr 14 14:50:01 PDT 1999 >Closed-Date: Tue Apr 17 13:22:32 PDT 2001 >Last-Modified: Tue Apr 17 13:22:32 PDT 2001 >Originator: bryce@techwave.com >Release: 1.3.6 >Organization: >Environment: Dual Proc 256meg NT 4.0 Srvpack 3 or srvpack 4 4 servers configured the same. default install with directory and cgi additions in http.conf >Description: The apache child process is using 95% to 99% of CPU on both processors. The site contains about 5gigs worth of downloaded bits. We average about 1000 hits a day. Each time a hit is made we call a CGI that starts a download. VM memory is ok. Eventually, overtime about 33gigs worth of data has been served the service stops responding and so does the server. >How-To-Repeat: The VIP is www.digitalgoods.net. Behind the VIP are 4 nodes. >Fix: Not yet... since I have not compiled the code and tested a debug version. I am hoping you may have some configuration suggestions. Thank you for your time. Bryce >Release-Note: >Audit-Trail: Comment-Added-By: stoddard Comment-Added-When: Tue May 25 07:50:49 PDT 1999 Comment-Added: What is MaxRequestsPerChild set to? I suggest you set it to 0. How much data does each CGI serve up, in the typical case? in the extreme case? How many concurrent clients are active at once? If you find you are have about as many concurrent clients as your ThreadsPerChild setting, you should 1. increase ThreadsPerChild and 2. decrease KeepAliveTimeout or disable it entirely and see if that helps. Any information that you can provide me that will help me recreate the problem would be good. State-Changed-From-To: open-closed State-Changed-By: stoddard State-Changed-When: Tue Apr 17 13:22:31 PDT 2001 State-Changed-Why: [This is a standard response.] No response from submitter, assuming issue has been resolved. >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [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! ]