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
  • 32 A felhasználók hasznosnak találták ezt
Hasznosnak találta ezt a választ?

Kapcsolódó cikkek

Do you offer refunds?

Refunds outside of our Money Back Guarantee are on a per user basis. Please refer to our Terms of...

Do you provide a money back guarantee?

Indeed we do! If you're unhappy with our service for any reason during the first 30 days, we can...

What is SSH?

SSH stands for Secure Shell. It is a secured method of connecting to network device remotely,...

What is rsync?

rsync is the most common backup program used today. It provides many advantages over other backup...

What is vSwap?

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