Displaying 12 results from an estimated 12 matches for "gc_timeout".
2007 Feb 19
10
"dst cache overflow" messages and crash
...ch from Julian Anastasov.
With rtstat I see that the route cache size increases regularly without
never decreasing.
I have this parameters:
fw:/proc/sys/net/ipv4/route# grep . *
error_burst:1250
error_cost:250
gc_elasticity:15
gc_interval:60
gc_min_interval:0
gc_min_interval_ms:500
gc_thresh:4096
gc_timeout:300
max_delay:10
max_size:65536
min_adv_mss:256
min_delay:2
min_pmtu:552
mtu_expires:600
redirect_load:5
redirect_number:9
redirect_silence:5120
secret_interval:600
I can increase the maximum size of the cache, but that will do nothing
but delay the crash.
Can you help me?
Regards.
--
=========...
2002 Sep 28
3
two internet connections + filter?
Hello,
I hope i wont make it too complicated and sorry for my englihs...
The company has multiple connections to the internet ADSL + CABLE + XDSL...
and i only want to use two for load balancing for now. I have read the HOWTO
and i got it up and working it works great but i still have a few questions
if anyone could help!
the setup is: ADSL on ETH0 and CABLE on ETH1
When i load balance on
2004 Jul 26
1
Load Balancing
...P2=yyy.yyy.yyy.21
P2_NET=yyy.yyy.yyy.0/24
P2=yyy.yyy.yyy.1
echo 0 > /proc/sys/net/ipv4/conf/eth0/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/eth2/rp_filter
echo 3 > /proc/sys/net/ipv4/route/gc_elasticity
echo 1 > /proc/sys/net/ipv4/route/gc_interval
echo 0 > /proc/sys/net/ipv4/route/gc_timeout
ip route flush cache
ip route flush all
ip route flush table modem0
ip route flush table modem1
ip rule add from $IP1 lookup modem0
ip rule add from $IP2 lookup modem1
ip route add $P1_NET dev $IF1 src $IP1
ip route add $P2_NET dev $IF2 src $IP2
ip route add $P0_NET dev $IF0 src $IP0
ip rule ad...
2002 May 23
1
Multiple Internet Connection, established connection dropping issues
...ace until the user drops the connection. At which time if
the connection is re-established by the user the linux router then could
use a different interface but it should only use the interface that the
connection was established under.
I have made some progress playing around with the gc_interval gc_timeout
and gc_elasticity.
I also started looking at the code behind the routing and gc logic in
the route.c file in the linux kernel source. It appears that the gc does
not compare which routes to keep or which routes to drop. It just does
sort of a first come first out sweep.
Also it is my assumption...
2007 Jan 10
2
dst cache overflow (bridged wan interfaces)
...grep: /proc/sys/net/ipv4/route/flush: OperaciĆ³n no permitida
/proc/sys/net/ipv4/route/gc_elasticity:8
/proc/sys/net/ipv4/route/gc_interval:60
/proc/sys/net/ipv4/route/gc_min_interval:0
/proc/sys/net/ipv4/route/gc_min_interval_ms:500
/proc/sys/net/ipv4/route/gc_thresh:32768
/proc/sys/net/ipv4/route/gc_timeout:300
/proc/sys/net/ipv4/route/max_delay:10
/proc/sys/net/ipv4/route/max_size:524288
/proc/sys/net/ipv4/route/min_adv_mss:256
/proc/sys/net/ipv4/route/min_delay:2
/proc/sys/net/ipv4/route/min_pmtu:552
/proc/sys/net/ipv4/route/mtu_expires:600
/proc/sys/net/ipv4/route/redirect_load:20
/proc/sys/net/ipv...
2007 Apr 11
5
two routes, non-permanent higher proiority
Hi LARTC experts,
Can you help me with this scenario? I have been
lurking on this list for a while, but I am very green
wrt advanced routing.
I have a slackware linux based server in a vehicle with
a high bandwidth satellite connection which is only
available while the vehicle is stationary.
This satellite connection comes in via eth0. But while
the vehicle is moving or stationary, we can
2004 Aug 01
0
QOS
...P2=yyy.yyy.yyy.21
P2_NET=yyy.yyy.yyy.0/24
P2=yyy.yyy.yyy.1
echo 0 > /proc/sys/net/ipv4/conf/eth0/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/eth2/rp_filter
echo 3 > /proc/sys/net/ipv4/route/gc_elasticity
echo 1 > /proc/sys/net/ipv4/route/gc_interval
echo 0 > /proc/sys/net/ipv4/route/gc_timeout
ip route flush cache
ip route flush all
ip route flush table modem0
ip route flush table modem1
ip rule add from $IP1 lookup modem0
ip rule add from $IP2 lookup modem1
ip route add $P1_NET dev $IF1 src $IP1
ip route add $P2_NET dev $IF2 src $IP2
ip route add $P0_NET dev $IF0 src $IP0
ip rule ad...
2004 Aug 26
0
Problems with QOS
...P2=yyy.yyy.yyy.21
P2_NET=yyy.yyy.yyy.0/24
P2=yyy.yyy.yyy.1
echo 0 > /proc/sys/net/ipv4/conf/eth0/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/eth2/rp_filter
echo 3 > /proc/sys/net/ipv4/route/gc_elasticity
echo 1 > /proc/sys/net/ipv4/route/gc_interval
echo 0 > /proc/sys/net/ipv4/route/gc_timeout
ip route flush cache
ip route flush all
ip route flush table modem0
ip route flush table modem1
ip rule add from $IP1 lookup modem0
ip rule add from $IP2 lookup modem1
ip route add $P1_NET dev $IF1 src $IP1
ip route add $P2_NET dev $IF2 src $IP2
ip route add $P0_NET dev $IF0 src $IP0
ip rule ad...
2006 Oct 30
3
Application 500 Errors
Configuration:
(2) Dual Core Opterons
8GB RAM
Apache used to balance 40 mongrel instances
We receive Application 500 Errors. Nothing suspect appears in the log, so we
are at a lost as to what to do next.
Any advice would be welcome and/or an explanation of what types of things
cause Application 500 Errors in mongrel.
Thanks!
- Jared Brown
-------------- next part --------------
An HTML
2005 Feb 04
2
Multiple gateways setup and timeout connections
...gh.default.gc_thresh2 = 512
net.ipv4.neigh.default.gc_thresh1 = 128
net.ipv4.neigh.default.gc_interval = 30
net.ipv4.neigh.default.gc_stale_time = 60
net.ipv4.inet_peer_gc_maxtime = 120
net.ipv4.inet_peer_gc_mintime = 10
net.ipv4.route.gc_elasticity = 1
net.ipv4.route.gc_interval = 1
net.ipv4.route.gc_timeout = 0
net.ipv4.route.gc_min_interval = 0
net.ipv4.route.gc_thresh = 2048
The tcpdump traffic goes like this:
From the gateway:
19:08:37.404963 praia1.praiacamboriu.com.br.ftp-data >
141.porttal.com.br.1412: . 11025485:11026945(1460) ack 1 win 58400
(DF)
19:08:37.432250 141.porttal.com.br.1412 &g...
2003 Feb 03
4
[Bug 40] system hangs, Availability problems, maybe conntrack bug, possible reason here.
https://bugzilla.netfilter.org/cgi-bin/bugzilla/show_bug.cgi?id=40
laforge@netfilter.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
------- Additional Comments From laforge@netfilter.org 2003-02-03 16:49 -------
We haven't seen this
2007 Jun 21
23
Redundant internet connections.
(I know that what I''m wanting to do can be done, but for some reason I
can not get it to work for the life of me. I think I have been staring
at it too long and too closely.)
I have two different internet connections from two cooperating ISPs. I
also have a small 8 block of IPs that are globally routable that both
ISPs will route to me via my world facing globally routable IPs that