Re: Key for high CPU usage

2009-06-10 Thread Leen Besselink
Leen Besselink wrote: > Daniel.Li wrote: >> Dear List, >> >> I'm trying to take a closer look at rsync code, and found when we run >> daemon, it will take a lot of CPU (400Mhz). So I'm interested in Which >> part of rsync code on ver 3.0.5 consuming CPU a lot? >> >> Can anyone here help to lighten

Re: Key for high CPU usage

2009-06-10 Thread Leen Besselink
Daniel.Li wrote: > Dear List, > > I'm trying to take a closer look at rsync code, and found when we run > daemon, it will take a lot of CPU (400Mhz). So I'm interested in Which > part of rsync code on ver 3.0.5 consuming CPU a lot? > > Can anyone here help to lighten me up? So I can try to improv

Re: Possibility to porting Rsync to NT and other platforms

2009-06-10 Thread Leen Besselink
John E. Malmberg wrote: > Hasanat Kazmi wrote: >> Hello, >> I am looking into possibilities of porting RSync for windows. Does >> anybody >> have an idea that which libraries and dependencies RSync uses which >> can not >> be compiled on windows (so thats why we use cygwin) > > I have not looked a

Key for high CPU usage

2009-06-10 Thread Daniel.Li
Dear List, I'm trying to take a closer look at rsync code, and found when we run daemon, it will take a lot of CPU (400Mhz). So I'm interested in Which part of rsync code on ver 3.0.5 consuming CPU a lot? Can anyone here help to lighten me up? So I can try to improve the performance or low the CP

Re: Possibility to porting Rsync to NT and other platforms

2009-06-10 Thread John E. Malmberg
Hasanat Kazmi wrote: Hello, I am looking into possibilities of porting RSync for windows. Does anybody have an idea that which libraries and dependencies RSync uses which can not be compiled on windows (so thats why we use cygwin) I have not looked at this in a few years, but the issues is more

Re: Weird behavior in receive_data function

2009-06-10 Thread Daniel.Li
On Thu, 2009-06-11 at 07:11 +0800, Daniel.Li wrote: > Dear List, > > I'm trying to get diff/removed data and it's offset out. So I write a > functions in receive_data. When I run backup, I found there is a weird > behavior which I don't understand. > > i = recv_token(f_in, &data) will receive (i

Weird behavior in receive_data function

2009-06-10 Thread Daniel.Li
Dear List, I'm trying to get diff/removed data and it's offset out. So I write a functions in receive_data. When I run backup, I found there is a weird behavior which I don't understand. i = recv_token(f_in, &data) will receive (i = -1, offset2 = 0) some where in the middle of the transfer proced

rsync from Windows 2003 to Solaris 10

2009-06-10 Thread Joseph L. Casale
I am trying to duplicate a job I have going from Windows 2008 ntfs to CentOS 5 ext3 with rsync, but from Windows 2003 ntfs to Solaris 10 ZFS. The 2008->CentOS job runs as: rsync.exe -ravcz --delete-during -e "ssh -i \.ssh\id_rsa" "/cygdrive/g//" bac...@host:/home/backup and the job only transmit

Re: rsync fails with "Permission denied" errors on random files over NFS

2009-06-10 Thread Thomas Damgaard
Bump. I have still not found a solution for this. Do you have any ideas on how to debug it? Thanks. Med venlig hilsen/Kind regards Thomas Damgaard Nielsen http://thomasdamgaard.dk On Tue, Apr 28, 2009 at 2:35 PM, Thomas Damgaard wrote: > Hi > > I use rsync for daily backups from a mailserver.

Re: rsync excluded file syntax errors

2009-06-10 Thread Rahul Nabar
On Wed, Jun 10, 2009 at 10:56 AM, Paul Slootman wrote: > > The excludes are always relative to the transfer root. Hence remove the > /home part (leaving /agokhale, /anand, etc) Ah! Thanks Paul! Makes sense now. -- Rahul -- Please use reply-all for most replies to avoid omitting the mailing lis

Re: rsync excluded file syntax errors

2009-06-10 Thread Paul Slootman
On Wed 10 Jun 2009, Rahul Nabar wrote: > I cannot figure out where I am going wrong with my excluded files > syntax! rsync backups up those folders I'm trying to exclude. > > rsync -av --exclude-from=/etc/rsync_excluded.conf --delete > r...@polaris::polhome /pol_home_bkup > > > cat /etc/rsync_

rsync excluded file syntax errors

2009-06-10 Thread Rahul Nabar
I cannot figure out where I am going wrong with my excluded files syntax! rsync backups up those folders I'm trying to exclude. rsync -av --exclude-from=/etc/rsync_excluded.conf --delete r...@polaris::polhome /pol_home_bkup cat /etc/rsync_excluded.conf - /home/agokhale - /home/anand - /home/asa

DO NOT REPLY [Bug 6461] rsync occassionally issues the message "rsync error: unexplained error (code 255) at main.c(1506) [generator=3.0.4]"

2009-06-10 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=6461 --- Comment #1 from james.pur...@ny.frb.org 2009-06-10 09:03 CST --- I should mention that we are using rsync in conjunction with ssh. Please let me know if there are additional details you would like. -- Configure bugmail: https://b

DO NOT REPLY [Bug 6461] New: rsync occassionally issues the message "rsync error: unexplained error (code 255) at main.c(1506) [generator=3.0.4]"

2009-06-10 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=6461 Summary: rsync occassionally issues the message "rsync error: unexplained error (code 255) at main.c(1506) [generator=3.0.4]" Product: rsync Version: 3.0.4 Platform: S