public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Doug Wyatt" <dwyatt@sunflower.com>
To: Morten Eriksen <mortene@sim.no>, cygwin@sourceware.cygnus.com
Subject: Re: Problem with tar
Date: Tue, 30 Nov 1999 23:39:00 -0000	[thread overview]
Message-ID: <199911262122.PAA26244@dagda.sunflower.com> (raw)
Message-ID: <19991130233900.9KEkKKy2R2im9vpc_1Ab3frQEanlELVWGCTWn9Sq_fE@z> (raw)
In-Reply-To: <Pine.LNX.3.96.991126113733.14329C-200000@trh.sim.no>

Hi,

I noticed that your cygcheck indicates that there are 3 copies of
cygwin1.dll installed (d:\bin,d:\usr\local\bin,c:\winnt) - the one in
c:\winnt is a different version than the other two.  You might want
to try reducing those to only one.  And, you might want to try a
newer version.

If you've got the disk space, you might try  uncompressed tar and
then gzip'ing the resulting archive.  Also, you might try redirecting
stdout and stderr to a file on the remote system to reduce the
possibility that a bad connection over ssh might be hanging the
process.

Is it possible that a remote batch job is working in the /data area
at the same time you're trying to do the backup?

Don't know if any of this will help.

Regards,
Doug Wyatt


> Hi,
> 
> I have a problem with Cygwin tar which I have a hard time figuring out how
> to solve, and I'm hoping someone here can give me a few hints.
> 
> Background: I'm partly responsible for administrating 30 remote WinNT
> servers (don't ask..), and to fetch data from these servers to include in
> a local site backup I use a combination of ssh, tar and scp (sshd has been
> installed on the WinNT servers.) 
> 
> Every night, for each of the servers, I run approximately this sequence of
> commands:
> 
> ssh -x -l administrator $ntserver "/bin/tar cvzf /tmp/data.tgz /data"
> scp administrator@$ntserver:/tmp/data.tgz data-$ntserver.tgz
> 
> Works like a charm, except that tar hangs at what seems like random places
> at what seems like random times at what seems like random sites. :^(
> Out of the 30 servers, 2-3 on average have this problem every night, and I
> have to manually kill the ssh process when I come to work in the morning.
> I can't see no patterns on with which sites gets the problem or the data
> which tar was trying to read when the hang occurred. Manually running tar
> again on the same data doesn't hang again in a reproducible way.
> 
> Are there, or have there been, any know problems with tar or the
> cygwin.dll in Cygwin which could cause this? If not, does anyone have any
> ideas on how I could debug this problem? Any help would be greatly
> appreciated.
> 
> I have attached the output from "cygcheck.exe -s -r -v" in case that is of
> any help. "/bin/tar --version" says "tar (GNU tar) 1.12". 
> 
> 
> Regards,
> Morten Eriksen
> 



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

  parent reply	other threads:[~1999-11-30 23:39 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-26  3:52 Morten Eriksen
1999-11-26  6:20 ` Donald E. Hammond
1999-11-30 23:39   ` Donald E. Hammond
1999-11-26 13:23 ` Doug Wyatt [this message]
1999-11-30 23:39   ` Doug Wyatt
1999-12-08  2:29   ` Morten Eriksen
1999-12-31 13:28     ` Morten Eriksen
1999-11-30 23:39 ` Morten Eriksen
  -- strict thread matches above, loose matches on Subject: below --
2001-06-14 12:32 problem " Stephen Hansen
2001-06-15  2:19 ` Corinna Vinschen
1999-11-26 19:41 Problem " Earnie Boyd
1999-11-30 23:39 ` Earnie Boyd
1999-11-26  7:00 N8TM
1999-11-30 23:39 ` N8TM
1999-08-26 10:12 problem " Earnie Boyd
1999-08-31 23:49 ` Earnie Boyd
1999-08-26  8:47 Sean Mitchell
1999-08-31 23:49 ` Sean Mitchell
1999-08-26  8:41 Terrell Mitchell
1999-08-31 23:49 ` Terrell Mitchell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199911262122.PAA26244@dagda.sunflower.com \
    --to=dwyatt@sunflower.com \
    --cc=cygwin@sourceware.cygnus.com \
    --cc=mortene@sim.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).