天天看點

Linux伺服器ftp,telnet,ssh慢

環境      

[[email protected] ~]$ uname -a

Linux INMSC4 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

[[email protected] ~]$ 

本機雙網卡

現象描述      

本來ssh,ftp都正常,某1天,突然慢了。但是登入後操作不慢,很正常。

據百度說與DNS的反向解析有關,此言正确了一半,因為伺服器是突然變慢的。

故,檢查2個網卡,

[[email protected] ~]# route

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

192.168.1.0     *               255.255.255.0   U     1      0        0 eth4

192.168.1.0     *               255.255.255.0   U     1      0        0 eth5

default         192.168.1.1     0.0.0.0         UG    0      0        0 eth4

route指令執行後,最後1行等了很久才出來。

且ping eth4的IP丢包嚴重。

解決      

可能是eth4的網卡壞了,網線虛接,交換機口子故障。。。。。

[[email protected] ~]# ifdown eth4

[[email protected] ~]# route

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

192.168.1.0     *               255.255.255.0   U     1      0        0 eth5

default         192.168.1.1     0.0.0.0         UG    0      0        0 eth5

現在,eth5正常工作,解決。

http://linux.sheup.com/linux/linux3708.htm

http://hi.baidu.com/misaiya2008/item/448de71e922872731009b5dc

http://doc.linuxpk.com/3887.html

繼續閱讀