Re: Unexpected timeout in rsync - SOLVED
On Tuesday 13 Jan 2004 18:50, John Hunt wrote: Hi I am having trouble with intermittent timeouts when backing up a largish set of files from /usr using rsync. Approx 125,000 files, 2GB. Backup is to same machine, from a partition on hda to one on hdb. I am using ribs 2.1 (slightly modified to ignore rsync error 23), run with nice -n 5 via cron. (for ribs visit http://rustyparts.com/phpBB/viewforum.php?f=9 ) (snip) I am fairly confident I have found the cause. It was my fault, not rsync's :-( I run gimps (Mersenne prime search) in the background at lowest priority. Except that during a system upgrade last month I made an error with the gimps startup (in rc.local) with result that it was running at priority higher than my cron jobs. Compounded by me allowing gimps to use a large fraction of physical memory overnight if it wants to - though whether it actually does is unclear. I had forgotten that the cron rsync jobs also run overnight. rsync was almost certainly reporting a genuine timeout caused by it being starved of CPU time and possibly memory. I run the large rsync backup only once a week, so too soon to be sure the problem is resolved. However this week's backup ran ok via cron for the first time so looks promising. -- John Hunt Stokesley, N Yorks, UK URL: http://www.yoredale.uklinux.net/ -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Unexpected timeout in rsync
On Tuesday 13 Jan 2004 22:15, jw schultz wrote: On Tue, Jan 13, 2004 at 06:50:28PM +, John Hunt wrote: (snip) I've just run this from the command line (at default priority) and it took only 7 minutes to complete. Increasing the timeout from 180 (ribs default) to I assume you mean fail. No, it succeeded on that occasion. Sometimes succeeds when run via cron too. -- John Hunt Stokesley, N Yorks, UK URL: http://www.yoredale.uklinux.net/ -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Unexpected timeout in rsync
On Tuesday 13 Jan 2004 22:15, jw schultz wrote: You might want to fsck the filesystem. Both partitions check out ok (e2fsck -fcv) -- John Hunt Stokesley, N Yorks, UK URL: http://www.yoredale.uklinux.net/ -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Does rsync/cygwin hanging problem be solved?
On Monday 29 Dec 2003 3:52 am, Zhang, Zhenhua wrote: I am new user of rsync. I notice rsync will hang under cygwin when transfering files occasionally, then I see the mail archieve discussing this problem at http://www.mail-archive.com/[EMAIL PROTECTED]/msg08726.html Does this bugs has been fixed? Anyone can give me an answer? thanks. Best Regards There is a version at http://itefix.no/cwrsync/ that does work. (The fix is in the cygwin1.dll in this package, not in rsync which afair is standard 2.5.7 version.) -- John Hunt Stokesley, N Yorks, UK e-mail: [EMAIL PROTECTED] URL: http://www.yoredale.uklinux.net/ -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Bug on cygwin? (rsync 2.5.7v26, problem?)
On Monday 22 Dec 2003 6:27 pm, Linda W wrote: On Saturday 20 Dec 2003 13:18, Douglas Beethe wrote: rsync -a xyz //somehost/abc # Source: WinXP, Target: Win2K I noticed the snippet in the above post using the // notation. Is that notation supposed to work? (snip) -linda I use the //servername/sharename/filename notation in rsync/cygwin on Windows 2000. It works. -- --- Capitalism: The rewarding of software companies for producing software of the least quality the consumer will buy. That is true of all products, not just software. ...John -- John Hunt Stokesley, N Yorks, UK e-mail: [EMAIL PROTECTED] URL: http://www.yoredale.uklinux.net/ -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: cwRsync 2.5.7
Tev On Sunday 14 Dec 2003 11:36, Tevfik Karaglle wrote: I tried two snapshots from http://cygwin.com/snapshots : 20031214 and 20031206. The first one (14.dec) hangs all the time. The second one (06.dec) doesn't hang at all according to my tests!! I released an updated cwRsync package(1.0.3a) with the latter snapshot. It can be downloaded from http://itefix.no/cwrsync/cwRsync_1.0.3a_Installer.zip. It is definitely worth to test !! Yes, it does work for me too (cwRsync 1.1.0). Many thanks. ( I used the cygwin1.dll and rsync.exe from your package to replace the ones in my existing cygwin 1.5.5 installation.) ...John -- John Hunt Stokesley, N Yorks, UK e-mail: [EMAIL PROTECTED] URL: http://www.yoredale.uklinux.net/ -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Bug on cygwin?
On Saturday 20 Dec 2003 13:18, Douglas Beethe wrote: When using the cygwin version of rsync for archive ops on a Windows subnetwork in local mode as follows: rsync -a xyz //somehost/abc # Source: WinXP, Target: Win2K the correct files seem to be copied to the target machine, but the command never terminates within the cygwin bash shell. It hangs indefinitely, though it does not appear to continue using CPU or memory resources. I have to kill the shell window to terminate the operation. Anyone else seeing this? Yes, a well known problem. See for example thread entitled cwRsync 2.5.7 dated 2003-12-10. Tevfik Karagülle (see aforementioned thread) has released a fixed version - I have not yet tried it but hope to do so in the next day or two. I have reverted to rsync 2.5.5 that has always worked reliably for me in cygwin, but from this list I understand that some people have problems with that version too. ...John -- John Hunt Stokesley, N Yorks, UK e-mail: [EMAIL PROTECTED] URL: http://www.yoredale.uklinux.net/ -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
cwRsync 2.5.7
Tevfik On Tuesday 09 Dec 2003 18:13, Tevfik Karaglle wrote: I would also like to inform that I updated my cwRsync package with the latest rsync binary (2.5.7). http://itefix.no/cwrsync I have tried your rsync 2.5.7 in cygwin under Windows 2000, synchronising to a windows share on an unknown (probably Windows) file server. Sorry to report that it hangs at the end of transfer, as did (cygwin packaged) 2.5.6. I have reverted again to 2.5.5 (from an old cygwin installation) that works well for me. (I installed cwRsync then copied rsync.exe to cygwin\bin, replacing the existing rsync.exe. Should I have done anything else too?) Regards John -- John Hunt Stokesley, N Yorks, UK e-mail: [EMAIL PROTECTED] URL: http://www.yoredale.uklinux.net/ -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: cwRsync 2.5.7
On Wednesday 10 Dec 2003 17:27, John Hunt wrote: Tevfik On Tuesday 09 Dec 2003 18:13, Tevfik Karaglle wrote: I would also like to inform that I updated my cwRsync package with the latest rsync binary (2.5.7). http://itefix.no/cwrsync I have tried your rsync 2.5.7 in cygwin under Windows 2000, synchronising to a windows share on an unknown (probably Windows) file server. Sorry to report that it hangs at the end of transfer, as did (cygwin packaged) 2.5.6. I have reverted again to 2.5.5 (from an old cygwin installation) that works well for me. Sorry, I realise now that I have confused two conversation threads. One relating to patches to 2.5.6 for security, and another relating to patches to fix the hang problem. Wishful thinking on my part that 2.5.7 might have fixed the latter! ...John -- John Hunt Stokesley, N Yorks, UK e-mail: [EMAIL PROTECTED] URL: http://www.yoredale.uklinux.net/ -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: 2.5.5
On Thursday 20 Nov 2003 18:15, Pease, Donald L (Sabre) wrote: I have been having the same problem as many that if files are to many rsync locks up and goes no further. In the latest list an admin said he was not having the issue with 2.5.5. Can you tell me where I can get the source for this so I can try it for my systems. Thanks I don't know about the source. For the rsync executable, I simply manually installed the 2.5.5 rsync.exe from the installation files for the previous cygwin version that I still had on disk. -- John Hunt Stokesley, N Yorks, UK e-mail: [EMAIL PROTECTED] URL: http://www.yoredale.uklinux.net/ -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync / cygwin hanging problem
Have you tried rsync 2.5.5 ? I have reverted to that because 2.5.6 was hanging every time (see my posting on 2003-11-17). I used 2.5.5 for several months without problems, before upgrading cygwin recently. Unlike you I am NOT using ssh. I am using rsync (at work that is) as part of a script to automate part of the process of producing a distribution package for an MS$ VB application that we sell. I got really tired of spending half an hour moving files around by hand after running the VB Package Deployment Wizard, and making standard edits to some of the packaging files, so I automated it using cygwin, bash and perl. If any developer is working on this problem, I would be happy to test any new rsync executable for them, to establish if it works in my environment. ...John -- John Hunt Stokesley, N Yorks, UK e-mail: [EMAIL PROTECTED] URL: http://www.yoredale.uklinux.net/ -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
rsync 2.5.6 hanging in cygwin on Windows shares
rsync 2.5.6 is hanging in cygwin, at the end when it should print a summary of bytes sent etc and exit. It has successfully copied all the files before hanging. It does this every time when copying to or from a Windows share. (It sometimes hangs when copying from one local drive location to another, but I have not tested this as thoroughly.) The Windows shares are almost certainly on Windows machines, probably win 2000, but are not within my control (managed by an out-sourced IT dept). I am running cygwin on a Windows 2000 PC. I have worked around this by reverting to rsync 2.5.5 that has always worked perfectly for me. The suggested rsync.exe replacement at http://sourceforge.net/projects/backuppc/ also hangs. (If you need more details, eg exact rsync command I am using, please ask.) Apologies if this problem is already known about; I searched the archives but found nothing that quite matches what I have observed. -- John Hunt Stokesley, N Yorks, UK e-mail: [EMAIL PROTECTED] URL: http://www.yoredale.uklinux.net/ -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html