I've searched until I was blue in the face and cannot find the answer to this question.
Where I can find a table listing the meanings of all the error codes for pcntl_fork()? Or even the C fork() function, for that matter.
It seems the 12
error code indicates there was not enough memory to fork.
See this post, for instance (quoting) :
I've had this when
(1) I've run out of memory, and
(2) when the pid table is full. In the latter case a rogue program was constantly forked child processes & not picking-up the message when they die. The result was >200 zombies.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With