Page 1 of 1

failed to open stream: Too many open files

Posted: Tue Sep 16, 2008 11:59 pm
by pcoder
Hi,
Does any body have any idea about this error:
"failed to open stream: Too many open files"
I havenot changed any configuration and even in a PHP code on the site recently.
I haven't been able to figure it out the solutions. Is this because of the operating system?

Thanks

Re: failed to open stream: Too many open files

Posted: Wed Sep 17, 2008 2:58 am
by alex.barylski
Reboot the system...if your on a shared host...ask your hosting provider to take a look.

Unless your PHP script is opening hundreds of files in a single instance and not closing them...this error shouldn't occur...weird

Re: failed to open stream: Too many open files

Posted: Wed Sep 17, 2008 4:38 am
by pcoder
Thanks for the reply hockey.
Finally, i found it is because of the hosting server and told them the error. Now it is fine.