lkml.org 
[lkml]   [2000]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject2.2.x Network troubles
Date
<!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).&nbsp; 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&nbsp;
16384</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial CYR" size=2>The number of connections open
is:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial CYR" size=2>[root@mars dem]#&nbsp; netstat -nt | wc
-l<BR>&nbsp; 15395</FONT></DIV>
<DIV><FONT face="Arial CYR" size=2>[root@mars dem]#&nbsp; netstat -nt | grep SYN
| wc -l<BR>&nbsp;&nbsp;&nbsp; 358</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial CYR" size=2>So it does not seems to hit the limit of
max_syn backlog.</FONT></DIV>
<DIV>&nbsp;</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>&nbsp;</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&nbsp; with different patch sets (RedHat,aa-series) all seems to
have the same problem....</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>
\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.066 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site