#22793 [NEW]: failed to create stream: Too many open files
| From: | ewa at buffalo dot edu | Date: | Wed, 19 Mar 2003 23:23:29 +0000 |
| Subject: | #22793 [NEW]: failed to create stream: Too many open files | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-35988@lists.php.net to get a copy of this message | ||
From: ewa at buffalo dot edu
Operating system: Solaris 8
PHP version: 4.3.1
PHP Bug Type: Apache related
Bug description: failed to create stream: Too many open files
We have an apache webserver with 291 virtual hosts. Recently upgraded from:
apache1.3.26+ssl_1.48/openssl-0.9.6e/php4.2.3 to
apache1.3.27+ssl_1.48/openssl-0.9.7a/php4.3.1
We are experiencing intermittant problems with webpages not loading.
Reloading a page fixes it sometimes and sometimes it does not. The problem
goes away after apache server is restarted and the problem does not show
up until 3 or 4 days later.
the errors we get:
Warning: main(admissions_navigation.inc) [function.main
<http://www.php.net/function.main>]: failed to
create stream: Too many
open
files in /info/www/ubwww/admissions/index.php on line 13
Warning: main() [function.main <http://www.php.net/function.main>]: Failed
opening 'admissions_navigation.inc' for inclusion
(include_path='.:/usr/local/lib/php') in
/info/www/ubwww/admissions/index.php on line 13
Warning: main(admissions_page.inc) [function.main
<http://www.php.net/function.main>]: failed to
create stream: Too many
open
files in /info/www/ubwww/admissions/index.php on line 14
Warning: main() [function.main <http://www.php.net/function.main>]: Failed
opening 'admissions_page.inc' for inclusion
(include_path='.:/usr/local/lib/php') in
/info/www/ubwww/admissions/index.php on line 14
Warning: main(classes/CONFIG/log_config.inc) [function.main
<http://www.php.net/function.main>]: failed to
create stream: Too many
open
files in /info/www/ubwww/admissions/index.php on line 15
Warning: main() [function.main <http://www.php.net/function.main>]: Failed
opening 'classes/CONFIG/log_config.inc' for inclusion
(include_path='.:/usr/local/lib/php') in
/info/www/ubwww/admissions/index.php on line 15
Any thoughts appreciated.
Thanks in advance,
Ewa
--
Edit bug report at http://bugs.php.net/?id=22793&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22793&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22793&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22793&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22793&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22793&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22793&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22793&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22793&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22793&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22793&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22793&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22793&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22793&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22793&r=gnused