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 allow Habbo?

No we do not. We now have a good working relationship with Sulake Corporation due to all of...

Why am I unable to run yum in CentOS?

The most common reason is a memory issue caused by a plugin installed by default. In order to...

How do I get my IP unblocked by the cPanel server firewall?

Use this link: https://securedragon.net/clients/index.php?m=unblockip

Where can I find your policies?

Our Terms of Service, Acceptable Use Policy, and Privacy Policy can all be found at the bottom of...

What is vSwap?

vSwap, or Virtual Swap, is a new memory management feature in RHEL 6 (CentOS 6.0) that allows an...

Powered by WHMCompleteSolution