Subject: Re: File Descriptors and make_child errors
To: Mark S. Burgess <firstname.lastname@example.org>
From: None <email@example.com>
Date: 09/09/1996 11:58:10
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to firstname.lastname@example.org for more info.
Content-Type: TEXT/PLAIN; CHARSET=us-ascii
If you need to increase the number of processes you can
'sysctl -w kern.maxproc=2000' (or whatever number you want :)
You can increase the number of file descriptors from 64 to 256
by using the (csh) limit command, or by calling setrlimit().
A 'quick hack' approach would be to have your httpd called with
a line similar to the following in /etc/rc.local:
echo -n ' httpd'; csh -c 'limit descriptors 256 ; exec /usr/local/etc/httpd'
Another approach would be to switch to apache, mono.org did, and
its a damn sight nicer & faster :)
.---- I've been too drunk to love ----.--- I've been too drunk to remember -.
| Too drunk to care | The hell of the night before |
| Looked like death, felt like Hell | I've been drinking myself blind |
`------ Been the worse for wear ------'--- And still I'll drink some more --'
On Sun, 8 Sep 1996, Mark S. Burgess wrote:
> I've got a very busy CERN httpd that creates alot of make_child errors
> because we can't open up another process. I've looked all over and can't
> find a procedure for increasing the file descriptors so more processes can
> open. I've done what I thought it would take and it didn't have the effect I
> expected. The machine has tons of extra memory, but it's not using it.
> Does anyone have a FAQ or an old message that shows what you have to change
> and how to test to see the active file handles versus the total capacity.
> Mark S. Burgess
> Link sandiego.com, Inc.
> (619) 220-8601