OpenVZ Forum


Home » Mailing lists » Users » fork: Cannot allocate memory on CPanel system
fork: Cannot allocate memory on CPanel system [message #12911] Tue, 15 May 2007 02:04 Go to next message
Markus Hardiyanto is currently offline  Markus Hardiyanto
Messages: 27
Registered: April 2007
Junior Member
Hi,

I'm running CentOS 4.4 and CPanel on VE. I'm experiencing a lot of "fork: Cannot allocate memory" error message.
I saw on /proc/user_beancounters that I hit the privvmpages limit. but i already set it quite big: 512M:768M why I'm still get "fork: Cannot allocate memory" ?

#free -m
total used free shared buffers cached
Mem: 1002 943 59 0 132 382
-/+ buffers/cache: 428 574
Swap: 2047 0 2047


the swap is even not being used.

how to fix this? it's only 1 VE on the hardware node.

other question: how to configure the VE so its using:
512MB RAM burstable to 758MB
maximum 1024MB of SWAP

thank you

Best Regards,
Markus



Send instant messages to your online friends http://uk.messenger.yahoo.com
Re: fork: Cannot allocate memory on CPanel system [message #12914 is a reply to message #12911] Tue, 15 May 2007 06:23 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello,

privvmpages parameter limits the amount of _allocated_ memory, but not
used! Read this and related articles for more information:
http://wiki.openvz.org/UBC_secondary_parameters

HTH,
Vasily

Hello,

privvmpages parameter limits the amount of _allocated_ memory, but not
used! Read this and related articles for more information:
http://wiki.openvz.org/UBC_secondary_parameters

HTH,
Vasily

On Mon, 2007-05-14 at 19:04 -0700, Markus Hardiyanto wrote:
> Hi,
>
> I'm running CentOS 4.4 and CPanel on VE. I'm experiencing a lot of "fork: Cannot allocate memory" error message.
> I saw on /proc/user_beancounters that I hit the privvmpages limit. but i already set it quite big: 512M:768M why I'm still get "fork: Cannot allocate memory" ?
>
> #free -m
> total used free shared buffers cached
> Mem: 1002 943 59 0 132 382
> -/+ buffers/cache: 428 574
> Swap: 2047 0 2047
>
>
> the swap is even not being used.
>
> how to fix this? it's only 1 VE on the hardware node.
>
> other question: how to configure the VE so its using:
> 512MB RAM burstable to 758MB
> maximum 1024MB of SWAP
>
> thank you
>
> Best Regards,
> Markus
>
>
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
Re: fork: Cannot allocate memory on CPanel system [message #12968 is a reply to message #12911] Wed, 16 May 2007 07:56 Go to previous message
Markus Hardiyanto is currently offline  Markus Hardiyanto
Messages: 27
Registered: April 2007
Junior Member
Well i set the privvmpages to 2G:3G and it seems the "could not allocate memory" error is gone.

any way my other question is not yet have an answer:

> other question: how to configure the VE so its using:
> 512MB RAM burstable to 758MB
> maximum 1024MB of SWAP

Best Regards,
Markus

----- Original Message ----
From: Vasily Tarasov <vtaras@openvz.org>
To: Markus Hardiyanto <informatics2k1@yahoo.com>
Cc: users@openvz.org
Sent: Tuesday, May 15, 2007 1:23:45 PM
Subject: Re: [Users] fork: Cannot allocate memory on CPanel system

Hello,

privvmpages parameter limits the amount of _allocated_ memory, but not
used! Read this and related articles for more information:
http://wiki.openvz.org/UBC_secondary_parameters

HTH,
Vasily

Hello,

privvmpages parameter limits the amount of _allocated_ memory, but not
used! Read this and related articles for more information:
http://wiki.openvz.org/UBC_secondary_parameters

HTH,
Vasily

On Mon, 2007-05-14 at 19:04 -0700, Markus Hardiyanto wrote:
> Hi,
>
> I'm running CentOS 4.4 and CPanel on VE. I'm experiencing a lot of "fork: Cannot allocate memory" error message.
> I saw on /proc/user_beancounters that I hit the privvmpages limit. but i already set it quite big: 512M:768M why I'm still get "fork: Cannot allocate memory" ?
>
> #free -m
> total used free shared buffers cached
> Mem: 1002 943 59 0 132 382
> -/+ buffers/cache: 428 574
> Swap: 2047 0 2047
>
>
> the swap is even not being used.
>
> how to fix this? it's only 1 VE on the hardware node.
>
> other question: how to configure the VE so its using:
> 512MB RAM burstable to 758MB
> maximum 1024MB of SWAP





Send instant messages to your online friends http://uk.messenger.yahoo.com
Previous Topic: NFS with RHEL5 kernel?
Next Topic: Missing links to OpenVZ patch
Goto Forum:
  


Current Time: Tue May 07 09:42:05 GMT 2024

Total time taken to generate the page: 0.01383 seconds