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 offer TUN/TAP and/or PPTP on OpenVZ?

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

Where did the name CakeVPN come from?

We were looking for a synonym for "simple" and one of the suggestions was "piece of cake" and we...

Do you allow IRC?

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

Do you offer any type of SLA?

We offer a 99.9% uptime SLA. We strive to provide as little to no downtime as possible. We run...

Do you allow Habbo?

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

Powered by WHMCompleteSolution