[mythtv-users] Aussie OzTivo Users.
David Whyte
david.whyte at gmail.com
Wed Aug 9 21:28:21 UTC 2006
Hi there,
For those of you not on the TVGuide.org.au mailing list, you may have
missed some discussion regarding the load on the server at certain
times.
The owner of the server has suggested that to spread the load, we
don't hit is box at specific times during the night (like I used to be
configured to do) and instead put some random sleeps in there.
The idea is to change your cron tab to something like...
0 1 * * * root sleep $((RANDOM \% 18000)) && mythfilldatabase
--no-delete --graboptions "--config-file
/home/djwhyte/.xmltv/tv_grab_au_reg.xml" > /tmp/mythfilldatabase.log
...(all on one line), which is how I have mine setup. Yours may be
slightly simpler.
Effectively, for those that don't know, like I initially didn't, the
cron entry starts at 1am on the dot, but sleeps for a random time up
to 5 hours before running my mythfilldatabase command. I also log to a
file, incase any errors occur. This change has been working fine for
me over the past couple of days.
Please, do your bit and distribute the load on the guys server by
updating your cron entry. Obvisouly, if you don't use cron, or use
someother way to randomise the time, ignore this post :)
Cheers,
Whytey
More information about the mythtv-users
mailing list