Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Was: rsync + malloc = Crazy Delicious / Backing up our Xsan




On 17 Jun 2007, at 22:26, Axel Luttgens wrote:

300,000 files should not be that terrible for rsync.
But, as shipped by Apple, it leaks; and it leaks much, much more when it encounters items with ACLs (just noticed the fact recently).
Do your file/folders all have an ACL?
[...]


If you are satisfied with rsync's capabilities as of 10.4.9, I have today amended my rsync binary (see my post dated May, 6th) so as to avoid -or at least, minimize- memory leaks.
I haven't tested it against 5 million files, but my own trials against 1,5 million files with lots of them having an ACL tend to show it should work with much more files.


I would be a pleasure to send a copy of the binary to anyone interested in trying it.


Alex,

where are the leaks you mention? Are they in the code added by Apple's patches (the ones in EA.diff) or are simply triggered by ACL but not specifically in that code?
I am writing to the rsync list as I would like to try to manually apply those patches to the rsync3 trunk, but to make all that effort to apply something that is partially rotten would be even more silly than it is already..
If the changes are reasonably simple, can you let me have them (a diff -u between your sources and the rsync-24.1 original sources would be fine I suppose).
I copy you directly as the list distribution times are presently a joke (no prize to guess what the reason might be).


Thanks

Giuliano
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >rsync + malloc = Crazy Delicious (From: Douglas Back <email@hidden>)
 >Was: rsync + malloc = Crazy Delicious / Backing up our Xsan (From: Axel Luttgens <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.