LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   why the daemon SSH makes PC slow and connection? (https://www.linuxquestions.org/questions/linux-networking-3/why-the-daemon-ssh-makes-pc-slow-and-connection-908341/)

Xeratul 10-15-2011 02:09 PM

why the daemon SSH makes PC slow and connection?
 
Hi,

On the given network, plugged to internet behind a router, there is:
(1) one PC running SSH on port >22
(2) and another PC running.

Visibly, if I stop the SSH daemon of the (1), then all becomes a bit more faster, i.e. Intranet, the PC, and the internet. What it is?

On (1): I do
Code:

/etc/init.d/ssh stop
and it seems to make the difference.

No rootkit is there with the deb rootkit.

Greetings

jefro 10-15-2011 03:23 PM

Command top may provide clues to start.

Xeratul 10-15-2011 03:33 PM

Quote:

Originally Posted by jefro (Post 4499357)
Command top may provide clues to start.

I tried htop and mtr but it did not give a clue what could be going on. SSH is between 0 and 1% of cpu.
I check also the auth.log and it looks normal.

unSpawn 10-15-2011 05:32 PM

Quote:

Originally Posted by Xeratul (Post 4499320)
if I stop the SSH daemon of the (1), then all becomes a bit more faster, i.e. Intranet, the PC, and the internet.

Looking at logs is good but SSH just waits for connections and while it does that it has a negligible impact on performance. To rule out "Internet weather" best back up your observations with technical data like posting before / after output of 0) top (single shot), 1) loading a large file with say curl ('curl -q http://doma.in/file >/dev/null') and 2) tcptraceroute of a few sites.


All times are GMT -5. The time now is 06:51 AM.