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 (?) > As a workaround i edited the /etc/cron.hourly/freshclam and > do a killall /usr/bin/freshclam && sleep 10 before running the > real freshclam - "/usr/bin/freshclam &" cool! this should help. thank you again but maybe now it's time to let freshclam run as daemon (?) also maybe there is need to check the other cronscripts, maybe there are similar problems. > Other way to fix this is to run ntpd, this way the daemon will > fix the clock in realtime and the jumps will stop while remaining with > the correct clock. next release will use ntpd instead of ntpdate in order to address the problem with jumping clocks. stay tuned, it's ready soon :) peter -- :: e n d i a n :: open source - open minds :: peter warasin :: http://www.endian.it :: [EMAIL PROTECTED] ------------------------------------------------------------------------- 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
