ID: 22416 Comment by: mytto at openxtrem dot com Reported By: jhalla at legion dot org Status: Bogus Bug Type: iPlanet related Operating System: Solaris 8 PHP Version: 4.3.5 Assigned To: wez New Comment:
definitely sure, i checked it out twice :) Unfortunately I don't have root access to my webspace but only FTP and Plesk admin... Shall I request these modifications to my provider? Can I check those values from a web browser anyhow? Thanks for you help Previous Comments: ------------------------------------------------------------------------ [2004-09-06 21:59:30] [EMAIL PROTECTED] Are you sure that you are using 4.3.5? If yes, then you have really to few file handles and this problem have nothing to do with PHP. SunONE recommends for the webserver to raise the hard limit of open files (must be done by root in /etc/system): set rlim_fd_max=8192 set rlim_fd_cur=1024 ------------------------------------------------------------------------ [2004-09-06 21:44:41] mytto at openxtrem dot com Unfortunately ih happens rather randomly on many websites I host, which are themselves instances of opensource solutions like Mambo, TikiWiki or dotProject. It's often a fopen() fonction call that raise a 'failed to create/open stream: Too many open files'. The trick is that when I refresh several times, it happens work back again... I'm quite puzzled :/ ------------------------------------------------------------------------ [2004-09-06 13:56:39] [EMAIL PROTECTED] In which context does that happen? Any function call? The Zend engine itsself has no further limitations. Only 3rd party modules can run into this limitation if they use stdio which is limited in Solaris 32bit (even 3rd party libs that are used by a PHP extension). Libs/Extensions that have problems (as I know): * sybase/sybase_ct (in the libs of Sybase, not PHP) -> use freetds here * imap extension (no further testing), depends on the imap library used * older MySQL libs, use newest one, not the bundled one In PHP itsself one of this are currently the mail() function because it uses stdio pipes to send data to sendmail. ------------------------------------------------------------------------ [2004-09-06 13:42:47] mytto at openxtrem dot com Though I'm running PHP 4.3.5, I encounter the same problem. Do you have another solution? ------------------------------------------------------------------------ [2003-10-11 12:02:11] [EMAIL PROTECTED] Use the newest version of PHP (4.3.3 or greater). There this limit is removed. Your comment to 64bit is not acceptable for iPlanet users because iPlanet is a 32 bit webserver which cannot run modules compiled in 64 bit. ------------------------------------------------------------------------ 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/22416 -- Edit this bug report at http://bugs.php.net/?id=22416&edit=1