Re: scp and ssh 'cat' stalls at 64k bytes

2023-06-24 Thread Chris Roehrig via Cygwin
On 2023-06-24 00:12, Kevin Schnitzius wrote: On Friday, June 23, 2023 at 10:00:02 PM EDT, Chris Roehrig via Cygwin wrote: Thanks.  There must be some issue with my setup.   Very odd that 'pv' works, but 'cat' does not.  ldd shows they use identical libs.   I guess I&

Re: scp and ssh 'cat' stalls at 64k bytes

2023-06-24 Thread Chris Roehrig via Cygwin
On 2023-06-23 22:35, Brian Inglis wrote: On 2023-06-23 20:19, Dan Harkless via Cygwin wrote: Before you resort to trawling through source, did you try a fresh Cygwin install (either to a different directory, or after temporarily moving your current tree)? Sometimes, e.g. if you use the same

Re: scp and ssh 'cat' stalls at 64k bytes

2023-06-23 Thread Chris Roehrig via Cygwin
On 2023-06-23 18:26, Dan Harkless via Cygwin wrote: On 6/23/2023 5:19 PM, Chris Roehrig via Cygwin wrote: No worries; I imagine most people don't run sshd on cygwin. Hmm, I'd generally think the opposite, at least for users coming from more UNIXey / Linuxey backgrounds. It l

Re: scp and ssh 'cat' stalls at 64k bytes

2023-06-23 Thread Chris Roehrig via Cygwin
06-23 16:27, Voris, Ben wrote: I did not and cannot. Sorry. Fwiw, pushing from Cygwin to the remote also worked. -Original Message- From: Chris Roehrig Sent: 23 June 2023 17:23 To: Voris, Ben Subject: Re: scp and ssh 'cat' stalls at 64k bytes Did you execute the scp on the

Re: scp and ssh 'cat' stalls at 64k bytes

2023-06-23 Thread Chris Roehrig via Cygwin
On 2023-06-23 08:28, Brian Inglis wrote: On 2023-06-23 00:26, Chris Roehrig via Cygwin wrote: I've upgraded cygwin recently (from a much older version) and am encountering a new problem on all my Win10/WIn11 machines. With openssh and pv installed on cygwin (3.4.7-1): dd if=/dev/zero

scp and ssh 'cat' stalls at 64k bytes

2023-06-22 Thread Chris Roehrig via Cygwin
I've upgraded cygwin recently (from a much older version) and am encountering a new problem on all my Win10/WIn11 machines. With openssh and pv installed on cygwin (3.4.7-1): dd if=/dev/zero bs=1 count=65536 | ssh localhost 'cat > /dev/null'    # works dd if=/dev/zero bs=1 count=65537 | ssh lo

Re: SSH connection from Linux to Windows by CYGSSHD: port 22

2022-03-31 Thread Chris Roehrig
I recently had to add the following lines to my Cygwin /etc/sshd_config to re-enable RSA in order for my older machines to connect: HostKeyAlgorithms +ssh-rsa PubkeyAcceptedAlgorithms +ssh-rsa -- Chris On 2022-03-31 06:18, Andrey Repin wrote: Greetings, Greco Giovanni! must port 22 on Wind

Re: Help with standalone samba SID-uid mapping

2022-01-17 Thread Chris Roehrig
On Mon Jan 17 2022, at 4:04 AM, Corinna Vinschen wrote: > On Jan 14 11:57, Chris Roehrig wrote: >> On Fri Jan 14 2022, at 2:04 AM, Corinna Vinschen >> wrote: >>> These look like your standard Windows SIDs, so they are your SIDs for >>> users cristina and

Re: Help with standalone samba SID-uid mapping

2022-01-14 Thread Chris Roehrig
On Fri Jan 14 2022, at 2:04 AM, Corinna Vinschen wrote: > On Jan 13 14:39, Chris Roehrig wrote: >> I'm trying to set up samba (standalone) following these instructions: >> https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-samba >> >> but I'm

Help with standalone samba SID-uid mapping

2022-01-13 Thread Chris Roehrig
I'm trying to set up samba (standalone) following these instructions: https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-samba but I'm having no luck getting my samba user/groups to appear correctly using the comment field as described in the document. I'm using samba 4.13.14 on

cat fifo hang [Re: [ANNOUNCEMENT] cygwin 3.3.0-0.2.6c1f49f83fde (TEST)]

