delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/09/04/12:46:29

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 90DFE3858422
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=SystematicSw.ab.ca
Authentication-Results: sourceware.org;
spf=none smtp.mailfrom=systematicsw.ab.ca
X-Authority-Analysis: v=2.4 cv=SdyUytdu c=1 sm=1 tr=0 ts=6133a2bd
a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17
a=IkcTkHD0fZMA:10 a=uYT-Tk0qkVT609LjNaIA:9 a=QEXdDO2ut3YA:10
To: cygwin AT cygwin DOT com
References: <789f056a-f164-d71d-1dc9-230f5a41846d AT cornell DOT edu>
<46906957-5850-4D7E-8D5A-EFF3C4068C0D AT house DOT org>
<f5f70ca3-0ea2-180d-87ef-deae5929f013 AT cornell DOT edu>
<EE8CC346-CB87-459C-9CE6-5CB2EFBA63EA 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>
<FFA666F7-7531-46D4-8A61-ED3D7F3FA210 AT house DOT org>
<YTJ9wwbHqeoGxZMP AT calimero DOT vinschen DOT de>
<703C9847-7BD9-4D93-9A85-FD967423C24D AT house DOT org>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Organization: Systematic Software
Subject: Re: cygrunsrv + sshd + rsync = 20 times too slow -- throttled?
Message-ID: <9863275d-ced3-d7e4-5a14-ba7037c39b40@SystematicSw.ab.ca>
Date: Sat, 4 Sep 2021 10:45:48 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <703C9847-7BD9-4D93-9A85-FD967423C24D@house.org>
X-CMAE-Envelope: MS4xfFLs6lNZX7PXpcGp3BkrvAi3VEytnKtBXFaTBwTKxVUzmoesGuRCxxiFgw/BEpSCODcAmczBNk+pl04cxIjSm0ZBIk5F3pYIRvYF4lSRgLDT/oIAfZ91
yyOLCpcv2bdvwt7g65ndwBvrJGlmCjMSyYw/Dz9vnbal9laMCEfK+/DgmTcVwBF/UNuUYczvHUjbbK4wdYMa6/0o//3SGi2xzwc=
X-Spam-Status: No, score=-1161.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, LIKELY_SPAM_BODY, NICE_REPLY_A,
RCVD_IN_BARRACUDACENTRAL, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,
SPF_NONE, TXREP autolearn=no 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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On 2021-09-03 14:59, Chris Roehrig wrote:
> On Fri Sep 3 2021, at 12:55 PM, Corinna Vinschen wrote:
>> 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.

If you are building packages in the same way as scallywag with:

	$ cygport PKG.cygport download all check

then to install all binary packages for dogfooding:

$ for tar in PKG-VER-1.ARCH/dist/PKG/**/*PKG*-VER.tar.*z*
   do
	tar -x -C / -f $tar	# * -C / installs usr/... under /usr/
   done

for example, I just did:

$ for tar in \
	dash-0.5.11.5-1.x86_64/dist/dash/**/*dash*-0.5.11.5-1.tar.*z*
   do
	tar -x -C / -f $tar
   done


-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019