|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-03-04 03:29 UTC] derick@php.net
[2004-03-04 09:56 UTC] donny at intercosmos dot com
[2004-03-05 18:57 UTC] derick@php.net
[2004-03-10 19:52 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 00:00:01 2025 UTC |
Description: ------------ We started using a new program that spawns additional CLI php scripts recently. And today, we started getting stuff like this: PHP Warning: system(): Unable to fork [/usr/bin/php /www/htdocs/onetime/spawn_domain.php 'businesslicensing.com' > /dev/null &] in /www/htdocs/onetime/spawn_domain_parent.php on line 39 Now if I wait a few minutes, and restart the parent it will normally go on about it's business. But then after a while it will all of a sudden no longer be able to spawn new children. All of the other bugs mentioned like this are based on Windows, but this is a Linux box. Reproduce code: --------------- system("/usr/bin/php /www/htdocs/onetime/spawn_domain.php '$db[domain]' > /dev/null &"); Expected result: ---------------- It should spawn a child CLI program and run. Actual result: -------------- It runs the code mentioned above.