Network Lag with Bonding
Greetings:
I am setting up a new mail relay and recently installed bonding to deal with redundancy issues. This is the 6th or 7th server I've done and all the others have been fine. However, this server is having network lag issues.
The box is not yet running any apps and is 99% (or >) idle. When connecting to the box via telnet or ssh, the initial conenction is fine, but over the course of a few minutes, as you enter commands, keystrokes get slower and slower, up to a minute between when the key is pressed and when the box reacts. Finally, the connection is dropped, but can be quickly re-established.
Initially, I thought it might be a com link/parity issue, but seeing as how it only occurs on this server, I don't think that's the issue. Next, I thought it might be somethign to do with arp tables or DNS (the IP was used for another server previously), but the arp cashe has been cleared several times, the box and the switch it is conencted to have been rebooted, and DNS has been flushed.
I'm baffled. The physical link is fine. The problem is non-existant when bonding is not enabled, and the cat-5 cable has been swapped several times.
Here's the config:
ifcfg-bond0
--------------
DEVICE=bond0
BOOTPROTO=none
BROADCAST=xxx.xxx.xxx.xxx
IPADDR=xxx.xxx.xxx.xxx
NETMASK=255.255.255.224
NETWORK=xxx.xxx.xxx.xxx
GATEWAY=xxx.xxx.xxx.xxx
ONBOOT=yes
USERCTL=no
ifcfg-eth0
------------
DEVICE=eth0
BOOTPROTO=none
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
ifcfg-eth1
------------
DEVICE=eth1
BOOTPROTO=none
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
modules.conf
-----------------
alias eth0 tg3
alias eth1 tg3
alias scsi_hostadapter cciss
alias usb-controller usb-ohci
alias bond0 bonding
probeall bond0 eth0 eth1 bonding
options bond0 mode=1 miimon=100
ifconfig
---------
bond0 Link encap:Ethernet HWaddr 00:0E:7F:EF:BE:3F
inet addr:xxx.xxx.xxx.xxx Bcast:xxx.xxx.xxx.xxx Mask:255.255.255.224
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:22675 errors:0 dropped:0 overruns:0 frame:0
TX packets:4532 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1472737 (1.4 Mb) TX bytes:300830 (293.7 Kb)
eth0 Link encap:Ethernet HWaddr 00:0E:7F:EF:BE:3F
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:11406 errors:0 dropped:0 overruns:0 frame:0
TX packets:2266 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:747355 (729.8 Kb) TX bytes:151431 (147.8 Kb)
Interrupt:29
eth1 Link encap:Ethernet HWaddr 00:0E:7F:EF:BE:3F
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:11269 errors:0 dropped:0 overruns:0 frame:0
TX packets:2266 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:725382 (708.3 Kb) TX bytes:149399 (145.8 Kb)
Interrupt:31
|