[SAC] Fair projectsVM usage (esp. Openlayers)
christopher.schmidt at nokia.com
christopher.schmidt at nokia.com
Sun Feb 12 07:36:12 EST 2012
On Feb 12, 2012, at 7:30 AM, ext Hamish wrote:
> christopher wrote:
>> Looks like naturaldocs got stuck in a loop. That script is
>> part of a cron job that runs every hour, so killing it if i
>> it ever gets in that state is a perfectly reasonable
>> response.
>> (I've gone ahead and done so now.)
>
> suggest to have the hourly cron job begin by 'pgrep -c'ing for itself
> and pkill'ing the old one if it has not completed. &/or spamming the
> job's owner when that happens. (will the new one just suffer the same
> loop-fate as the previous?)
Since the job has been running every hour since that one started
without failing, it seems unlikely, otherwise we'd have a whole
stack of them. I've seen it fail in this way precisely twice in
the two years since we moved to the projects server; to be honest,
any software work at this point is probably overkill, but:
https://github.com/openlayers/openlayers/blob/master/tools/update_dev_dir.sh
patches welcome ;)
-- Chris
>
>
> (& run it niced too :)
>
>
> Hamish
> _______________________________________________
> Sac mailing list
> Sac at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/sac
More information about the Sac
mailing list