Messages in this thread | | | From | "Peter Zaitsev" <> | Subject | 2.2.x Network troubles | Date | Thu, 20 Jul 2000 10:45:06 +0400 |
| |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=koi8-r" http-equiv=Content-Type> <META content="MSHTML 5.00.2919.6307" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>I'm running 2.2.x kernel in specific network load (web counter serving 15millions of buttons per day). Currently I increased </FONT></DIV> <DIV><FONT face="Arial CYR" size=2>/proc/sys/net/ipv4/tcp_max_syn_backlog to 2048 </FONT></DIV> <DIV><FONT face="Arial CYR" size=2>/proc/sys/ner/ipv4/route/max_size to 16384</FONT></DIV> <DIV> </DIV> <DIV><FONT face="Arial CYR" size=2>The number of connections open is:</FONT></DIV> <DIV> </DIV> <DIV><FONT face="Arial CYR" size=2>[root@mars dem]# netstat -nt | wc -l<BR> 15395</FONT></DIV> <DIV><FONT face="Arial CYR" size=2>[root@mars dem]# netstat -nt | grep SYN | wc -l<BR> 358</FONT></DIV> <DIV> </DIV> <DIV><FONT face="Arial CYR" size=2>So it does not seems to hit the limit of max_syn backlog.</FONT></DIV> <DIV> </DIV> <DIV><FONT face="Arial CYR" size=2>The problem is - it seems in 1-3% of the requests connect takes several seconds which, which is the problem in my case.</FONT></DIV> <DIV><FONT face="Arial CYR" size=2>Looking at VMSTAT shows 40-60% of CPU is idle anytime.</FONT></DIV> <DIV> </DIV> <DIV><FONT face="Arial CYR" size=2>Any ideas how to solve such problem ?</FONT></DIV> <DIV><FONT face="Arial CYR" size=2>I have tried several stable kernels from 2.2.14 to 2.2.16 with different patch sets (RedHat,aa-series) all seems to have the same problem....</FONT></DIV> <DIV> </DIV></BODY></HTML>
| |