Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Dec 1998 19:06:12 -0500 (EST)
From:      Dev <dev@wopr.inetu.net>
To:        Marcos Viterbo <mavit@vecom.com>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: CGI problems
Message-ID:  <Pine.BSF.3.95q.981216190500.14453A-100000@wopr.inetu.net>
In-Reply-To: <009701be28e1$cbcb3f00$0600000a@work.eca>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.981216190500.14453A-100000>