Re: process not disappearing from proc tbl..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]
  Powered by Linux