From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 27596 invoked from network); 27 Nov 1998 22:23:44 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 27 Nov 1998 22:23:44 -0000 Received: from blinky.bfr.co.il (hjstein@morannon.bfr.co.il [192.116.142.129]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id RAA17861 for ; Fri, 27 Nov 1998 17:22:48 -0500 Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id AAA17160; Sat, 28 Nov 1998 00:22:36 +0200 To: axp-list@redhat.com Subject: Re: rsync crashes anyone? References: <199811271402.PAA23023@noc.spin.it> CC: hjstein@bfr.co.il From: hjstein@bfr.co.il (Harvey J. Stein) Date: 28 Nov 1998 00:22:36 +0200 In-Reply-To: furio ercolessi's message of "Fri, 27 Nov 1998 15:02:52 MET" Message-ID: X-Mailer: Gnus v5.6.4/Emacs 19.34 furio ercolessi writes: > > > > > Tonight I had a horrible machine crash during a local disk > > > backup using rsync. > > > > The fact that the system crashed while rsync was running (& presumably > > writing substantial system changes) would account for the massive > > filesystem corruption. > > > > The fact that the system crashed at all is probably a kernel bug or a > > hardware problem. There are things which can crash the system (such > > as using up all of memory) which maybe should be considered a lack of > > robustness and not a kernel bug. But in your case, if rsync had a bug > > & ran amok, sucking up all of memory, then this probably would have > > pushed the disk cache onto the disk, thus minimizing file system > > corruption. On the other hand, if rsync was running as root (which I > > assume you were probably doing), it could have started writing all > > over the disk, causing the crash. > > > > So, I'd give you a definite maybe on the rsync bug... :). > > The answer from the rsync author is that it is probably a kernel > bug. I am not sure I will pursue this, as it happens on a > production machine and our support starts getting calls > a few milliseconds after any stop. > Now I will probably go back to good old rdist for a while > and this should rule out h/w problems (which I do not think > to have). > > http://samba.anu.edu.au/cgi-bin/rsync/incoming?id=1388;user=guest > contains the whole exchange with the rsync people. > > Yes, rsync was running as root, updating 62000+ files in 1.6GB. > System is LX533, 256MB RAM, 512MB swap, lightly loaded. You might want to ask them for load estimates (memory + cpu) expected for such usage. I think rsync can be a memory hog in certain situations (such as syncing a large number of files), which could cause alpha problems. I've also seen alpha problems when memory usage is heavy - programs running regularly that suck up most of memory, or programs that write tons & tons really fast, causing the write cache to fill up. My guess is that this causes some sort of memory fragmentation from which the system sometimes doesn't recover. -- Harvey J. Stein BFM Financial Research hjstein@bfr.co.il