View previous topic :: View next topic |
Author |
Message |
Lore Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 16 Feb 2004 Posts: 152 Location: Karlsruhe
|
Posted: Sat Dec 18, 2004 2:50 am Post subject: What's the meaning of "dst cache overflow" |
|
|
Hi,
my gateway is running a 2.6.2 vanilla kernel. Since some time it is putting the message "dst cache overflow" in /var/log/messages. What's the meaning of that? Google has'nt given me an answer yet. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
David_Escott l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 12 Jan 2003 Posts: 952 Location: Boston, MA
|
Posted: Sat Dec 18, 2004 4:08 am Post subject: |
|
|
Where is this error coming from? What program? A message in /var/log/messages will look like:
progname[pid] date and time message |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Lore Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 16 Feb 2004 Posts: 152 Location: Karlsruhe
|
Posted: Sat Dec 18, 2004 4:10 am Post subject: |
|
|
Code: |
Dec 18 02:32:33 t08gate kernel: dst cache overflow
Dec 18 02:32:33 t08gate last message repeated 9 times
Dec 18 02:32:33 t08gate kernel: NET: 266 messages suppressed.
Dec 18 02:32:33 t08gate kernel: dst cache overflow
Dec 18 02:32:33 t08gate last message repeated 3 times
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
David_Escott l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 12 Jan 2003 Posts: 952 Location: Boston, MA
|
Posted: Sat Dec 18, 2004 4:41 am Post subject: |
|
|
Its in linux/net/ipv4/route.c. The dst is the protocol independent destination cache (routing cache). A garbage collection routine is run to clear out old old destination entries if the cache is getting too big, and this warning is thrown if that garbage collection is unsuccessful (either interrupted or jiffies) and net_ratelimit() is true, although I can't find where that function is defined.
If you want to fiddle with things you might look at the kernel's routing cache but I suspect this warning arises when there are sudden spikes in traffic volume to different destinations.
PS route.c has lots of interesting comments about martians in it rather funny. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Lore Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 16 Feb 2004 Posts: 152 Location: Karlsruhe
|
Posted: Sat Dec 18, 2004 5:20 am Post subject: |
|
|
net_ratelimit() is defined in include/linux/net.h and implemented in /net/core/utils.c:
/*
42 * This enforces a rate limit: not more than one kernel message
43 * every 5secs to make a denial-of-service attack impossible.
44 *
45 * All warning printk()s should be guarded by this function.
46 */
http://t08server/extern/statistik/mrtg/ping/172.20.254.254.icmp.html
Here you can see what happend, suddenly packet loss gets to 100%, the gateway doesn't answer any more and the error messages occurs. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Instinct82 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 16 Aug 2003 Posts: 42 Location: Trier, Germany
|
Posted: Fri Feb 18, 2005 4:07 pm Post subject: |
|
|
any ideas howto prevent this error? _________________ my gentoo boxes
Desktop:
AMD Athlon XP 2000+
512MB DDR
GeForce3 Ti200
Samsung SyncMaster 193T
Laptop:
Asus M6800N 1,5GHz
768MB DDR
Radeon 9600 Mobility
Router:
Intel Pentium 90, 128MB RAM, True Headless |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
j-m Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 31 Oct 2004 Posts: 975
|
Posted: Fri Feb 18, 2005 4:10 pm Post subject: Re: What's the meaning of "dst cache overflow" |
|
|
Lore wrote: | Hi,
my gateway is running a 2.6.2 vanilla kernel. Since some time it is putting the message "dst cache overflow" in /var/log/messages. What's the meaning of that? Google has'nt given me an answer yet. |
I don´t know but I know for sure that you should upgrade your kernel ASAP and come back if the problem persists. ![Shocked 8O](images/smiles/icon_eek.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|