---------- Forwarded message ---------- From: Preeti Joshi <[EMAIL PROTECTED]> Date: May 28, 2007 5:02 AM Subject: Re: problem syncing files from embedded device to PC To: Matt McCutchen <[EMAIL PROTECTED]>
Hi, I read the link you had mailed. I'll clarify here that I have a C application through which I invoke rsync with 'system ()' system call. Also , I have 3 threads trying to copy same source files to 3 destinations. I make sure by using threads and mutex locks that only 1 thread is created for one destination. However, 3 threads can run in parallel. Is it possible for this parallel execution of rsync to lead to OUT OF MEMORY problem even though I have such small-sized files total files being < 100 in number ! I don't think so because in few embedded systems that I have, there are only 5-6 files of few kilo bytes and still rsync leads to OUT OF MEMORY problem even with single destination. In fact I invoke rsync for destinations that are reachable by 'ping' beforehand. In case of single reachable destination too, this problem occurs within few minutes! Thus, I mostly have situations where only one instance of rsync is running! I hope rsync is not meant only for HUGE-RAM-HUGE-HARD-DISK-MILLION-FILES scenarios!!! Preeti On 5/28/07, Matt McCutchen < [EMAIL PROTECTED]> wrote:
On 5/23/07, Preeti Joshi < [EMAIL PROTECTED]> wrote: > I had seen the missing argument.. and posted the query again with correct > command that I am using, i.e. > rsync -trze rsh DATA/* [EMAIL PROTECTED]:/home/test/DATA I didn't notice the difference between the two messages, so I assumed they were the same and answered the first one. In the future, if you make a mistake in a message, please reply to it and just state the correction. The next thing I would check is whether rsync processes are accumulating because a new rsync is started before the previous one is finished. If that is the problem, follow the suggestions in this message to fix it: http://lists.samba.org/archive/rsync/2007-January/017133.html Matt
-- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
