[Csync2] periodic check of hints table

Michael Milkovich michael.milkovich at warecorp.com
Fri Nov 4 12:37:18 CET 2005


Thanks for the guidance.  I'll let you know how it turns out, and I'll 
post the code if anyone is interested...

-- 
    Mike Milkovich
    www.warecorp.com



Clifford Wolf wrote:

>I'd suggest to run csync2 periodically. eighter from a cron job or from
>your watcher daemon.
>
>The overhead for creating the new csync2 process, parsing the config,
>opening the database, etc. seams to be about 0m0.004s on my test server
>(dual xeon 2.50GHz). This is 0m0.008s for the "-c" and the "-u" mode
>together. Even if you run it once a second this would be only a load
>of 0.8%. A combined mode for "-c" and "-u" would further reduce the
>overhead.
>
>I'd start csync2 from the watcher daemon and not from cron.
>
>yours,
> - clifford
>
>  
>


More information about the Csync2 mailing list