X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E45C33858407
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=dinwoodie.org
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dinwoodie.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=dinwoodie.org; s=google;
 h=content-transfer-encoding:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:from:to:cc:subject:date
 :message-id:reply-to;
 bh=lsXKdkpPTqPs7JR+vZkFA/iYltyoxGhxorfSSr1CS2k=;
 b=S5iK906M3PPEEMdHwR1LIiV+XeOx+PK20/w678f51c++sZSbkMjI9pedmmKHWx2yMK
 +7slEN1fcdCXNg9TKd94RNTpQ7LbrU78cDzccEjCedPZ3nDFgux7zaO/kOtgHhWHLHNY
 uOr1x7L0Oz+figshOH/+jbIg3f2KGuDJaj3Jw=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=lsXKdkpPTqPs7JR+vZkFA/iYltyoxGhxorfSSr1CS2k=;
 b=pQLnGV6pBzq54ko7reXDaMevhoFir2Tdq0qx9C3gE+mCnXEU2UDYIeZktIrKBGgV9k
 j5Z2MMzc/+hI8K2ToQoI016Y+0Nae4bh3cM5fHUtSJMLWbfdjjExl9pCLX2LMLdQhugB
 oNoM3nunkkxRjmzBIQxYds62AggKVb89QbjH+krcSUVUVc2Tsh9H2eE0EmckFxZcrHo7
 +Qi8UQqC6Abienjh4VxBDzsZGHx3sbcHwwtrFt9I3+hQx7FrLCFom0+FXwLJMcu56yc6
 NFXcbhsCV6AwmLcp+gT9TPtgMokaogbsW15iAyzqyP3mTO9Qrh45rlQy9JJyzoLZ9RzQ
 chig==
X-Gm-Message-State: ACrzQf1ox6wtJESRJvcjHTj22eWfnNE5/VlWfyyTYIQg1dQ0bUxwLnW5
 Rt8CjGlGiJjBv1MOxS/eD98VJcKKK8SStvnTFo+TkqDr1FE=
X-Google-Smtp-Source: AMsMyM6yN7pOwnzNMfvOQoc2jVX6Ec2mP4jJ6nVPtCZp+MkYr5U4FcLiy+fb5/FvsNGen2SYCuw5Qan1Nu6gLn4uVVo=
X-Received: by 2002:a05:6870:8898:b0:137:5188:dab5 with SMTP id
 m24-20020a056870889800b001375188dab5mr1258834oam.272.1665837959980; Sat, 15
 Oct 2022 05:45:59 -0700 (PDT)
MIME-Version: 1.0
References: <CH2PR02MB6024EA2380558D861674C7F8E5229@CH2PR02MB6024.namprd02.prod.outlook.com>
In-Reply-To: <CH2PR02MB6024EA2380558D861674C7F8E5229@CH2PR02MB6024.namprd02.prod.outlook.com>
From: Adam Dinwoodie <adam@dinwoodie.org>
Date: Sat, 15 Oct 2022 13:45:29 +0100
Message-ID: <CA+kUOa=ZmysiwpMwGqLft+VW5-s8CYo8od7MBC85EM8+Lhwvgg@mail.gmail.com>
Subject: Re: Commands are hanging on Windows 2019
To: "Cygwin (cygwin@cygwin.com)" <cygwin@cygwin.com>
X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,
 SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On Wed, 12 Oct 2022 at 16:13, Derek Pagel via Cygwin wrote:
>
> We're seeing a bunch of commands (mv, which, rm) that are hanging or take a long time to complete on Windows 2019. It does not happen consistently but intermittently about once a week. The issue doesn't happen when running the cmd on the cmd line but when the cmd is called from another program. We can't replicate the issue from the command line. Is anyone familiar with this issue?

This sounds like an issue with your PATH containing some directories
(e.g. network shares) that are slow.

If that's not enough to point you in the right direction, can you
provide the information requested at the below link, so we've
something more to go on?

> Problem reports:      https://cygwin.com/problems.html

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
