You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Marc Slemko <ma...@znep.com> on 1997/12/08 17:10:00 UTC
Re: config/1519: Apache crashes after 138 Virtual hosts have their own log/error files (fwd)
The following reply was made to PR config/1519; it has been noted by GNATS.
From: Marc Slemko <ma...@znep.com>
To: Apache bugs database <ap...@apache.org>
Cc: Subject: Re: config/1519: Apache crashes after 138 Virtual hosts have their own log/error files (fwd)
Date: Mon, 8 Dec 1997 08:55:34 -0700 (MST)
---------- Forwarded message ----------
Date: Mon, 08 Dec 1997 10:26:42 +0000
From: Mark Cooper <mc...@cableinet.net>
To: marc@hyperreal.org
Subject: Re: config/1519: Apache crashes after 138 Virtual hosts have their own log/error files
marc@hyperreal.org wrote:
>
> Synopsis: Apache crashes after 138 Virtual hosts have their own log/error files
>
> State-Changed-From-To: open-closed
> State-Changed-By: marc
> State-Changed-When: Fri Dec 5 16:55:55 PST 1997
> State-Changed-Why:
> This is not a bug in Apache, but rather a limit of your
> OS.
>
> Please read the FAQ (http://www.apache.org/docs/misc/FAQ#fdlim) and
> the page on descriptors (http://www.apache.org/docs/misc/descriptors.html).
>
> It is very unlikely that this is a bug in Apache, and this
> is asked all the time, zillions of copies in the bugs database
> that you should easily be able to find, and is well documented
> in the above files.
>
I apologise if I came across as just another dumb user who hadn't RTFM,
but I did read the URLs you quote above aswell as a load of SGI web pages
on file descriptors and searched the web/usenet for any related info.
I came to the conclusion it was an OS issue and managed to increase the
file descriptors available by using the systune command and setting
the RLIMIT_NOFILE_CUR to 1024. Since then, both the hard and soft limits
are set to 1024 rather than 200. But the problem still occurs at exactly
the same point.
> In this case, IRIX 6.2 doesn't support FILE structures
> with descriptors above 255 unless on a 64 bit machine or
> compiling with the n32 ABI. You may be able to work around
> this using the HIGH_SLACK_LINE described in the docs above
> or compiling using the n32 ABI; eg. add -n32 to the command
> line if using SGI's cc. This is an OS-specific issue.
We are running it on a Challenge DM but, as I didn't do the compile,
Im not sure whether the -n32 option was specified. I will try a recompile
with the -n32.
Thank you for your help.
Mark Cooper
Systems Administrator
Cable Internet
=====================END