daemon process and background process
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > daemon process and background process




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    daemon process and background process  
J de Boyne Pollard


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-27-07 06:34 PM

t> A daemon [is] a child of init and is a session leader [...]

Wrong.  Neither of those is universally true of daemon processes.  And
certainly neither is a _requirement_ for daemon processes.  They do
_not_ determine what is and isn't a daemon.  Daemons on Solaris that
are invoked by the SAF are neither children of process #1 nor session
leaders.  Daemons on Linux and other Unices that are being controlled
by "supervise" (<URL:http://cr.yp.to/daemontools/supervise.html> ) or
by "runsv" (<URL:http://smarden.org./runit/runsv.8.html> ) are neither
children of process #1 nor session leaders.

Indeed, having process #1 as a parent process is usually indicative of
a badly written daemon.  See <URL:http://homepages.tesco.net./
~J.deBoynePollard/FGA/unix-daemon-design-mistakes-to-avoid.html>.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:38 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register