rsync crashing Redhat RHEL3.0 server

Tim Conway conway at us.ibm.com
Wed Sep 1 18:41:45 GMT 2004


Congratulations, you've found a weakness in the ethernet driver.  Check 
up2date, as there may be a kernel update for that.  You could also maybe 
plug in a different type of ethernet card.  The kernel is explaining that 
there's a problem at that level, and your rsync log shows what happens 
when that problem comes up. 
Don't worry about adding memory (or swap), as you're likely to be using 
only a few hundred MB when this happens.

Tim Conway
Unix System Administration
Contractor - IBM Global Services
desk:3032734776
conway at us.ibm.com




We are using rsync to mirror around 10 of our websites from dedicated 
server A to dedicated server B runing RHEL 3.0 and rysnc v2.6.3pre1 in a 
daemon mode. I am using the following crontab script command on dedicated 
server A:

/usr/local/bin/rsync -avz -e "ssh -i 
/home/users/admin/publicKey-for-server-B" /home/serverA/site3 
serverB::home/mirror


Dedicated server B (where the mirroring of websites from server A is done) 

 is sometimes crashing with the following error message from the linux 
kernel:

Aug 29 22:47:02 ns2 kernel: eth0: Memory squeeze,deferring packet.
Aug 29 22:47:23 ns2 kernel: eth0: NULL pointer encountered in Rx ring, 
skipping

The following is the error message from rsync log in dedicated server B:

2004/08/29 22:45:02 [18367] rsync allowed access on module home from 
ns.serverA.co.uk
2004/08/29 22:45:02 [18367] rsync to home/mirror from  ns.serverA.co.uk
2004/08/29 22:45:51 [18367] site3/logs/
2004/08/30 00:58:15 [18367] rsync: connection unexpectedly closed (355347 
bytes received so far) [receiver]
2004/08/30 00:58:15 [18367] rsync: writefd_unbuffered failed to write 84 
bytes: phase "unknown" [generator]: Broken pipe (32)
2004/08/30 00:58:15 [18367] rsync error: error in rsync protocol data 
stream (code 12) at io.c(909)

I've 10 separate crontab rsync scripts for mirroring the 10 websites. I've 

allowed enough time intervalls so that the each crontab rsync process 
finishes before the next one starts. Occasionally, however (about once a 
week) rsync crashes dedicated server B during any one of these 10 crontab 
processes.

I would be very grateful for your help.

regards,
Daniel. 




Daniel Berhane
bmj.com web administrator
The BMJ Publishing Group Limited
BMA House,
Tavistock Square,
London WC1H 9JR

http://bmj.com 
Tel: +44 (0)20 7383 6362 
Fax: +44 (0)20 7383 6997
-- 
To unsubscribe or change options: 
http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html




More information about the rsync mailing list