bonjour,
Voilà, j'ai un serveur Linux qui subit pas mal de trafique réseau :
Code :
1 2 3 4 5 6 7 8 9
| $ ifconfig eth0
eth0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
inet addr:XXX.XXX.XXX.XXX Bcast:XXX.XXX.XXX.XXX Mask:XXX.XXX.XXX.XXX
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13683955139 errors:0 dropped:0 overruns:0 frame:0
TX packets:11854750016 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7600793963483 (6.9 TiB) TX bytes:6400061348086 (5.8 TiB)
Interrupt:169 Memory:da000000-da012100 |
Vu le volume, pensez-vous que je devrais augmenter la valeur de
txqueuelen ? Si oui, combien et pourquoi ?
D'autres infos ci-dessous, si vous avez des commentaires :
Code :
1 2
| $ uname -a
Linux XXX 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:56:44 EST 2007 x86_64 x86_64 x86_64 GNU/Linux |
Code :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
| $ netstat -s
Ip:
2498362757 total packets received
6787262 with invalid addresses
0 forwarded
0 incoming packets discarded
2491464007 incoming packets delivered
435148847 requests sent out
15399 outgoing packets dropped
141509 reassemblies required
30141 packets reassembled ok
1168 fragments received ok
Icmp:
691366 ICMP messages received
43 input ICMP message failed.
ICMP input histogram:
destination unreachable: 9573
timeout in transit: 175
echo requests: 566723
echo replies: 114879
576799 ICMP messages sent
0 ICMP messages failed
ICMP output histogram:
destination unreachable: 10076
echo replies: 566723
Tcp:
6272616 active connections openings
61223940 passive connection openings
227 failed connection attempts
2233492 connection resets received
451 connections established
4239525071 segments received
407305742 segments send out
2690059 segments retransmited
4 bad segments received.
52848599 resets sent
Udp:
2386824307 packets received
9779 packets to unknown port received.
104547 packet receive errors
24505566 packets sent
TcpExt:
46786 invalid SYN cookies received
12783 resets received for embryonic SYN_RECV sockets
1285 packets pruned from receive queue because of socket buffer overrun
6 packets pruned from receive queue
8 ICMP packets dropped because they were out-of-window
ArpFilter: 0
1312334 TCP sockets finished time wait in fast timer
8722 time wait sockets recycled by time stamp
26 packets rejects in established connections because of timestamp
97809677 delayed acks sent
364474 delayed acks further delayed because of locked socket
Quick ack mode was activated 1445178 times
8323 times the listen queue of a socket overflowed
8323 SYNs to LISTEN sockets ignored
2538129274 packets directly queued to recvmsg prequeue.
1289347629 packets directly received from backlog
3441308947 packets directly received from prequeue
200314262 packets header predicted
972191526 packets header predicted and directly queued to user
TCPPureAcks: 305212452
TCPHPAcks: -107598054
TCPRenoRecovery: 229108
TCPSackRecovery: 144658
TCPSACKReneging: 0
TCPFACKReorder: 1845
TCPSACKReorder: 311
TCPRenoReorder: 13
TCPTSReorder: 12
TCPFullUndo: 7
TCPPartialUndo: 144
TCPDSACKUndo: 35
TCPLossUndo: 108799
TCPLoss: 111159
TCPLostRetransmit: 29
TCPRenoFailures: 4292
TCPSackFailures: 22756
TCPLossFailures: 736
TCPFastRetrans: 900177
TCPForwardRetrans: 33076
TCPSlowStartRetrans: 244716
TCPTimeouts: 1393097
TCPRenoRecoveryFail: 20579
TCPSackRecoveryFail: 59804
TCPSchedulerFailed: 12213
TCPRcvCollapsed: 67871
TCPDSACKOldSent: 1446949
TCPDSACKOfoSent: 650
TCPDSACKRecv: 50805
TCPDSACKOfoRecv: 89
TCPAbortOnSyn: 0
TCPAbortOnData: 4431687
TCPAbortOnClose: 8062
TCPAbortOnMemory: 0
TCPAbortOnTimeout: 218
TCPAbortOnLinger: 0
TCPAbortFailed: 0
TCPMemoryPressures: 0 |
Merci d'avance
WS