Default tmpwatch script at /etc/cron.daily/ (at least for Fedora 3 ~ 8) only honors the atime (access time) so if you are running a very long calculation and storing the working files in the /tmp, you need to be careful. In the case of AMBER's sander program, the output files are opened all the time, that means the atime might not change at all and your precious data will be gone after 10 days.
Possible solution is to increase the time of deleting old files or add an option '-m' into tmpwatch script.
perl -pi -e 's/tmpwatch -x \/tmp/tmpwatch -m -x \/tmp/' /etc/cron.daily/tmpwatch /var/lib/systemimager/images/*/etc/cron.daily/tmpwatch
Also remember to do that on the nodes.
No comments:
Post a Comment