The watchdog  simply check if the ASSP pid exists . If the pid does not exists
it restarts ASSP .

I check if the pid exists using

# ps xo "pid args" | grep "assp.pl" | grep -v "grep"
21315 /usr/bin/perl -- /usr/local/assp/assp.pl /usr/local/assp

When ASSP crashes there is no ASSP process running, the command above returns 
nothing, the ASSP log is stopped .
Only in this situation the watchdog restarts ASSP.
However to be sure I also tried to remove the watchdog ; the ASSP process 
disappears and I could stay for hours
without ASSP , nothing will restart ASSP.

Graziano

> For Users of ASSP<[email protected]>  schreibt:
>> I had some server which were crashing very often during peak hours wit
>> h lot of smtp traffic ,
>> does not matter the ASSP version (however always using a recent versio
>> n 1.9.6.x) .
>> Without a common reason the ASSP pid disappears and ASSP needs to be r
>> estarted using a watchdog
>> which is monitoring the existence of ASSP pid.
>
>
> It would be impossible for ASSP to delete the PID if it crashes uncont
> rolled.
> What is in the log at the time of crash. Or is there no crash, but a r
> estart from the monitor script?
>
>
> ------------------------------------------------------------------------------
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> _______________________________________________
> Assp-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/assp-user
>


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to