X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_53,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Mark Geisert Subject: Re: rsync hanging Date: Mon, 4 May 2009 05:43:46 +0000 (UTC) Lines: 25 Message-ID: References: <5c01594c0905031513o477a6f81m735843a158335f4d AT mail DOT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) 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 Dat Head writes: > rsync keeps hanging on me - never gets off the ground (doesn't print > the ("creating file list" message) - strace shows it hangs here: [...] When debugging, it's usually better to start at a high level rather than jumping into the guts of things, unless you could tell us all the high- and middle-level stuff you've tried already. See http://cygwin.com/problems.html for info on what kind of info you should supply to get you good help. Starting with 'cygcheck -svr' output **as an attachment** on your next email. If your rsync is using ssh (I don't know if that's assumed or not) then does ssh work between the machines you're rsync'ing between? > netstat -an is showing a lot of these after several ctrl-c aborts > of these hung rsyncs - not sure if that is where they came from or not: > > TCP 127.0.0.1:1140 127.0.0.1:1141 ESTABLISHED 'netstat -ano' will add a column to that output showing the Windows pid of the process associated with each connection. Use that and Cygwin's 'ps -a' to figure out which Cygwin process is involved, if any. I realize this is all pretty generic help. If you can supply more details perhaps somebody can help better. ..mark -- 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/