Re: [PHP-DEV] Re: Bug #311 Updated: Apache httpd dumps core w/ many VirtualHosts From: Zeev Suraski (bourbon <email protected>)
Date: 04/28/98

On Tue, 28 Apr 1998, Igor Brezac wrote:

> I do not have truss output yet, but I found something else.
>
> I have SVR4 type startup script which has "ulimit -n 1024" to increase the
> file descriptor limit. After I removed "ulimit" from the script, php
> started to work, otherwise httpd child process would dump core. The
> "ulimit" is really not necessary because apache takes care of the file
> descriptor limit.
>
> Any ideas?

If this is an option, upgrade to the latest CVS, and see if it solves your
problem. The problem is definitely that you have too many open files
(libc FILE pointers), the problem as far as PHP was concerned was only
that it wasn't handling it gracefully without crashing.

Zeev

-- 
-----------------------------------------------------
Zeev Suraski <zeev <email protected>>
For a PGP public key, finger bourbon <email protected>