Print

Print


On 01/07/2015 12:11 PM, Andrew Lahiff wrote:
> Hi Federico,
>
> We just have a cron which does this:
>
> /usr/bin/find /var/spool/arc/jobstatus/ -name \* -mtime +14 -exec rm -f {} \;

Did Federico mean those, or the /var/log/arc/infoprovider.log file?

BTW: Here, no file in /var/spool/arc/jobstatus is more than 60 days old. 
Chance? Or cleaned automatically?

Steve


> Regards,
> Andrew.
>
> ________________________________
> From: Testbed Support for GridPP member institutes [[log in to unmask]] on behalf of Federico Melaccio [[log in to unmask]]
> Sent: Wednesday, January 07, 2015 11:50 AM
> To: [log in to unmask]
> Subject: old job files in ARC controldir
>
> Hi all,
> ARC infoprovider.log gets filled by undefined status warnings for very old failed jobs (> 6 months). This is due to leftover job files into ARC controldir which have no corresponding folders in the sessiondir(s). By removing those files, warning messages are gone. Does anyone have a script to clean up such files?
>
> Regards
> Federico