On 28Nov2016 12:28, bruce <badouglas@xxxxxxxxx> wrote:
Maybe too much food over the weekend.. Maybe brain cells are fried!
Created a basic/simple 5 line php test, It runs so chown/chmod are ok.
However, when I then run it as a background process, and check the
procTBL, the PID is there.. the process never leaves, unless I
manually kill it.. so... what have I forgotten.. I know.. the homer
simpson (doh!!) is going to be painful on this one..
my test php
------------------------------
#!/usr/bin/php
<?php
sleep(5);
print "running child_test \n";
exit();
?>
-----------------------------
running from the cmd line..
/cloud_nfs/child_test.php << runs fine, and not in procTBL after running..
trying to background from the cmd line..
/cloud_nfs/child_test.php & << never goes from procTBL unless
manually killed
/cloud_nfs/child_test.php 2>&1 & << never goes from procTBL unless
manually killed
So.. what did I screw up to run in background, and be removed from procTBL..
Odd. What is the output from ps?
Since these are both local background processes of your shell, what does the
"jobs" command say about them?
What does:
strace -p <pid-of-the-process>
say it is doing?
Cheers,
Cameron Simpson <cs@xxxxxxxxxx>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx