Antony,

Turning off swap isn't a valid solution to the statement "However, it is 
important to ensure that the system will never run out of memory and that it 
will never swap". This statement is simply saying that you need to have enough 
physical memory in your Linux server to handle the load being pushed on the 
HAproxy server. 

I

Brian Carpio 
Senior Systems Engineer

Office: +1.303.962.7242
Mobile: +1.720.319.8617
Email: [email protected]


-----Original Message-----
From: Antony [mailto:[email protected]] 
Sent: Friday, March 18, 2011 12:04 PM
To: [email protected]
Subject: HAProxy & swap

Hi guys!

I'm new to HAProxy and currently I'm testing it.
So I've read this on the main page of the web site:
"The reliability can significantly decrease when the system is pushed to its 
limits. This is why finely tuning the sysctls is important. There is no general 
rule, every system and every application will be specific. However, it is 
important to ensure that the system will never run out of memory and that it 
will never swap. A correctly tuned system must be able to run for years at full 
load without slowing down nor crashing."
And now have the question.

How do you usually prevent system to swap? I use Linux but solutions for any 
other OSes are interesting for me too.

I think it isn't just to "swapoff -a" and to del appropriate line in 
/etc/fstab. Because some people say that it isn't good choise..

P.S. I'm sorry for previous email without specified subject


Reply via email to