X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BD183384604F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=house.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=house.org X-Virus-Scanned: Debian amavisd-new at emo02-pco.easydns.vpn Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: cygrunsrv + sshd + rsync = 20 times too slow -- throttled? From: Chris Roehrig In-Reply-To: Date: Fri, 3 Sep 2021 13:59:25 -0700 Message-Id: <703C9847-7BD9-4D93-9A85-FD967423C24D@house.org> References: <789f056a-f164-d71d-1dc9-230f5a41846d AT cornell DOT edu> <46906957-5850-4D7E-8D5A-EFF3C4068C0D AT house DOT org> <58bdc0c3-d843-343f-d88e-c8a44ec33a15 AT cornell DOT edu> <3DB951FB-FC3F-4EE8-B5E0-6137B305B873 AT house DOT org> <72F25EBC-6801-4C96-8F6C-48F09B25B712 AT house DOT org> <6105153B-D145-449D-97FE-D6F17BEB2032 AT house DOT org> <6beb1156-931e-0380-ee60-2ca519f49a2f AT cornell DOT edu> To: cygwin AT cygwin DOT com X-Mailer: Apple Mail (2.1499) X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Fri Sep 3 2021, at 12:55 PM, Corinna Vinschen wrote: > [resent, this time with the ML in To] > > On Sep 2 12:03, Chris Roehrig wrote: >> >> On Thu Sep 2 2021, at 8:25 AM, Ken Brown via Cygwin wrote: >>> On 9/1/2021 5:11 PM, Chris Roehrig wrote: >>>> I rebuild procps 3.3.17.29-2480 from source and it appears to work, so maybe the stock procps package is incompatible with the current master branch. >>> >>> Maybe, but it could also be a Cygwin bug. I'll do a bisection of the Cygwin sources to see if I can track it down. >> >> I did some more tests and it still doesn't completely work: >> procps -ef # works >> procps -eo user,stime,tty,time,args # works >> procps -eo pid # fails with that same mmap() error >> >> I also rebuilt it all using cygport and it gives the same error (pscommand.exe with no args). > > Since you're building Cygwin by yourself anyway, can you do me a favor > and try this: > > $ git revert 2f05de4dbf9c > > and see if that fixes your issue? I got procps working I think (both with and without the revert). I think the problem might just be that I wasn't also copying the rebuilt /bin/cygprocps-8.dll to match the /bin/procps.exe. There's some tricky renaming that make install does, so I did 'make install DESTDIR=/tmp/install' and copied just those two files. I'm guessing it would all work on a properly fully installed build. -- Chris -- 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