Kernel:ip_conntrack:table full, dropping packet.

Source: Internet
Author: User

Workaround:

1. Change the Ip_conntrack size

#/etc/sysctl.conf

centos5.x:

Modprobe Ip_conntrack

Sysctl-w net.ipv4.netfilter.ip_conntrack_tcp_timeout_established=10800

Sysctl-w net.ipv4.netfilter.ip_conntrack_max=655350

centos6.x:

Nf_conntrack_ipv4

Sysctl-w net.netfilter.nf_conntrack_max=655350

Sysctl-w net.netfilter.nf_conntrack_tcp_timeout_established=1800

# Sysctl-p Make it effective

When the rules are re-applied, the modules that have already been loaded are emptied, so every time iptables restarts, it is necessary to perform a sysctl-p,ip_conntrack full of hidden dangers.

2. Do not load the Ip_conntrack/nf_conntrack module

Modifying the/etc/sysconfig/iptables-config configuration file

# Vim/etc/sysconfig/iptables-config

Iptables_modules= ""

/etc/sysconfig/iptables do not configure the status of the rules, such as:

-A input-m state--state related,established-j ACCEP

This article is from the "Linuxdream" blog, make sure to keep this source http://books.blog.51cto.com/2600359/1678841

Kernel:ip_conntrack:table full, dropping packet.

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.