On Sun, Mar 17, 2013 at 07:02:53PM +0100, DaB. wrote: > Hello all, > > few minutes ago I had to clean ortelius' /tmp again because it was nearly > full > (there is up to 13GB space). > Using temp-files is a great thing and we all know that clean-up is boring > stuff > ??? but please: If you can not make your tools clean after them self then YOU > have to clean up for them from time to time. /tmp at ortelius contains over > 9000 small files at the moment ??? I VERY doubt that most of them are still > needed. So please look what is still needed, fix your tools and/or write a > cleaning-script. Otherwise I have to write a system-wide script that will > delete all files that are older than x days. > As a hint, apart from cleaning your tmp-files at the end of a script you can also do:
trap 'rm -f $TEMPFILE; exit' 1 2 3 15 which will be executed if the script gets a kill -1 -2 -3 or -15, so also if you or an admin needs to kill your script, the files will be deleted anyway. Regards, Andre Koopal _______________________________________________ Toolserver-l mailing list ([email protected]) https://lists.wikimedia.org/mailman/listinfo/toolserver-l Posting guidelines for this list: https://wiki.toolserver.org/view/Mailing_list_etiquette
