ID: 20274 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: iPlanet related Operating System: Solaris 8 PHP Version: 4CVS-2002-11-06 New Comment:
Hello all, I am experiencing nearly the same issue. This seems to happen randomly and is temporarily cleared by a webserver reboot. Here is what the browser sees; --- Begin browser output--- Warning: Unknown(/www/whitepine/htdocs/webmail/src/login.php): failed to create stream: Too many open files in Unknown on line 0 Warning: Failed opening '/www/whitepine/htdocs/webmail/src/login.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0 --- End browser output--- I'm on Solaris 9, Ultra 1. I'm using PHP 4.3.0ORC2 (installed fine); - Because 4.1.1 is old and crashes the server when php gets executed. (nasty errors in the iplanet6 server log) - And because 4.2.3 won't compile correctly for me. I get this error when trying to 'make' after a configure (my configure options for all 3 versions are below). ---Begin make output--- Making all in nsapi /bin/sh /dist/web/php/php-4.2.3/libtool --silent --mode=compile gcc -I. -I/dist/web/php/php-4.2.3/sapi/nsapi -I/dist/web/php/php-4.2.3/main -I/dist/web/php/php-4.2.3 -I/includ e -I/dist/web/php/php-4.2.3/Zend -I/opt/sfw/mysql/include/mysql -I/dist/web/php/php-4.2. 3/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/d ist/web/php/php-4.2.3/TSRM -g -O2 -pthreads -DZTS -prefer-pic -c nsapi.c nsapi.c:50: nsapi.h: No such file or directory nsapi.c:51: base/pblock.h: No such file or directory nsapi.c:52: base/session.h: No such file or directory nsapi.c:53: frame/req.h: No such file or directory nsapi.c:54: frame/protocol.h: No such file or directory nsapi.c:55: base/util.h: No such file or directory nsapi.c:56: frame/log.h: No such file or directory *** Error code 1 make: Fatal error: Command failed for target `nsapi.lo' Current working directory /dist/web/php/php-4.2.3/sapi/nsapi *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /dist/web/php/php-4.2.3/sapi/nsapi *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /dist/web/php/php-4.2.3/sapi *** Error code 1 make: Fatal error: Command failed for target `all-recursive' ---End make output--- --with-mysql=/opt/sfw/mysql --with-nsapi=/opt/iplanet/servers --enable-track-vars --enable-libgcc --with-gettext I'm also using gcc 2.95.3 if this helps. I'm also running Iplanet6 sp4 Does anybody have any ideas? ~Nate Previous Comments: ------------------------------------------------------------------------ [2002-11-22 03:38:24] [EMAIL PROTECTED] We can't fix without more info/access to this platform. Can you try increasing your kernel file descriptor limit? If that does not work, we'll need some kind of strace output to see what is going on. ------------------------------------------------------------------------ [2002-11-21 17:47:55] [EMAIL PROTECTED] [EMAIL PROTECTED] might have the solution... I was forced to fall back on a previous build and not able to persue the problem further. ------------------------------------------------------------------------ [2002-11-21 17:11:33] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2002-11-12 06:05:51] [EMAIL PROTECTED] Switching to PHP 4.2.3 solved the problem for me. Thanks, [EMAIL PROTECTED] ------------------------------------------------------------------------ [2002-11-08 06:26:02] [EMAIL PROTECTED] I am experiencing the same thing (OS: Solaris 8 and Solaris 7; iPlanet 4.1 webserver SP9; PHP4.0.4pl1). After restarting the webserver, each time I can do a certain (almost always the same) number of requests for a script and then things go wrong with file-access: Warning: fopen("/path/to/file","r") - Error 0 in /path/to/script.php on line 104. After that, filehandles appear to be invalid and after that, when I request the script bestel.php, it cannot be opened: Warning: Failed opening '/path/to/script/bestel.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0. If more information is needed for help, I will gladly provide it. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/20274 -- Edit this bug report at http://bugs.php.net/?id=20274&edit=1