D
D
DVoropaev2017-08-28 12:54:03
SSH
DVoropaev, 2017-08-28 12:54:03

Why is it slow to work through ssh?

I connect to the server via ssh. Everything works fine. but periodically there comes such a period that the server reacts to commands for a long time (from instantly to several seconds). At the same time, the ping to it is 0.8-1.5 milliseconds, there are no losses. How to understand what is the problem?
ps the problem is clearly not in dns. There are other servers nearby, the connection is good with them

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
athacker, 2017-08-29
@athacker

Set up constant load monitoring on the server. Perhaps some short periodic loads. Or really - the disk tupit / pours when accessing certain areas.
In addition, the fact that the ping is fast does not mean that there are no problems in the channel. Ping and SSH work slightly on different stack protocols. Somehow they investigated an indescribable case when SSH was dumb as hell. However, everything else was normal. The investigation showed that if you connect to the server via L2TP and go to SSH through the tunnel, then there were no brakes. L2TP works over UDP. The moral was this - the provider had problems on the channel when processing TCP traffic, while UDP and ICMP did not experience any problems.

X
xp3, 2017-08-28
@xp3

mb the server is loaded? met similar when load_average > 2 per core

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question