What is conntrack and how can I check how many sessions I am using?

Conntrack is a table that stores information about all connections to/from a VPS. Here is a good explanation on how it works: http://www.rigacci.org/wiki/lib/exe/fetch.php/doc/appunti/linux/sa/iptables/conntrack.html

A normal Linux OS has a maximum of 65536 conntrack sessions by default, these sessions all require memory which is used by the host node and not by the VPS so setting this limit to high can impact the whole node and allow users to use more RAM than their VPS has allocated by eating up the host's RAM. Any VPS that uses over 20000 conntrack sessions will automatically be suspended by our automated system.

A typical VPS should never use more than 10000 sessions at any given time although we do have some busy NTP servers that peak at 20000 once in a while. To check your conntrack sessions, run the following command in your VPS: cat /proc/net/nf_conntrack
  • 20 Users Found This Useful
Was this answer helpful?

Related Articles

What bandwidth providers do you use?

Here is a list of upstream providers as of 3/4/2015:Tampa, FLXOLevel3CogentWideOpenWestDenver,...

What are the IPv6 network settings?

TampaGateway: 2602:fff6:f:1::1Netmask: 48 DenverGateway: 2602:fff6:d:1::1Netmask: 48

How do I use my domain with my VPS?

At this time we do not offer DNS for our VPS services (only cPanel services) so you will need to...

Why is my disk I/O so slow when testing with DD?

We have found that the OS Template has a greater impact on DD test results that we expected. Some...

Do you offer TUN/TAP and/or PPTP on OpenVZ?

Yes we do, all three can be enabled in our control panel.

Powered by WHMCompleteSolution