#19835 [Bgs]: Cannot fork() error when using exec()
| From: | veins at skreel dot org | Date: | Wed, 09 Oct 2002 19:42:31 +0000 |
| Subject: | #19835 [Bgs]: Cannot fork() error when using exec() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-21976@lists.php.net to get a copy of this message | ||
ID: 19835
User updated by: veins@skreel.org
Reported By: veins@skreel.org
Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Unix (OpenBSD-3.0)
PHP Version: 4.2.3
New Comment:
No, the system did not reach the user limit, i could log in and spawn
more processes. It was related to PHP !
I searched in google and saw a preceding bug similar to this one that
was due to "a misbehaviour in exec()".
Previous Comments:
------------------------------------------------------------------------
[2002-10-09 14:09:12] iliaa@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
This usually means that the system has reached maximum allowed user
process' and cannot start any new ones. You can view the limit via the
'ulimit -a' command.
------------------------------------------------------------------------
[2002-10-09 13:54:51] veins@skreel.org
Lately, we figured out that PHP was having problems sometimes while
working with exec(). We would get a 'Warning: could not fork
[some/scripts.sh]' for a delay of about 10 minutes, after what
everything comes back to normal.
I tried to log into the server while PHP was giving me the error and
noticed that everything was working fine.
This happened once with 4.2.2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19835&edit=1