From nobody@hyperreal.com Sat Apr 26 22:29:43 1997 Received: (from nobody@localhost) by hyperreal.com (8.8.5/8.8.4) id WAA23947; Sat, 26 Apr 1997 22:29:43 -0700 (PDT) Message-Id: <199704270529.WAA23947@hyperreal.com> Date: Sat, 26 Apr 1997 22:29:43 -0700 (PDT) From: Patrick Boden Reply-To: bodenpat@icl.lu To: apbugs@hyperreal.com Subject: Very slow response times . X-Send-Pr-Version: 3.2 >Number: 488 >Category: os-freebsd >Synopsis: Very slow response times . >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sat Apr 26 22:30:01 1997 >Last-Modified: Sun Apr 27 14:38:08 PDT 1997 >Originator: bodenpat@icl.lu >Organization: >Release: 1.1.3. >Environment: FreeBSD 2.1.5-RELEASE #0 gcc 2.6.3 Server generates around 12.000 unique hits a day and has aroud 700 Megs of transfer a day >Description: My error logs show : [Sun Apr 27 01:08:12 1997] access to /usr/local/www/virtual/video/public_html/cgi-video/videocounter.cgi failed for 208.154.142.3, reason: couldn't spawn child process TOP : shows : PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 354 root 28 0 492K 912K RUN 0:00 0.60% 0.38% top 183 nobody 2 0 736K 448K netio 0:00 0.08% 0.08% httpd 241 nobody 2 0 736K 444K netio 0:00 0.08% 0.08% httpd 265 nobody 2 0 736K 444K netio 0:00 0.08% 0.08% httpd 177 nobody 2 0 736K 448K netio 0:00 0.04% 0.04% httpd 261 nobody 2 0 728K 368K netio 0:00 0.04% 0.04% httpd 264 nobody 2 0 736K 452K netio 0:00 0.04% 0.04% httpd 292 nobody 2 0 736K 444K netio 0:00 0.04% 0.04% httpd 252 nobody 2 0 736K 444K netio 0:00 0.04% 0.04% httpd 158 nobody 2 0 736K 440K netio 0:00 0.04% 0.04% httpd 204 nobody 2 0 724K 428K netio 0:00 0.04% 0.04% httpd 222 nobody 2 0 728K 376K netio 0:00 0.04% 0.04% httpd 181 nobody 2 0 728K 372K netio 0:00 0.04% 0.04% httpd 235 nobody 2 0 728K 368K netio 0:00 0.04% 0.04% httpd 139 root 10 0 684K 340K RUN 0:00 0.04% 0.04% httpd 230 nobody 2 0 736K 448K netio 0:00 0.00% 0.00% httpd 170 nobody 2 0 736K 444K netio 0:00 0.00% 0.00% httpd 308 nobody 2 0 736K 444K netio 0:00 0.00% 0.00% httpd 256 nobody 2 0 736K 444K netio 0:01 0.00% 0.00% httpd 142 nobody 2 0 724K 444K netio 0:00 0.00% 0.00% httpd 237 nobody 2 0 736K 440K netio 0:00 0.00% 0.00% httpd 199 nobody 2 0 728K 384K netio 0:00 0.00% 0.00% httpd 272 nobody 2 0 728K 380K netio 0:00 0.00% 0.00% httpd 266 nobody 2 0 728K 380K netio 0:01 0.00% 0.00% httpd 291 nobody 2 0 728K 376K netio 0:00 0.00% 0.00% httpd 219 nobody 2 0 728K 372K netio 0:00 0.00% 0.00% httpd 294 nobody 2 0 728K 372K netio 0:00 0.00% 0.00% httpd All process are on netio The problem is when somebody access a webpage it takes ages before something shows up . people sometimes fall into a timeout . You can see yourself at http://www.cindy-crawford.net ( a page a user of mine owns) Help would be V E R Y much appreciated >How-To-Repeat: http://www.cindy-crawford.net http://www.eurosluts.net >Fix: I got NO idea on what could be wrong . But like I said . I would appreciate if somebody could get back to me via email on this . mailto:bodenpat@icl.l >Audit-Trail: From: Marc Slemko To: Patrick Boden Subject: Re: os-freebsd/488: Very slow response times . Date: Sun, 27 Apr 1997 00:21:46 -0600 (MDT) On Sat, 26 Apr 1997, Patrick Boden wrote: > >Environment: > FreeBSD 2.1.5-RELEASE #0 > gcc 2.6.3 > Server generates around 12.000 unique hits a day and has aroud 700 Megs of transfer a day > >Description: > My error logs show : > [Sun Apr 27 01:08:12 1997] access to /usr/local/www/virtual/video/public_html/cgi-video/videocounter.cgi failed for 208.154.142.3, reason: couldn't spawn child process Please see the documentation, specifically the page at: http://www.apache.org/docs/misc/perf-bsd44.html You are probably either running into a file descriptor or process limit. The CHILD_MAX and OPEN_MAX kernel config file options are the ones to look at. From: Marc Slemko To: apbugs@apache.org Subject: Re: os-freebsd/488: Very slow response times . (fwd) Date: Sun, 27 Apr 1997 13:17:46 -0600 (MDT) ---------- Forwarded message ---------- Date: Sun, 27 Apr 1997 20:27:19 +0200 From: Patrick Boden To: Marc Slemko Subject: Re: os-freebsd/488: Very slow response times . The server has been fixed . We got a new cpu and added more memory . Can you tell me what sotware you were using to test things . Here is some new stuff from the machine : [543]nero@virtual(/usr/home/nero)#limit cputime unlimited filesize unlimited datasize 65536 kbytes stacksize 8192 kbytes coredumpsize unlimited memoryuse 30940 kbytes descriptors 1800 memorylocked 20630 kbytes maxproc 1800 MAXUSER is at 128 users. So all probs should be solved. Let me know things .. Patrick ---------- > From: Marc Slemko > To: Patrick Boden > Cc: apbugs@apache.org > Subject: Re: os-freebsd/488: Very slow response times . > Date: Sonntag, 27. April 1997 08:21 > > On Sat, 26 Apr 1997, Patrick Boden wrote: > > > >Environment: > > FreeBSD 2.1.5-RELEASE #0 > > gcc 2.6.3 > > Server generates around 12.000 unique hits a day and has aroud 700 Megs of transfer a day > > >Description: > > My error logs show : > > [Sun Apr 27 01:08:12 1997] access to /usr/local/www/virtual/video/public_html/cgi-video/videocounter.cgi failed for 208.154.142.3, reason: couldn't spawn child process > > Please see the documentation, specifically the page at: > > http://www.apache.org/docs/misc/perf-bsd44.html > > You are probably either running into a file descriptor or process limit. > The CHILD_MAX and OPEN_MAX kernel config file options are the ones to look > at. State-Changed-From-To: open-analyzed State-Changed-By: dgaudet State-Changed-When: Sun Apr 27 14:21:57 PDT 1997 State-Changed-Why: Marc has been discussing this with the user. Dean State-Changed-From-To: analyzed-closed State-Changed-By: marc State-Changed-When: Sun Apr 27 14:38:08 PDT 1997 State-Changed-Why: User reports problem solved. >Unformatted: