Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CGI Scripts fail to spawn

0 views
Skip to first unread message

Piotr A. Sygula

unread,
Jul 2, 1998, 3:00:00 AM7/2/98
to

I'm having a very frustrating problem. I'm running FreeBSD 3.00 SNAP
release on a 200MHZ Pentium Pro with 128 MEGS of RAM. When I get over
around 70 child processes of httpd, none of the CGI scripts work. I get
an Internal Server Error, the logs talk about not being able to spawn
the child process. I've adjusted CHILD_OPEN_MAX and MAXFILES to some
pretty high values, but that didn't seem to help.

It seems like it would be a problem with system resource management.
The server is only running about 10 load ave. so it's not the
processor. It's also not the memory, since ther's about 60 megs free
when the errors happen.

Has anyone experienced similar problems ? Can anyone help me crack this
one ?

Feel free to email me directly @ mailto:psy...@net-shapers.com

THANX...

--
----
Piotr A. Sygula
President - NetShapers, Inc.

Tim Daneliuk

unread,
Jul 2, 1998, 3:00:00 AM7/2/98
to psy...@net-shapers.com

I don't recall if this is relevant to FreeBSD, but some variants of
Unix I've tripped across allow/require you to configure the amount
of memory (non-swappable/non-pagable) for use by the kernel itself
for buffers, temporary storage, etc. (not the actual control tables
themselves). Your problem does sound like a system resource issue -
could the kernel be starving?

--
------------------------------------------------------------------------------
Tim Daneliuk
tun...@tundraware.com
VoiceMail/FAX 847.827.1706

theodore brace

unread,
Jul 4, 1998, 3:00:00 AM7/4/98
to

I think he needs to raise the limits for whatever user he is running
the web server as (usually in /etc/login.conf).

HTH.

Tim Daneliuk <tun...@tundraware.com> wrote:


: Piotr A. Sygula wrote:
: >
: > I'm having a very frustrating problem. I'm running FreeBSD 3.00 SNAP
: > release on a 200MHZ Pentium Pro with 128 MEGS of RAM. When I get over
: > around 70 child processes of httpd, none of the CGI scripts work. I get
: > an Internal Server Error, the logs talk about not being able to spawn
: > the child process. I've adjusted CHILD_OPEN_MAX and MAXFILES to some
: > pretty high values, but that didn't seem to help.

: >

--
--------------------------------------------------------------------------
Ted Brace | Now with the strength of
brace at servtech.

0 new messages