Re: [lvs-users] Defunt Process

2010-08-09 Thread Henrique Fernandes
I am not sure i am just giving you an opinion, cause i have not skills enough to look into the code! I am just saying, when the time out is smaller than the external comand it becames a defunct process. Setting the timeout to a higher value, will only fix for a moment, once the real server get a

Re: [lvs-users] Defunt Process

2010-08-09 Thread Simon Horman
On Mon, Aug 09, 2010 at 05:56:15PM -0300, Henrique Fernandes wrote: > But the points is to use the checktimeout toghetter with my script. > > My script does not consider timeout, or it is to long, i raise the timeout > and the problem stop, but with this solution, someother tie it will have the >

Re: [lvs-users] Defunt Process

2010-08-09 Thread Simon Horman
On Mon, Aug 09, 2010 at 04:50:39PM -0400, Simon Horman wrote: > On Mon, Aug 09, 2010 at 05:32:11PM -0300, Henrique Fernandes wrote: > > My test is a python script that sends an email! > > > > If it sends the email ok! with exit with 0 anything else exits with 1 > > > > The test is working ok! > >

Re: [lvs-users] Defunt Process

2010-08-09 Thread Henrique Fernandes
But the points is to use the checktimeout toghetter with my script. My script does not consider timeout, or it is to long, i raise the timeout and the problem stop, but with this solution, someother tie it will have the checktime higher than checktimeout, then it will became defunct again. But th

Re: [lvs-users] Defunt Process

2010-08-09 Thread Simon Horman
On Mon, Aug 09, 2010 at 05:32:11PM -0300, Henrique Fernandes wrote: > My test is a python script that sends an email! > > If it sends the email ok! with exit with 0 anything else exits with 1 > > The test is working ok! > > The only problem is when thet test takes more than the checktimeout, in

Re: [lvs-users] Defunt Process

2010-08-09 Thread Henrique Fernandes
My test is a python script that sends an email! If it sends the email ok! with exit with 0 anything else exits with 1 The test is working ok! The only problem is when thet test takes more than the checktimeout, in that case, my script becomes an defaunt proccess. If you need anything else let m

Re: [lvs-users] Defunt Process

2010-08-09 Thread Simon Horman
On Mon, Aug 09, 2010 at 05:17:56PM -0300, Henrique Fernandes wrote: > I have a problem with heartbeat and ldirectord > > I have made a script that checks if some services are function. But the > problem is when this check takes longes that ldiretord timeout > > If that happes, the system creates

[lvs-users] Defunt Process

2010-08-09 Thread Henrique Fernandes
I have a problem with heartbeat and ldirectord I have made a script that checks if some services are function. But the problem is when this check takes longes that ldiretord timeout If that happes, the system creates an defunct proccess, and this list keeps growing. does any one have an idea ?