百度空间 | 百度首页 
 
查看文章
 
ip_conntrack: table full, dropping packet 导致机器无法连接
2008年07月01日 星期二 11:07

机器开了iptables 结果机器报以下错误

Jun 29 10:14:38 kernel: ip_conntrack: table full, dropping packet.
Jun 29 10:15:16 last message repeated 9 times
Jun 29 10:15:16 last message repeated 7 times
Jun 29 10:15:19 kernel: printk: 4 messages suppressed.
Jun 29 10:15:19 kernel: ip_conntrack: table full, dropping packet.
Jun 29 10:16:30 kernel: printk: 11 messages suppressed.
Jun 29 10:16:30 kernel: ip_conntrack: table full, dropping packet.
Jun 29 10:16:31 last message repeated 9 times

在网上找了以下解决方法

vi /etc/sysctl.conf

net.ipv4.ip_conntrack_max = 655360
net.ipv4.netfilter.ip_conntrack_tcp_timeout_established = 180

再sysctl -p

780e1a6f


类别:linux,unix | | 添加到搜藏 | 分享到i贴吧 | 浏览() | 评论 (0)
 
最近读者:
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
验证码: 请点击后输入四位验证码,字母不区分大小写
      

     

©2010 Baidu