Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm periodically establishing short SSH connections to one of the local servers. I observe intermittent timeouts. After investigating the issue, I found that SSH timeouts happen when there is a lot of IO write activity to the server's RAID array. What happens is that SSH connection "hangs up" for the duration of that write burst.

The server has plenty of available user memory (18 out of 64GB), swap space, and its CPUs are definitely not overloaded.

Is it:

  1. a normal behaviour

  2. indicates some RAID hardware problem

  3. something is not configured properly

share|improve this question
    
Could you attach your sshd config? –  Sergei Lomakov Jun 20 '12 at 4:50
    
It's a default sshd_config. Here you go: pastebin.com/jNhssqu3 –  OutputLogic Jun 20 '12 at 17:37

1 Answer 1

I do not claim to be an expert, but I would imagine that this is "normal behavior" if read/write to the RAID array is configured to be synchronous, in which case reads/writes kind of end up becoming blocking events, especially if SSH needs to reference anything on said array as the user tries to log in.

With synchronous behavior, it wouldn't really matter about available ram or "spare" CPU cycles, because everything would be waiting on disk activity.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.