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
  • 24 Users Found This Useful
Was this answer helpful?

Related Articles

Do you go through my files on my VPS or spy on my processes?

For fun? No we don't. If we get an alert or alarm then we may review your VPS to ensure there...

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

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

Do you offer reseller accounts? Can I resell your services?

We do not offer reseller accounts at this time. We do not recommend that you attempt to resell...

Why does modprobe gives me an error in my OpenVZ VPS?

The command modprobe does not work in OpenVZ and all of the modules need to be loaded on the host...

Do you support GRE tunnels?

Yes we do. All OpenVZ VPSs have the GRE modules enabled.

Powered by WHMCompleteSolution