https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6281
--- Comment #2 from Mark Martinec <[email protected]> 2010-01-08 09:33:02 UTC --- Also closely related: Bug 6265 Comment 7 (Warren Togami): Fedora's RPM now sa-update by default on a nightly basis. sa-update is no longer optional. Bug 6265 Comment 8 (AXB): Aplogize for hijacking this bug... I truly hope you're not hammering the donated sa-updates servers with this and that RedHat uses its own sa-update server. Bug 6265 Comment 9 (Warren Togami): Mitigating factors: * It skips sa-update if spamd or amavisd is not running, and we don't run spamd by default if you have the packaged installed. * It also delays a random amount of time before doing it, so it wont bog down the server with requests all at the same moment. Is this still too much? Bug 6265 Comment 10 (AXB): for default setups, once a week would be more than enough. "dedicated" admins can tweak, most won't imo, ideally, distros which enable sa-update by default should provide resources to cover the load they're adding. I imagine this auto sa-update could also land in mainstream RHE / Centos etc, the load added can become... HUGE, plus the pressure put on donated time to run the stuff to keep an even larger user base happy. Honestly, don't think its a good idea to enable sa-update by default. Dunno what others think....especially the ones supplying the sa-update infrastructure. Bug 6265 Comment 13 (Justin Mason): > > Honestly, don't think its a good idea to enable sa-update by default. Dunno > > what others think....especially the ones supplying the sa-update > > infrastructure. > I think it's a good idea but I *thought* sa-update checked DNS for the > availability of an update not an http query. > KAM yep it does. I'm quite happy to see sa-update enabled by default, to be honest; if we need more mirrors, we need more mirrors, and that's easily done. in the meantime sa-update will do the right thing, retry where necessary, etc. at some point we should do the "random offset from hour" thing ourselves, but the right way (as per my coworker Colm): http://www.stdlib.net/~colmmacc/2009/09/14/period-pain/ http://www.stdlib.net/~colmmacc/2009/09/27/period-pain-part-2/ Bug 6265 Comment 14 (Warren Togami): http://cvs.fedoraproject.org/viewvc/devel/spamassassin/sa-update.cronscript?revision=1.7&view=co Here is the script we run from cron by default as of 3.3.0. * Looks for daemons and runs sa-update only if it sees a running daemon. * Random delay up to 2 hours. * .d directory to specify arbitrary channels in separate files, makes it easy to add/remove channels automatically using packages later. * Restarts the appropriate daemon after successful sa-update. -- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
