Error caused by insufficient server ARP cache list

Source: Internet
Author: User
Tags linux

Neighbour table overflow. Error

Error message:

May 16:32:28 Linux kernel:net:6746 messages suppressed.

May 16:32:28 Linux kernel:neighbour table overflow.

。。。。。。。

System:

Redhat As3u4

Linux Linux 2.4.21-27.elsmp #1 SMP Wed Dec 1 21:59:02 EST i686 i686 i386 gnu/linux

The relevant information has been looked up. Is the problem of insufficient buffer of ARP. But there is no accurate way to improve.

1. Using ARPD, I compiled and installed ARPD and used it. Did not find any effect.

2. Issue of Redhat distribution. Lo is not enabled. Verify that the system's lo is enabled.

Look at the ARP table has stored more than 400 IP and Mac team to be ....

The symptom is: The client's machine is connected to the Internet.

In order to solve this problem, I only have to increase the cache

Join in the/etc/sysctl.conf

NET.IPV4.NEIGH.DEFAULT.GC_THRESH3 = 40960

NET.IPV4.NEIGH.DEFAULT.GC_THRESH2 = 20480

NET.IPV4.NEIGH.DEFAULT.GC_THRESH1 = 10240

The test has been changed to a large size. The error message was not found after the modification ...

Today so far the use of normal ...

The following parameters can be adjusted:

More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/Servers/zs/

echo 180 >/proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_established

echo 262144 >/proc/sys/net/ipv4/netfilter/ip_conntrack_max

echo >/proc/sys/net/ipv4/neigh/default/gc_stale_time

echo 1024 >/proc/sys/net/ipv4/neigh/default/gc_thresh1

echo 4096 >/proc/sys/net/ipv4/neigh/default/gc_thresh2

echo 8192 >/proc/sys/net/ipv4/neigh/default/gc_thresh3

Gc_stale_time

Determines the period at which the validity of an adjacent layer record is checked.

When the adjacent layer record fails, it is parsed again before it is sent to the data.

The default value is 60 seconds.

Gc_thresh1

The minimum number of layers that exist in the ARP cache, if less than this number,

The garbage collector will not run. The default value is 128.

Gc_thresh2

The maximum record soft limit that is saved in the ARP cache.

The garbage collector allows the number of records to exceed this number for 5 seconds before starting the collection.

The default value is 512.

Gc_thresh3

The hard limit for the maximum number of records saved in the ARP cache.

Once the number of caches is higher than this,

The garbage collector will run immediately. The default value is 1024.

This article is from the "single Aristocracy" blog, please be sure to keep this source http://liuxin1982.blog.51cto.com/4338970/799622

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.