[browsershots-factories] New factory feature: sleep if system
load is too high
André Kemmeren
andre at osxy.nl
Tue Sep 12 13:59:32 CEST 2006
Hi,
Good addition, installed it and it's working just fine here. (My load
doesn't come any higher then 0.6 but hey you never know ;) )
André Kemmeren:
Webmaster van Osxy[dot]NL - Oeza in actie
contact | andre at osxy.nl | 06-12251657 | aim - osxy at mac.com
adreskaart | download adreskaart
Op 12-sep-2006, om 10:05 heeft Johann C. Rocholl het volgende
geschreven:
> Hi all,
>
> some pages will not be loaded completely if the system load on the
> screenshot factory is too high. So I have implemented a simple load
> limit for the screenshot factory script:
> http://trac.browsershots.org/changeset/775
>
> The screenshot factory will now check the system load before
> attempting to make screenshots. If the system load is higher than the
> limit, the factory will display a message and then sleep for a minute.
> The message will also be written to shotfactory.log.
>
> The default load limit is 1.0, but you can change it with the "-l"
> option, like this:
> $ python shotfactory -l 0.5
>
> To see all available command line options:
> $ python shotfactory -h
>
> To update your screenshot factory:
> $ cd shotfactory
> $ svn update
> $ sudo python setup.py install
>
> Cheers,
> Johann
> _______________________________________________
> browsershots-factories mailing list
> browsershots-factories at lists.browsershots.org
> http://lists.browsershots.org/mailman/listinfo/browsershots-factories
More information about the browsershots-factories
mailing list