Re: fopen error - Too many open files

From: Date: Mon, 06 Nov 2000 01:56:43 +0000
Subject: Re: fopen error - Too many open files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-23828@lists.php.net to get a copy of this message
it's in /proc/sys/fs/file-max you can echo a new limit to that file at startup, or it can be changed in the kernel source I can't offer any knowledge about this other than that it works for me - so you should read up on the pros and cons (if any) of doing this before you do it rather than just blindly trying it - it's bound to be covered in the HOW-TO's jason > At 08:43 PM 11/5/2000 -0500, JNG wrote: > > you need to let the server have more file handles. i forget where you set > that....let me look....and i'll let you know if i find it.... > > ~kurth > > >An example of the errors I'm getting: > > > >-------- > >Warning: fopen("/home2/thisoldhaus/www/backend/layouts/jng.xlay","r") - Too > >many open files in /home2/thisoldhaus/www/include/layout.inc.php on line 318 > > > >Warning: fopen("/home2/thisoldhaus/www/logs/error.log","a") - Too many open > >files in /home2/thisoldhaus/www/include/common.inc.php on line 349 > >ERROR! Could not write to /home2/thisoldhaus/www/logs/error.log > >-------- > > > >How do I resolve this? I've been searching the php documentation and > >haven't found anything related to this error. > > > >Thanks. JNG.

« previous php.general (#23828) next »