#20274 [Fbk]: failed to create stream: Too many open files in Unknown on line

From: Date: Wed, 06 Nov 2002 14:43:41 +0000
Subject: #20274 [Fbk]: failed to create stream: Too many open files in Unknown on line
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-24204@lists.php.net to get a copy of this message
ID: 20274 Updated by: kalowsky@php.net Reported By: fowler@csufresno.edu Status: Feedback Bug Type: iPlanet related Operating System: Solaris 8 PHP Version: 4CVS-2002-11-06 New Comment: Is there a sample script we can try to reproduce this with? Previous Comments: ------------------------------------------------------------------------ [2002-11-06 04:28:41] wez@php.net Does the same script exhibit the same behaviour using PHP 4.2.x? ------------------------------------------------------------------------ [2002-11-06 00:16:52] fowler@csufresno.edu We are running php4-200211030600 with Sun One Web Server 6.0sp4 on Solaris 8. It was compiled with gcc 2.95.3 using './configure' \ '--with-nsapi=/path/to/iplanet/web/server' \ It compiled successfully and runs fine for a few hours but accessing pages soon reports the following: ========== Warning: Unknown(/path/to/doc-root/index.php): failed to create stream: Too many open files in Unknown on line 0 Warning: Failed opening '/path/to/doc-root/index.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0 ========== A quick fix is to setup a cron job to restart the web server hourly, but this is not desired. Please let me know if I can provide additional details regarding this issue. Thanks, Jay ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20274&edit=1

« previous php.bugs (#24204) next »