monit-dev
[Top][All Lists]
Advanced

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

monit/process sysdep_DARWIN.c


From: Martin Pala
Subject: monit/process sysdep_DARWIN.c
Date: Mon, 23 Jul 2007 22:01:32 +0000

CVSROOT:        /sources/monit
Module name:    monit
Changes by:     Martin Pala <martinp>   07/07/23 22:01:32

Modified files:
        process        : sysdep_DARWIN.c 

Log message:
        removed the retry loop add recently - there are has several problems:
        
        1.) in the case that sysctl would return > 0, the loop is endless and 
monit will hung
        
        2.) in the case that sysctl returns < 0, monit will hung for up to 1000s
        
        Both cases are undesirable, the monitoring should continue. In the case 
of transient
        error, it is better to return the error immediatelly, continue 
validation and try
        next cycle. The state where sysctl is failing (even due to high load) 
is bad and
        user should be notified because other applications will be affected by 
it as well
        and may behave wrongly.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/monit/process/sysdep_DARWIN.c?cvsroot=monit&r1=1.32&r2=1.33




reply via email to

[Prev in Thread] Current Thread [Next in Thread]