netdev
[Top] [All Lists]

Re: neighbour table overflow

To: "Thompson, Robert Aubrey" <UCS_RAT@xxxxxxxxxxxxxxxx>
Subject: Re: neighbour table overflow
From: Gleb Natapov <gleb@xxxxxxxxxxx>
Date: Thu, 9 Nov 2000 09:22:28 +0200
Cc: "'netdev@xxxxxxxxxxx'" <netdev@xxxxxxxxxxx>
In-reply-to: <AD7116EE9A9ED41189ED000094A1813C3330DF@xxxxxxxxxxxxxxxx>; from UCS_RAT@xxxxxxxxxxxxxxxx on Wed, Nov 08, 2000 at 12:19:55PM -0600
References: <AD7116EE9A9ED41189ED000094A1813C3330DF@xxxxxxxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
try do this as root:
# echo 2000 > /proc/sys/net/ipv4/neigh/default/gc_thresh3

The default value of this threshold is 1024 and this is the max size of the arp 
table.

On Wed, Nov 08, 2000 at 12:19:55PM -0600, Thompson, Robert Aubrey wrote:
>       I've recently been directed to this list by Alan Cox, after having
> some trouble with a Linux Samba server having to many connections.  When
> reaching 1025 arp entries(arp -a -n | wc -l), I get neighbour table
> overflows and people are unable to reach the server.  I have tried following
> the route.c source and tweaking the kernel to allow for a larger arp table
> however, I never seemed to be able increase the arp table size.  Any other
> tweaks I make(gc, elasticty, and etc.) just caused the machine to overflow
> more, however I'm not a kernel wizard and most likely am tuning the wrong
> parameters the wrong way :).  Does anyone have a FAQ or any knowledge on
> which kernel parms are turnable and what they do/effect.   I currently have
> about 1700 machines, and around 800 to 1200 connecting at the same time
> depending on the time of day.  If I could increase the arp table just a
> little, I think I could fix the error.  Any e-mail with help or suggestions
> would be greatly appreciated.  Even a flame or two can be tollerated to help
> fix this :).
> 
> Sincerely,
> 
> Robert A. Thompson
> ucs_rat@xxxxxxxx
>       
--
                        Gleb.

<Prev in Thread] Current Thread [Next in Thread>