PDA

View Full Version : Too many open files


tignaz
03-15-2004, 10:21 AM
Hi,

On Solaris I've got "failed to create stream: Too many open files " errors with different file related functions after indexing the 222th file. Is this a system related failure? Any suggestions?

Thanks,
Tigran

Charter
03-15-2004, 10:31 AM
Hi. Perhaps the problem is related to this (http://bugs.php.net/bug.php?id=20274) bug?

tignaz
03-15-2004, 11:27 AM
Thanks,

Yes, I guess solaris has a default limit of 256 open files and max possible 1024 files. And the site I'm trying to index has more than 3000 files... I though that php's fclose (after fopen) is closing the file handler, so actually it is not... I'll try to install the latest php, may be something has been fixed there.

Thanks again,
Tigran