note 124847 added to function.pcntl-fork

From: Date: Tue, 24 Mar 2020 05:07:51 +0000
Subject: note 124847 added to function.pcntl-fork
Groups: php.notes 
Request: Send a blank email to php-notes+get-214368@lists.php.net to get a copy of this message
I don't know if i'm stupid but forking on PHP 7.3.16 / Centos 7.7 is not working as expected, every simple script i ran on cli, gets stuck "waiting" for children to exit. well i have a workaround: terminate children instead of just exiting. terminate children with: posix_kill(getmypid(),15); ---- Server IP: 45.112.84.4 Probable Submitter: 185.85.3.195 (proxied: 189.216.199.2) ---- Manual Page -- http://php.net/manual/en/function.pcntl-fork.php Edit -- https://master.php.net/note/edit/124847 Del: integrated -- https://master.php.net/note/delete/124847/integrated Del: useless -- https://master.php.net/note/delete/124847/useless Del: bad code -- https://master.php.net/note/delete/124847/bad+code Del: spam -- https://master.php.net/note/delete/124847/spam Del: non-english -- https://master.php.net/note/delete/124847/non-english Del: in docs -- https://master.php.net/note/delete/124847/in+docs Del: other reasons-- https://master.php.net/note/delete/124847 Reject -- https://master.php.net/note/reject/124847 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#214368) next »