[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenBSD and Apache



Well I looked into this and even if there are multiple users running the
webservers (i.e. half of them run as nobody and half run as webuser) this
problem still exists I will take a look at ulimit anyways though.
	Justin

********************************************************
* Justin Grudzien 		grudzien@razer.org     *
* Alpha Channel LLC	  Phone:(312)803-7000 ext.238  *
* Systems Administrator	    Fax:(312)803-7050	       *
********************************************************


On Wed, 3 Dec 1997, Todd C. Miller wrote:

> 
> There are per-user limits for file descriptors and number of processes.
> You may be able to increase those by using ulimit in a subshell
> before starting apache.  See sh(1) for a description of ulimit.
> 
>  - todd
> 
> In message <Pine.GSO.3.96.971203152749.24340A-100000@shaggy.xsite.net>
> 	so spake Justin Grudzien (mailer):
> 
> > I am currently running OpenBSD 2.1 with apache 1.2 and am getting a weird
> > error.
> > 
> > [Wed Dec  3 11:39:16 1997] access to\
> > /usr/ns-home/docs/literary-liaisons.com/cgi-bin/contact.cgi failed for\
> > bryan.alphachannel.com, reason: couldn't spawn child process
> > 
> > Now there are over 2000 file descriptors open as reported to me by fstat
> > so I am wondering if I have hit some kind of limit. Now this happens
> > everytime a cgi-script is run. If I reboot the file descriptor count goes
> > down to like 1000 for an hour. Now I have submitted this to the apache
> > people but I wanted to see if anyone here could answer some questions and
> > give me some ideas.
> > 
> > This is what I have done. I have recompiled the kernel a dozen time
> > changing the maxusers setting and the various other setting that have to
> > do with maxusers. I do not speciffically see a # of file descriptors
> > limit, but if it has anything to do with maxusers, like FreeBSD then I
> > have changed all I can. 
> > 
> > ANy info would be appreciated because I would hate to have to swich from
> > OpenBSD to some other lame unix.
> > 	Justin
> > 
> > ********************************************************
> > * Justin Grudzien 		grudzien@razer.org     *
> > * Alpha Channel LLC	  Phone:(312)803-7000 ext.238  *
> > * Systems Administrator	    Fax:(312)803-7050	       *
> > ********************************************************
> > 
> > 
> 
>