Re: Speed problem

2002-11-12 Thread Wayne Davison
On Tue, Nov 12, 2002 at 11:30:28PM +0100, [EMAIL PROTECTED] wrote: > And why it tries to get 100% CPU even though there's nothing to do ? What do you mean "nothing to do"? Rsync is creating the new version of a changed file which is done both by transferring data over the network and by copying m

Re: --delete-excluded not working on local rsync

2002-11-12 Thread jw schultz
On Tue, Nov 12, 2002 at 10:05:20PM -0600, Jon Gabrielson wrote: > I am using the following command and the excluded > directory /usr/share/doc/ still appears with all it's contents in the > backup directory when it's contents should be deleted. Is this a bug > or am I doing something wrong? > >

--delete-excluded not working on local rsync

2002-11-12 Thread Jon Gabrielson
I am using the following command and the excluded directory /usr/share/doc/ still appears with all it's contents in the backup directory when it's contents should be deleted. Is this a bug or am I doing something wrong? rsync --delete --delete-excluded -a -R --exclude="/proc/*" --exclude="/dev/*

Re: rsync for /etc/passwrd /etc/samba/passwd

2002-11-12 Thread Franco Bagnoli
On Tue, 12 Nov 2002, Gurnish Anand wrote: > Can somebody give me a quick education on sync'ing users, passwords and > groups between 2 linux servers. Im using Redhat 7.1 as PDC and BDC using > Samba. I want to sync mainly /etc/passwd, /etc/smbpasswd, /etc/group to > get a consistancy going in t

Re: rsync for /etc/passwrd /etc/samba/passwd

2002-11-12 Thread Max Bowsher
Gurnish Anand <[EMAIL PROTECTED]> wrote: > Can somebody give me a quick education on sync'ing users, passwords > and groups between 2 linux servers. Im using Redhat 7.1 as PDC and > BDC using Samba. I want to sync mainly /etc/passwd, /etc/smbpasswd, > /etc/group to get a consistancy going in the d

getaddrinfo: Host not found problem

2002-11-12 Thread Randy Kasha
Hello, I am trying to use rsync (version 2.5.5) in a server client model to distribute software files. When I kick off the rsync client on an AIX 4.3.3 pwr3 platform, I get the following error message. We are in a real bind to get this protocol going; any help/insight/suggestions would be "greatl

rsync for /etc/passwrd /etc/samba/passwd

2002-11-12 Thread Gurnish Anand
Can somebody give me a quick education on sync'ing users, passwords and groups between 2 linux servers. Im using Redhat 7.1 as PDC and BDC using Samba. I want to sync mainly /etc/passwd, /etc/smbpasswd, /etc/group to get a consistancy going in the domain... please guide me sync'ing passwords bet

2.5.5 build ignores $CPPFLAGS

