From owner-freebsd-isp Wed Dec 16 16:06:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA05982 for freebsd-isp-outgoing; Wed, 16 Dec 1998 16:06:34 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from wopr.inetu.net (wopr.inetu.net [207.18.13.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA05971 for ; Wed, 16 Dec 1998 16:06:26 -0800 (PST) (envelope-from dev@wopr.inetu.net) Received: from localhost (dev@localhost) by wopr.inetu.net (8.8.8/8.8.5) with SMTP id TAA14551; Wed, 16 Dec 1998 19:06:12 -0500 (EST) Date: Wed, 16 Dec 1998 19:06:12 -0500 (EST) From: Dev To: Marcos Viterbo cc: freebsd-isp@FreeBSD.ORG Subject: Re: CGI problems In-Reply-To: <009701be28e1$cbcb3f00$0600000a@work.eca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have a start script for apache that goes a little something like this: #!/usr/local/bin/bash ulimit -u 500 ulimit -n 500 /usr/local/sbin/apache -d /apache -f conf/apache.conf You get the idea. There is a soft resource limit, and hard resource limit. I'd guess your up against a soft, or user definable, limit. Best regards, Dev Dev Chanchani - INetU, Inc.(tm) - http://www.INetU.net Electronic commerce - Web development - Web hosting dev@INetU.net - Phone: (610) 266-7441 On Wed, 16 Dec 1998, Marcos Viterbo wrote: > Greetings. > > I am facing some problems with CGIs (freebsd_2.2.6 + apache_1.3.0). When the > system reaches about 55 apache instances the CGIs won't execute anymore and > returns a 500 error. I recompiled the kernel and libc altring > FD_SETSIZE=1024, maxusers=256, open_max, max_proc (child_max) in the kernel > and login.conf, maxconn to 256, nmbclusters=8192, recompiled apache with a > higher maxclients. The system has 128 MB RAM (it never goes beyond 50MB). > It happens only with external CGIs (PHP3 supports as many instances as the > apache is configured to). > > Thank you for any help. > > Marcos Viterbo > mavit@vecom.com > Vecom Net > 55 11 884 0605 > Sao Paulo - Brazil > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message