Shake
Moderator
Registrován: 02.01.2003
Příspěvků: 1018
Team Member: MOD |
No ja tam mam toho trochu vic, uz nevim co vsechno na co bylo, ale k necemu to je .. :-)
Kazdopadne kdyby vedel nekde o dalsich rozumnych upravach v tomto souboru tak sem s nima ..
Jo jinak jeste /etc/init.d/procps.sh je prislusny skript, ktery tenhle soubor zpracovava, je samozrejme treba ho mit v prislusnem runlevelu, ale myslim, ze je ve vsech by default ..
Jo jeste edit, nepomaha ti to, protoze tam mas sys. .. vsechno v sysctl.conf je uprava /proc/sys takze zacinas az od toho ..
/etc/sysctl.conf
# 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.ip_conntrack_max=261696
net.ipv4.neigh.default.gc_thresh1=4096
net.ipv4.neigh.default.gc_thresh2=8192
net.ipv4.neigh.default.gc_thresh3=16384
#The tcp_keepalive_probes value determines how many times TCP/IP
#retransmits an unacknowledged keep-alive message on an existing
#connection. Default is 9
net.ipv4.tcp_keepalive_probes=3
#The tcp_keepalive_intvl value determines how often TCP/IP repeats
#keep-alive transmissions when a keep-alive response is not received
#from the partner. Default is 75
net.ipv4.tcp_keepalive_intvl=30
#The tcp_keepalive_time value controls how frequently TCP/IP tries
#to verify that an idle connection is still intact.
net.ipv4.tcp_keepalive_time=1800
#The connection backlog values may need to be increased to accept
#a burst of incoming connection requests.
net.core.netdev_max_backlog=2500
#Zkraceni doby navazanych spojeni z 5 dnu, na 5 hodin
net.ipv4.netfilter.ip_conntrack_tcp_timeout_established=18000
#Restartuje router jakmile dojde ke kernel panicu
kernel.panic=20
|