From owner-freebsd-isp Thu Aug 5 12:47: 3 1999 Delivered-To: freebsd-isp@freebsd.org Received: from rs2s3.datacenter.cha.cantv.net (rs2s3.datacenter.cha.cantv.net [200.44.32.52]) by hub.freebsd.org (Postfix) with ESMTP id 1BA0A14D7C for ; Thu, 5 Aug 1999 12:46:59 -0700 (PDT) (envelope-from luis@cantv.net) Received: from cantv.net (ws-36.chacao-01.int.cantv.net [200.44.44.52]) by rs2s3.datacenter.cha.cantv.net (8.9.1a/8.9.1/1.0) with ESMTP id PAA18332; Thu, 5 Aug 1999 15:44:54 -0400 (VET) Message-ID: <37A9E972.E83A3700@cantv.net> Date: Thu, 05 Aug 1999 15:43:46 -0400 From: Luis Moreno X-Mailer: Mozilla 4.51 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: Carol Deihl Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Troubles with Apache on FreeBSD References: <37A8AF77.7515952F@cantv.net> <37A8B6A0.886134D9@tinker.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thanks carol, it seems to work!. :). Now I will like to do a little stress test. I´m very amazed with the fast you response my e-mail. Let me know when you come to Caracas, I will pay the dinner. Thanks to all. Luis. Carol Deihl wrote: > Hi Luis, > > It's likely that the "limit" for number of processes is being > exceeded. From a csh (not an sh), as root, execute these commands: > limit > limit -h > The "-h" version gives the hard limits that are compiled in the > kernel, while the plain version gives the "soft" limits (e.g. what > it's running with now). When I ran into this same problem, I > foung that the hard limit for maxproc was 2067, while the soft > limit was only 64. > > The solution is to start your web server from a csh script (not > an sh script, since sh on 2.2.x FBSD doesn't have a limit command). > In the script, put something like > limit maxproc 1024 > (or some value less than the number you found with limit -h) > before the command that starts the web server. This resolved our > problem. Interesting, when we ran into the problem, it was when > there were about 133 processes running (similar to your 126). > > Hope this helps, > Carol > > Luis Moreno wrote: > > > > Hello there. > > > > I´m runing Apache Web Server/1.3.0 with Ben-SSL/1.19 and > > FrontPage/3.0.4.2 PHP/3.0.6 on FreeBSD 2.2.6 > > > > A snapshot of the head of top command is like this: > > Last pid: 8175; load averages: 0.71, 0.19, 0.06 > > 17:15:22 > > 126 processes: 2 running, 124 sleeping CPU states: 3.1% user, 0.0% > > nice, 3.5% system, 1.2% interrupt, 92.2% idle > > Mem: 137M Active, 44M Inact, 30M Wired, 39M Cache, 8348K Buf, 788K Free > > Swap: 512M Total, 64K Used, 512M Free > > > > The server seems to be ok, but eventualy I´m geting problems with the > > execution of cgi script´s. This is the error message from the error > > Apache logs > > [Wed Aug 4 17:13:17 1999] [error] (35)Resource temporarily unavailable: > > couldn't spawn child process: /var/www/cgi-bin/Count.cgi > > > > Did anybody get´s the same? > > > > Thanks in advance for yor help. > > > > Luis. > > > -- > Carol Deihl - carol@tinker.com > Shrier and Deihl - Unix Network Admin and Internet Software Development > http://www.tinker.com/ - Tinker Internet Services -- Luis Moreno Ing. de Area CANTV Servicios To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message