Hi,

I got the following errors for an application running under ZF 1.7.5.

2009/03/05 14:56:47 [error] 20630#0: *625069 FastCGI sent in stderr:
"PHP Warning:  require_once(Zend/File/Transfer/Adapter/Abstract.php)
[<a href='function.require-once'>function.require-once</a>]: failed to
open stream: Too many open files in
/var/www/example/example.com/library/Zend/File/Transfer/Adapter/Http.php
on line 22
PHP Fatal error:  require_once() [<a
href='function.require'>function.require</a>]: Failed opening required
'Zend/File/Transfer/Adapter/Abstract.php'
(include_path='/var/www/example/example.com/library:/var/www/example/example.com/app')
in /var/www/example/example.com/library/Zend/File/Transfer/Adapter/Http.php
on line 22" while reading response header from upstream, client:
78.29.246.112, server: example.com, request: "GET / HTTP/1.1",
upstream: "fastcgi://127.0.0.1:9000", host: "example.com"

Restarting all php processes on the server fixed the problem but I
want to avoid this in the future.
Sites on the server not using Zend Framework were running normally.

I'm running PHP 5.2.6-2ubuntu4.1 regarding the following bug (
http://bugs.php.net/bug.php?id=43105 ) but when I execute lsof command
I can see lots of open index.php files for the application in
question. Maximum open file limit on the server is 1024.

How can I further troubleshoot this? Why only Zend Framework threw
errors about too many open files and not other non-zf php
applications?

Regards,
Sen Haerens

Reply via email to