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

Was this answer helpful?

 Print this Article

Also Read

What features for you offer for your cPanel service?

The following features are enabled on our cPanel services, anything not listed might not be...

Do you allow IRC?

IRC clients/bouncers are allowed on our VPSs! (But we do not allow servers at this time.)

Where are your servers located? What datacenters do you use?

Here is a list of a our datacenters and locations where we house our hardware: Tampa, FL. - E...

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 additional IPv4 addresses?

Yes, we offer additional IPs at $3/month each. Please open a ticket with our Sales department for...

Powered by WHMCompleteSolution