#30671 [Opn->WFx]: "Unable to fork..."-error appears periodically
| From: | tony2001@php.net | Date: | Wed, 17 Nov 2004 08:22:36 +0000 |
| Subject: | #30671 [Opn->WFx]: "Unable to fork..."-error appears periodically | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-69166@lists.php.net to get a copy of this message | ||
ID: 30671
Updated by: tony2001@php.net
Reported By: henning dot mohren at gmx dot de
-Status: Open
+Status: Wont fix
Bug Type: Filesystem function related
Operating System: Solaris 9
PHP Version: 5.0.2
New Comment:
Tune your Solaris instead.
Values of rlim_fd_max and rlim_fd_cur can be changed with appropriate
settings in /etc/system.
I doubt that PHP can implement any workaround for OS limit.
Previous Comments:
------------------------------------------------------------------------
[2004-11-03 13:36:39] henning dot mohren at gmx dot de
Description:
------------
Solaris restricts the use of popen() to 255 files, which is a low limit
in case of servers. When using PHP's system() commands, PHP calls
Solaris popen(). This fails, when too system-commands have been
invoked.
See here
(http://www.sitepoint.com/forums/showthread.php?p=1245879#post1245879)
for more details.
Expected result:
----------------
PHP should implement a workaround or call another Solaris function for
invoking system commands.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30671&edit=1