OpenWrt Forum Archive

Topic: huge lags

The content of this topic has been archived on 14 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

For any reason, my internet connection begins to lag, if i play an online game.
It only stops, if I connect to the router (what takes really long) and reboot it.

# logread:

Oct 18 21:46:52 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:46:54 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:46:54 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:46:54 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:46:54 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:46:54 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:46:55 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:46:56 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:46:57 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:46:58 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:46:58 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:47:03 OpenWrt user.warn kernel: NET: 12 messages suppressed.
Oct 18 21:47:03 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:47:07 OpenWrt user.warn kernel: NET: 12 messages suppressed.
Oct 18 21:47:07 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:47:13 OpenWrt user.warn kernel: NET: 13 messages suppressed.
Oct 18 21:47:13 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:47:17 OpenWrt user.warn kernel: NET: 4 messages suppressed.
Oct 18 21:47:17 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:47:27 OpenWrt user.warn kernel: NET: 8 messages suppressed.
Oct 18 21:47:27 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:47:27 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:47:36 OpenWrt user.warn kernel: NET: 3 messages suppressed.
Oct 18 21:47:36 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:47:42 OpenWrt user.warn kernel: NET: 2 messages suppressed.
Oct 18 21:47:42 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:47:43 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:47:48 OpenWrt user.warn kernel: NET: 4 messages suppressed.
Oct 18 21:47:48 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:47:56 OpenWrt user.warn kernel: NET: 2 messages suppressed.
Oct 18 21:47:56 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:47:57 OpenWrt user.warn kernel: NET: 1 messages suppressed.
Oct 18 21:47:57 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:47:58 OpenWrt authpriv.info dropbear[489]: Child connection from 192.168.1.2:1085
Oct 18 21:48:02 OpenWrt user.warn kernel: NET: 6 messages suppressed.
Oct 18 21:48:02 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:48:10 OpenWrt user.warn kernel: NET: 3 messages suppressed.
Oct 18 21:48:10 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:48:15 OpenWrt user.warn kernel: NET: 3 messages suppressed.
Oct 18 21:48:15 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:48:18 OpenWrt user.warn kernel: NET: 3 messages suppressed.
Oct 18 21:48:18 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:48:25 OpenWrt user.warn kernel: NET: 5 messages suppressed.
Oct 18 21:48:25 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:48:27 OpenWrt user.warn kernel: NET: 5 messages suppressed.
Oct 18 21:48:27 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.
Oct 18 21:48:28 OpenWrt authpriv.notice dropbear[489]: password auth succeeded for 'root' from 192.168.1.2:1085
Oct 18 21:48:33 OpenWrt user.warn kernel: NET: 8 messages suppressed.
Oct 18 21:48:33 OpenWrt user.warn kernel: ip_conntrack: table full, dropping packet.

Does someone know a way to fix this problem? What other informations do you need to be able to relate the problem?

Regards,
felix

(Last edited by felix on 18 Oct 2007, 21:13)

You must have some p2p software running, big_smile
Try to reduce the ip_conntrack_tcp_timeout_established value(in secs, default is 432000 or somehing like that), I set it to 900 (15mins), it works fine.

You can edit /etc/sysctl.conf, add
ip_conntrack_tcp_timeout_established=yourvalue

Hi,
thanks for your answer. I don't have any p2p software running. Here the contents of my sysctl.conf:

kernel.panic=3
net.ipv4.conf.default.arp_ignore=1
net.ipv4.conf.all.arp_ignore=1
net.ipv4.ip_forward=1
net.ipv4.icmp_echo_ignore_broadcasts=1
net.ipv4.icmp_ignore_bogus_error_responses=1
net.ipv4.tcp_fin_timeout=30
net.ipv4.tcp_keepalive_time=120
net.ipv4.tcp_syncookies=1
net.ipv4.tcp_timestamps=0
net.ipv4.netfilter.ip_conntrack_tcp_timeout_established = 3600
net.ipv4.netfilter.ip_conntrack_udp_timeout = 60
net.ipv4.netfilter.ip_conntrack_udp_timeout_stream = 180

net.ipv4.ip_conntrack_max = 5953
net.ipv4.netfilter.ip_conntrack_max = 5953
net.ipv4.tcp_westwood=1
# don't cache ssthresh from previous connection
net.ipv4.tcp_no_metrics_save = 1
# recommended to increase this for 1000 BT or higher
net.core.netdev_max_backlog = 2500

what exactly does "net.ipv4.netfilter.ip_conntrack_tcp_timeout_established"?

Regards,
felix

(Last edited by felix on 19 Oct 2007, 15:20)

The discussion might have continued from here.