X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Matthias Meyer Subject: Re: RSync random failures Date: Mon, 01 Dec 2008 23:53:20 +0100 Lines: 42 Message-ID: References: <99158 DOT 97760 DOT qm AT web56605 DOT mail DOT re3 DOT yahoo DOT com> Reply-To: Matthias DOT Meyer AT gmx DOT li Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.10.9 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Allan Schrum wrote: >>In the event log the following message was found: > >>rsyncd: PID 1800: rsync error: error in file IO (code 11) at >>/home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/clientserver.c(985) >>[receiver=3.0.4]. > > I downloaded the source, rebuilt and I am running under the debugger. The > line indicated above is where RSync discovers that the PID file already > exists. While that specific problem is solved by deleting the PID file, > the problem is that the PID file should never exist after RSync exits. > > There is some condition that leaves the PID file when RSync shuts down (as > a service under Windows XP) normally. This problem did not exist in the > previous version (2.6.9-2). > > I have tried hibernation, stand-by, shutdown & restart, network > disconnections, various signals passed, etc., and nothing reliably causes > the problem to manifest itself. But any of these methods has caused the > problem. It seems to happen more frequently during shutdown & restart than > any other method. > > Any ideas on how to debug? Anyone else have this problem? > > Thanks, > > -Allan Hi Allan, I did not use a PID file. Because that my rsync did not have a problem with that. Maybee you did not use a PID file? Because of your hibernation/stand-by tests. Did you know if it is possible to disable hibernation/stand-by during rsync is running? br Matthias -- Don't panic -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/