- 论坛徽章:
- 0
|
红帽子9.0操作系统下做Squid代理上网,运行10天后netstat -s 的输出:
21538 invalid SYN cookies received
47 resets received for embryonic SYN_RECV sockets
798 packets pruned from receive queue because of socket buffer overrun ???
4 ICMP packets dropped because they were out-of-window
4 ICMP packets dropped because socket was locked
ArpFilter: 0
1201304 TCP sockets finished time wait in fast timer
3510 packets rejects in established connections because of timestamp
2818049 delayed acks sent
2760 delayed acks further delayed because of locked socket
Quick ack mode was activated 989192 times
106035 times the listen queue of a socket overflowed ???
106035 SYNs to LISTEN sockets ignored ???
它们的值还在上涨,如何才能解决呢?
net.ipv4.tcp_rmem = 8192 174760 8192000
net.ipv4.tcp_wmem = 8192 65536 4096000
net.ipv4.tcp_mem = 10240000 20480000 65536000
系统的内存为300M,squid用掉一半。需要调高net.ipv4.tcp_mem的值么? |
|