Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 1996 23:15:25 -0700
From:      pierre@ebay.com (Pierre Omidyar)
To:        James Raynard <fqueries@jraynard.demon.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Stupid Swap Question
Message-ID:  <v02140b03ae1e11ee9224@[204.156.155.180]>

next in thread | raw e-mail | index | archive | help
Hello,

At 5:09 AM 7/25/96, James Raynard wrote:
>>
>> [Wed Jul 24 21:30:32 1996] access to /usr/local/www/data/whatever.cgi
>> failed for cnc000143.concentric.net, reason: couldn't spawn child process
>
>It looks as though you need a higher value for CHILD_MAX than
>the default.  Add a line like
>
>options         CHILD_MAX=128
>
>to your kernel config file and recompile (see the Handbook if
>you need more details on this).
>
>It's probably worth bumping up OPEN_MAX and maxusers as well.

Thanks for the suggestion. I've discovered more information that leads me
to believe that this is in fact due to shell limits:

  - if I run apache as root (and tell it to make its child processes run
under user root instead of user nobody), everything is peachy. No more
complaints about spawning children, etc.

Clearly, root is not subject to the same limits as user nobody. This leads
me to the next question, which is:

  - how do I make user nobody not be resource-constrained by shell limits?
There is no login shell specified for user nobody.

(Maybe this topic should be renamed, "Stupid Limits Question.")

Thanks again,

Pierre





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v02140b03ae1e11ee9224>