<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>8003</bug_id>
          
          <creation_ts>2005-09-18 22:52:19 +0400</creation_ts>
          <short_desc>[FR][3.1?] net.ipv4.tcp_tw_recycle = 1 by default</short_desc>
          <delta_ts>2014-02-16 15:55:25 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>etcnet</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://oss.sgi.com/archives/netdev/2000-10/msg00019.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>7371</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Shigorin">mike</reporter>
          <assigned_to name="Mikhail Efremov">sem</assigned_to>
          <cc>jackie.rosen</cc>
    
    <cc>lakostis</cc>
    
    <cc>ldv</cc>
    
    <cc>rider</cc>
    
    <cc>sem</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>30715</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2005-09-18 22:52:19 +0400</bug_when>
    <thetext>Судя по 

http://bbcr.uwaterloo.ca/~brecht/servers/tcp.html
http://oss.sgi.com/archives/netdev/2000-10/msg00019.html

-- имеет прямой смысл на данный момент устанавливать в единицу по умолчанию
параметр net.ipv4.tcp_tw_recycle в /etc/sysctl.conf.

Спасибо за ссылки lakostis@.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30731</commentid>
    <comment_count>1</comment_count>
    <who name="Konstantin A Lepikhov (L.A. Kostis)">lakostis</who>
    <bug_when>2005-09-19 10:07:50 +0400</bug_when>
    <thetext>я за то, чтобы просто добавить этот параметр в /etc/net/sysctl.conf с
комментарием, что вот она, серебрянная пуля, которая избавит вас от
помешательства  при обработке &gt;1k одновременных соединений.

PS Ведь зачем-то все-таки его выключили ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30755</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2005-09-19 14:14:21 +0400</bug_when>
    <thetext>Я при рекомендации исходил из того, что berd@ говорит, у него включено.
А при _отключеннном_ вылазят грабли, о которых он не подозревал.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33653</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2005-12-08 21:43:43 +0300</bug_when>
    <thetext>Сетевые настройки уже давно не живут в пакете startup.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33663</commentid>
    <comment_count>4</comment_count>
    <who name="Denis Ovsienko">pilot</who>
    <bug_when>2005-12-09 10:17:10 +0300</bug_when>
    <thetext>Сколько предлагается по умолчанию закомментировать? Из приведённого описания
ясно только, что &quot;больше значит лучше&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33839</commentid>
    <comment_count>5</comment_count>
    <who name="Denis Ovsienko">pilot</who>
    <bug_when>2005-12-14 14:59:29 +0300</bug_when>
    <thetext>???</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33845</commentid>
    <comment_count>6</comment_count>
    <who name="Konstantin A Lepikhov (L.A. Kostis)">lakostis</who>
    <bug_when>2005-12-14 15:28:03 +0300</bug_when>
    <thetext>например, что-то такое, естественно в закомментированном виде.

# setting for heavy production servers
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.tcp_moderate_rcvbuf = 1
net.ipv4.tcp_syncookies = 1 
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_timestamps = 0
net.ipv4.ip_local_port_range = 1024 65535
net.ipv4.tcp_fin_timeout = 15
net.ipv4.tcp_max_syn_backlog = 16384
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.default.accept_redirects = 0
# increase TCP max buffer size
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
# increase Linux autotuning TCP buffer limits
# min, default, and max number of bytes to use
net.ipv4.tcp_rmem = 4096 87380 16777216 
net.ipv4.tcp_wmem = 4096 65536 16777216
net.ipv4.route.flush = 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34074</commentid>
    <comment_count>7</comment_count>
    <who name="Denis Ovsienko">pilot</who>
    <bug_when>2005-12-22 10:25:50 +0300</bug_when>
    <thetext>В отредактированном виде помещено в SVN trunk в виде contrib.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34343</commentid>
    <comment_count>8</comment_count>
    <who name="Denis Ovsienko">pilot</who>
    <bug_when>2005-12-31 09:52:38 +0300</bug_when>
    <thetext>Опубликовано в 0.8.0 как contrib.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>