Peter Warasin wrote:
> hi
>
> Daniel Mota Leite (Higuita) wrote:
>   
>>      i found that my cron is locking up from time to time...
>> after some search i found that sometimes freshclam locks up when updating
>> and the fcron doesnt continue until the process is killed
>>     
>
> uhm. this may be a general problem, if cronscripts may block, since
> run-parts blocks on each script and starts the next script only if the
> actual exits. the other ones will be delayed.. if freshclam hangs, all
> scripts will be delayed. and on the next cron-turn it will not be
> started anymore since it is already running. :/
>
> however, i tested with vixie cron on ubuntu, it's the same behaviour. i
> assume it's normal. tought about putting each cron script in background,
> but that maybe let us run into other problems (?)
>
>   

I've never noticed this. Where is run-parts coming from? I notice on a 
Redhat System run-parts is a shell script with this comment right at the top

# run-parts - concept taken from Debian

# keep going when something fails
set +e


I've never had a problem with items in cron.* blocking other cronjobs. 
That obviously is a problem. Anyone want to try swapping the run-parts 
from debianutils for a stock RedHat shell script?

-Mike

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Efw-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/efw-user

Reply via email to