[Users] fork: Cannot allocate memory on CPanel system

Markus Hardiyanto informatics2k1 at yahoo.com
Wed May 16 03:56:02 EDT 2007


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 at openvz.org>
To: Markus Hardiyanto <informatics2k1 at yahoo.com>
Cc: users at 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 


More information about the Users mailing list