On Wed, 21 Mar 2001, Jim Davis wrote:
On Wed, 21 Mar 2001, Coder, James (STP) wrote:
Have seen some references to rsync in the toasters. I looked at their web page and in the process of building it. How do you folks feel about it?
In general, it rocks. One potential gotcha that I saw with older versions is that the rsync process's memory use could balloon up if you were trying to have it process a large number of files.
I went through this not to long ago. Using The File::Rsync perl module in conjunction with Parallel::ForkManager works wonders. My filer was the backend for a webserver farm. Dir structure looked like this:
/htdocs/e/x/example /htdocs/f/o/foo /htdocs/u/s/username
and so on. Whipped up a script that decended to (for example) /htdocs/e/x, and ran an rsync process on each of the userdirectories. Worked fine in testing, although events eventually dictated that I run rsyncs manually.
Noah