Mailing List Archive


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

Re: [tlug] UNIX signals



Jim wrote:

> Evan Monroig <evan.monroig@example.com> wrote:
> 
> > ... a HUP signal certainly seems better for a production server !
> 
> Why? 

It depends on how well you know the behavior of the daemon, 
and how worried you are about preserving existing children and 
connections. 

If one is not concerned about preserving existing children and 
connections, then restarting the daemon is a blunderbuss that 
is more likely to restart everything. 

If one _is_ concerned about preserving existing children and 
connections, then sending a (HUP) signal, can be a more graceful 
way of using a new configuration. It depends on how that daemon 
is written. 

For me, I can do 

   service sshd restart

while logged in remotely over ssh, and my connection is not lost. 



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links