SFTP server periodically stalls

Darren Tucker dtucker at dtucker.net
Fri May 27 11:15:20 AEST 2022

On Fri, 27 May 2022 at 06:40, Terra Frost <terrafrost at gmail.com> wrote:
> Overall it kinda feels to me like that the sftp subsystem just isn't setup
> correctly.

If it wasn't set up correctly I'd expect it to not work at all.

> Could that be the source of some of the problems? Where else should I be
> looking?

If you can catch it when it's in the stalled state, I'd check the
netstat entry corresponding to the sshd to see if there's anything in
the "SendQ" (which would indicate a problem with the network) and
strace the sshd and sftp-server processes to see what if anything
they're waiting on.

The "on the hour" nature of it makes me suspicious, though.  Do you do
anything like roll the syslogs on the hour?

Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

More information about the openssh-unix-dev mailing list