I have been know to run out of processes on a server.
So... if your daemon is spawning other processes and dies because "No more
processes." Then I'd suggest using a cron-jobbed script that checks to see
if your daemon is alive and running at regular intervals, and if it isn't to
restart it again.

> -----Original Message-----
> From: Felix Geerinckx [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 16, 2002 3:45 PM
> To: [EMAIL PROTECTED]
> Subject: Re: proper way to start daemon
> 
> 
> on Thu, 16 May 2002 19:16:58 GMT, Matt Simonsen wrote:
> 
> > I have a script to monitor servers which is basically an infinate
> > loop that sleeps and runs again. I start from a ssh session by the
> > command: 
> > 
> > ssh -f $server "~/script &"
> > 
> > It seems to be dieing on some of our busier servers.
> 
> I'm really not into this myself, but maybe 
> 
>     perldoc -q daemon
>     How do I fork a daemon process?
> 
> makes sense to you?
> 
> -- 
> felix
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

----------------------------------------------------------------------------
--------------------
The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to