2002-11-12 Thread Paul Jarc
(I'm not subscribed; Mail-Followup-To set.) Contrary to the claim in the output of ./configure --help, $CPPFLAGS is in fact not influential. --- rsync-2.5.5/Makefile.in~2002-03-24 23:36:34.0 -0500 +++ rsync-2.5.5/Makefile.in 2002-11-12 17:52:04.0 -0500 @@ -9,6 +9,7 @@ LIB

Re: speed differences

2002-11-12 Thread uwp
Today, Mozzi wrote: > In all test the same 2.5 Gig logfile was used for transfer > (2719312019 Nov 12 11:42 maillog.back) > (2.5G Nov 12 11:42 maillog.back) > The transfer was done over two Gigabit nic's one onboard broadcom on > IBM X440 server, Other Intel on standard selfbuilt dual P3 880 machi

Re: Speed problem

2002-11-12 Thread uwp
On Tue, 12 Nov 2002, Wayne Davison wrote: > On Tue, Nov 12, 2002 at 04:32:31PM +0100, [EMAIL PROTECTED] wrote: > > I'd call it a bug. > > No, it's not a bug. It's the heart of the rsync algorithm at work. Hm... > Rsync trades CPU and local file I/O for network I/O in order to reduce > the amoun

Re: Speed problem

2002-11-12 Thread jw schultz
On Tue, Nov 12, 2002 at 10:03:06AM -0800, Wayne Davison wrote: > The only alternative is to use the --whole-file option -- this option > turns off the rsync algorithm and just sends all the changed files over > the net completely (like an scp copy, but for changed files). This > should only be use

Re: Speed problem

2002-11-12 Thread Wayne Davison
On Tue, Nov 12, 2002 at 04:32:31PM +0100, [EMAIL PROTECTED] wrote: > I'd call it a bug. No, it's not a bug. It's the heart of the rsync algorithm at work. Rsync trades CPU and local file I/O for network I/O in order to reduce the amount of data that is transferred over the network. Your diagnosi

Thank you!

2002-11-12 Thread Prabhu Ramachandran
Dear rsync developers/contributors, I've been using rsync either directly or indirectly via unison etc. for quite a while now. Thanks for the great software and algorithm! cheers, prabhu -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http

Re: many files filelist problem

2002-11-12 Thread Wayne Davison
On Tue, Nov 12, 2002 at 03:27:03PM +0200, Mozzi wrote: > [root@ais-mail01 root]# time rsync -pogrve ssh /var/spool/mail > [EMAIL PROTECTED]:/var/spool/mail/ FYI, this command puts the "mail" dir inside /var/spool/mail on the destination. You should add a trailing slash to the source path to avoi

Re: Speed problem

2002-11-12 Thread uwp
Heya ! It seems that we found it out. It's the partial flag. We tested a lot of stuff here with strace and could see that after some while there came timeouts on some descriptors (0 = stdin). We saw that after those timeouts got heavy the blocks-in-out dropped heavily. But the reason wasn't clear

many files filelist problem

2002-11-12 Thread Mozzi
Hi all I am still busy with my copy of the /var/spool/mail direcroty I gave it this command [root@ais-mail01 root]# time rsync -pogrve ssh /var/spool/mail [EMAIL PROTECTED]:/var/spool/mail/ [EMAIL PROTECTED]'s password: building file list ... As top shows me it has been going 85 mins now buildi

Re: weak checksum question

2002-11-12 Thread Donovan Baarda
On Mon, Nov 11, 2002 at 08:06:40PM -0500, Jeff Abrahamson wrote: > The weak checksum in checksum.c (see snippet below) differs > substantially from the one discussed in Andrew Tridgell's doctoral > thesis on rsync and elsewhere that I've been able to find. I didn't > find discussion of the change i

Re: Speed problems

2002-11-12 Thread uwp
One thing to add: When this problem shows up, it seems rsync tries to get all the CPU time on the sending side: 93-98%. Even ssh can only get between 2 and 5% of CPU time. Even though rsync is not growing in memory, top shows nevertheless that it really gets almost every second of CPU time. What i

Re: Speed problem

2002-11-12 Thread uwp
Ok, now I found something. When the effect of heavy speed drop occurs, it doesn't seem to send much bytes anymore. Block-in rate on the receiving side drops dramatically from 31000/s to 5000/every 4-8 seconds (which results to a rate of nearly 1 MB/s, that's what I got in the end). CPU load goes d

Re: Rsync speed over network.

2002-11-12 Thread jw schultz
On Tue, Nov 12, 2002 at 11:03:34AM +0200, Mozzi wrote: > > Haile the list ;-) > > I am new to this list and this is my first post so grretings to all and > nice to meet you. > > I am setting up rsync here to do a MASSIVE copy from one machine to the > other. > I am moving mail servers so I m

speed differences

2002-11-12 Thread Mozzi
Hi all I just ran these tests on my network and came up with these results. I found it interesting and thought I would share. In all test the same 2.5 Gig logfile was used for transfer (2719312019 Nov 12 11:42 maillog.back) (2.5G Nov 12 11:42 maillog.back) The transfer was done over two Gigabit n

Re: Speed problem

2002-11-12 Thread uwp
On Mon, 11 Nov 2002, I've been saying: > But why does it only happen with rsync ? Ok, the last tests with rsync/rsh have shown the following: (all on the receiving side) CPU: 100% Load: 2.5 blocks in: 38000/s even though nothing get written (no statistics) when it starts to write, it goes from 1

Re: Speed problem

2002-11-12 Thread jw schultz
On Tue, Nov 12, 2002 at 07:27:12AM +0100, [EMAIL PROTECTED] wrote: > On Mon, 11 Nov 2002, jw schultz wrote: > > > What is the CPU load of rsync on the receiver? That is > > important. > > I'll check that. > > >> The disks have an upper limit of 52 MB/s (ext2) respectively > >> 45 MB/s (ext3). I

Rsync speed over network.

2002-11-12 Thread Mozzi
Haile the list ;-) I am new to this list and this is my first post so grretings to all and nice to meet you. I am setting up rsync here to do a MASSIVE copy from one machine to the other. I am moving mail servers so I must copy /var/spool/mail/ over to the other machine. I understand and hav