| 
		
			| High Swap Load [message #43245] | Fri, 12 August 2011 07:56  |  
			| 
				
				
					|  Sebastian Bachmann Messages: 3
 Registered: July 2011
 | Junior Member |  |  |  
	| We have a really weird problem with one of our OpenVZ Hosts. Sometimes the swap is filled with arround of 2GB of Data, this causes that high load that
 the server is not available... The really weird thing is that the memory is
 not completly used! we have 8GB of RAM installed but only 3,5GB are really
 used (1,7G buffered and 2G cached) - that means there are still arround
 0,6GB of free mem and the cached mem can also be used, so why the server
 should swap???
 
 My theroy is that a single VZ doesnt have set enouth RAM to use and if its
 full the complete VZ is swapped, this could be possible because we have 2
 VZs which are allowed to use 2GB of Memory. The other theory is that both
 VZs (or some more) need some memory at the same time and then we dont have
 enough RAM free...
 
 We set in /etc/sysctl.conf vm.swappiness=1 but still no change...
 
 May someone had the same issue and can help us.
 
 thanks and greetings!
 
 sebastian
 |  
	|  |  | 
	|  | 
	| 
		
			| Re:  High Swap Load [message #43247 is a reply to message #43245] | Fri, 12 August 2011 08:30   |  
			| 
				
				
					|  Einar S. Ids Messages: 6
 Registered: August 2011
 | Junior Member |  |  |  
	| On Fri, Aug 12, 2011 at 9:56 AM, Sebastian Bachmann <me@free-minds.net> wrote: > the server is not available... The really weird thing is that the memory is
 > not completly used! we have 8GB of RAM installed but only 3,5GB are really
 > used (1,7G buffered and 2G cached) - that means there are still arround
 > 0,6GB of free mem and the cached mem can also be used, so why the server
 > should swap???
 
 Hi Sebastian,
 
 Is the host 32-bit? If yes, then perhaps this applies to you?
 http://wiki.openvz.org/Different_kernel_flavors_%28UP,_SMP,_ ENTERPRISE,_ENTNOSPLIT%29
 
 Cheers,
 Einar
 |  
	|  |  | 
	| 
		
			| RE:  High Swap Load [message #43248 is a reply to message #43246] | Fri, 12 August 2011 08:34   |  
			| 
				
				
					|  Sebastian Bachmann Messages: 3
 Registered: July 2011
 | Junior Member |  |  |  
	| hi, 
 On Fri, 12 Aug 2011 16:28:06 +0800, "CM [Sprintserve.net]"
 <silver@sprintserve.net> wrote:
 > -----Original Message-----
 > From: users-bounces@openvz.org [mailto:users-bounces@openvz.org] On
 Behalf
 > Of Sebastian Bachmann
 > Sent: Friday, 12 August, 2011 3:57 PM
 > To: Users@openvz.org
 > Subject: [Users] High Swap Load
 >
 > We have a really weird problem with one of our OpenVZ Hosts. Sometimes
 the
 > swap is filled with arround of 2GB of Data, this causes that high load
 that
 > the server is not available... The really weird thing is that the memory
 is
 > not completly used! we have 8GB of RAM installed but only 3,5GB are
 really
 > used (1,7G buffered and 2G cached) - that means there are still arround
 > 0,6GB of free mem and the cached mem can also be used, so why the server
 > should swap???
 >
 >
 > Are you running 32bit OS? If yes, what kernel are you using? Make sure
 you
 > are using one with PAE enabled.
 nope we are running currently under Linux 2.6.32-5-openvz-amd64 #1 SMP Wed
 Jan 12 04:22:50 UTC 2011 x86_64 GNU/Linux
 |  
	|  |  | 
	| 
		
			| RE:  High Swap Load [message #46190 is a reply to message #43248] | Tue, 01 May 2012 12:23  |  
			| 
				
				
					|  Esm Messages: 15
 Registered: August 2011
 | Junior Member |  |  |  
	| Hi Sebastian, 
 I just have the same kind of situation over here. Did you find a solution and would you maybe so kind to share it with us if you did?
 
 Thank you very much!
 
 Kind Regards,
 
 E. de Wolf
 
 -----Oorspronkelijk bericht-----
 Van: users-bounces@openvz.org [mailto:users-bounces@openvz.org] Namens Sebastian Bachmann
 Verzonden: vrijdag 12 augustus 2011 10:35
 Aan: silver@sprintserve.net; users@openvz.org
 Onderwerp: RE: [Users] High Swap Load
 
 hi,
 
 On Fri, 12 Aug 2011 16:28:06 +0800, "CM [Sprintserve.net]"
 <silver@sprintserve.net> wrote:
 > -----Original Message-----
 > From: users-bounces@openvz.org [mailto:users-bounces@openvz.org] On
 Behalf
 > Of Sebastian Bachmann
 > Sent: Friday, 12 August, 2011 3:57 PM
 > To: Users@openvz.org
 > Subject: [Users] High Swap Load
 >
 > We have a really weird problem with one of our OpenVZ Hosts. Sometimes
 the
 > swap is filled with arround of 2GB of Data, this causes that high load
 that
 > the server is not available... The really weird thing is that the
 > memory
 is
 > not completly used! we have 8GB of RAM installed but only 3,5GB are
 really
 > used (1,7G buffered and 2G cached) - that means there are still
 > arround 0,6GB of free mem and the cached mem can also be used, so why
 > the server should swap???
 >
 >
 > Are you running 32bit OS? If yes, what kernel are you using? Make sure
 you
 > are using one with PAE enabled.
 nope we are running currently under Linux 2.6.32-5-openvz-amd64 #1 SMP Wed Jan 12 04:22:50 UTC 2011 x86_64 GNU/Linux
 |  
	|  |  |