2021-10-17 Thread Chris Roehrig
On Sun Oct 17 2021, at 9:19 AM, Ken Brown via Cygwin wrote: > On 10/16/2021 1:42 PM, Chris Roehrig wrote: >> On Mon Sep 27 2021, at 7:26 AM, Ken Brown via Cygwin >> wrote: >>> On 9/26/2021 8:57 PM, Chris Roehrig wrote: >>>> I have installed this (completel

Re: [ANNOUNCEMENT] cygwin 3.3.0-0.2.6c1f49f83fde (TEST)

2021-10-16 Thread Chris Roehrig
On Mon Sep 27 2021, at 7:26 AM, Ken Brown via Cygwin wrote: > On 9/26/2021 8:57 PM, Chris Roehrig wrote: >> I have installed this (completely this time) and have encountered no issues >> with it. I'm getting full gigabit speeds with my rsync transfers. Looks >&

Re: [ANNOUNCEMENT] cygwin 3.3.0-0.2.6c1f49f83fde (TEST)

2021-09-26 Thread Chris Roehrig
I have installed this (completely this time) and have encountered no issues with it. I'm getting full gigabit speeds with my rsync transfers. Looks great! -- Chris On Fri Sep 24 2021, at 6:53 PM, Ken Brown via Cygwin-announce via Cygwin wrote: > The following packages have been uploaded

Re: [ANNOUNCEMENT] cygwin 3.3.0-0.1.9814cfd8f693 (TEST)

2021-09-18 Thread Chris Roehrig
I'm not sure how to try out a test release without risking destabilizing my system, but I re-cloned and rebuilt the master branch and installed just the cygwin1.dll and all looks good to me so far. No issues with any of my script pipes or fifos and I am getting full gigabit speeds with rsync

Re: cygrunsrv + sshd + rsync = 20 times too slow -- throttled?

2021-09-03 Thread Chris Roehrig
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:

Re: cygrunsrv + sshd + rsync = 20 times too slow -- throttled?

2021-09-02 Thread Chris Roehrig
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, b

Re: cygrunsrv + sshd + rsync = 20 times too slow -- throttled?

2021-09-01 Thread Chris Roehrig
ere was an undefined siginfo_t.si_int in ./lib/test_process.c which I just commented-out to get it to build. -- Chris On Tue Aug 31 2021, at 1:23 PM, Chris Roehrig wrote: > I did a 'git pull' of the latest topic/pipe and rebuilt and I now do indeed > get 100MB/s transfer

Re: cygrunsrv + sshd + rsync = 20 times too slow -- throttled?

2021-08-31 Thread Chris Roehrig
I did a 'git pull' of the latest topic/pipe and rebuilt and I now do indeed get 100MB/s transfers using both rsync and scp (without pipe_byte). (It turns out last time I forgot 'make install' -- Doh!) I still get the procps error however. On Tue Aug 31 2021, at 12:53 PM,

Re: cygrunsrv + sshd + rsync = 20 times too slow -- throttled?

2021-08-31 Thread Chris Roehrig
ckage), it appears to be a mmap() failure. I'm wondering if I built/installed cygwin1.dll correctly because I don't get the procps error using the latest stock cygwin1.dll as installed by setup_x86_64. -- Chris On Tue Aug 31 2021, at 12:05 PM, Ken Brown via Cygwin wrote: > On 8

Re: cygrunsrv + sshd + rsync = 20 times too slow -- throttled?

2021-08-30 Thread Chris Roehrig
g the main branch build). I first updated my cygwin normally using setup-x86_64.exe, then built and copied only the cygwin1.dll into /bin from the install/bin directory (quitting all cygwin tasks first). On Sun Aug 29 2021, at 3:24 PM, Ken Brown via Cygwin wrote: > On 8/29/2021 3:24 PM, Chris

Re: cygrunsrv + sshd + rsync = 20 times too slow -- throttled?

2021-08-29 Thread Chris Roehrig
I'd be happy to test it out if you can give me some commands to git it and build it to replace my existing stock Cygwin installation. (Or it is just the cygwin.dll I'd need to replace?) My daily backup scripts use a lot of pipes and named pipes. -- Chris On Sun Aug 29 2021, at 8:57 AM, Ken Br

Re: cygrunsrv + sshd + rsync = 20 times too slow -- throttled?

2021-08-25 Thread Chris Roehrig
revisited?It seems to be affecting pure-UNIX situations (in my case) which is Cygwin's core audience. - Chris On Wed Aug 25 2021, at 11:18 AM, Chris Roehrig wrote: > On Wed Aug 25 2021, at 10:52 AM, Ken Brown via Cygwin > wrote: >> A couple years ago I had an idea for

Re: cygrunsrv + sshd + rsync = 20 times too slow -- throttled?

2021-08-25 Thread Chris Roehrig
CYGWIN environment option to switch the pipe behaviour without requiring changes to the ssh or rsync source code (and without breaking any existing stuff)? - Chris > On 8/25/2021 7:18 AM, Takashi Yano via Cygwin wrote: >> On Tue, 24 Aug 2021 12:49:52 -0700 >> Chris Roehrig wro

Re: cygrunsrv + sshd + rsync = 20 times too slow -- throttled?

2021-08-25 Thread Chris Roehrig
M, Takashi Yano via Cygwin wrote: > On Tue, 24 Aug 2021 12:49:52 -0700 > Chris Roehrig wrote: >> I have a network of Windows, Linux and Mac machines and I use rsync to >> synchronize various directories between them. >> >> I'm trying to figure out why my rsync

Re: cygrunsrv + sshd + rsync = 20 times too slow -- throttled?

2021-08-25 Thread Chris Roehrig
It was set to "Programs".Changing it to "Background services" didn't make a difference. TCPOptimizer can adjust 2 registry entries that I think are related to that Windows Setting: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile] "NetworkT

Re: cygrunsrv + sshd + rsync = 20 times too slow -- throttled?

2021-08-24 Thread Chris Roehrig
ex that limits "non-multimedia" packets to 10 per millisecond which can be disabled by setting: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile] "NetworkThrottlingIndex"=dword: but this made no difference to my tests.

Re: cygrunsrv + sshd + rsync = 20 times too slow -- throttled?

2021-08-24 Thread Chris Roehrig
bigfile.bin $WINHOST:/tmp/ # slow, dropping to 4MB/s I get the same results transferring the other direction (WIN -> LINUX): The Cygwin remote endpoint is always slow. On Tue Aug 24 2021, at 4:43 PM, Mark Geisert wrote: > Chris Roehrig wrote: >> I have a network of Wind

cygrunsrv + sshd + rsync = 20 times too slow -- throttled?

2021-08-24 Thread Chris Roehrig
I have a network of Windows, Linux and Mac machines and I use rsync to synchronize various directories between them. I'm trying to figure out why my rsync transfers are so slow (<4 MB/s) only when the remote endpoint is Cygwin rsync over sshd (with both a Linux or Cygwin rsync client). In all