OpenVZ Forum



Members   Search      Help    Register    Login    Home
Home » General » Support » *SOLVED* Unable to fork: Cannot allocate memory
*SOLVED* Unable to fork: Cannot allocate memory [message #9094] Sun, 17 December 2006 15:55 Go to next message
optize is currently offline optize
Messages: 33
Registered: September 2006
Member
From: *ph.ph.cox.net
When I attempt to vzctl enter ###, I get the error "Unable to fork: Cannot allocate memory"

I ran a top and I'm not maxing out memory and nothing in swap is being used.

Any ideas?

[Updated on: Mon, 18 December 2006 01:22] by Moderator

Report message to a moderator

Re: Unable to fork: Cannot allocate memory [message #9095 is a reply to message #9094] Sun, 17 December 2006 15:58 Go to previous messageGo to next message
rickb is currently offline rickb
Messages: 368
Registered: October 2006
Senior Member
From: 58.186.215*
cat /proc/user_beancounters


paste it here and we will show you which resource is being exhausted. read the UBC page in the wiki in the meantime.




-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
Re: Unable to fork: Cannot allocate memory [message #9096 is a reply to message #9095] Sun, 17 December 2006 16:24 Go to previous messageGo to next message
optize is currently offline optize
Messages: 33
Registered: September 2006
Member
From: *ph.ph.cox.net
http://pastebin.ca/282774

I pasted it there

[Updated on: Sun, 17 December 2006 16:24]

Report message to a moderator

Re: Unable to fork: Cannot allocate memory [message #9099 is a reply to message #9096] Sun, 17 December 2006 16:55 Go to previous messageGo to next message
rickb is currently offline rickb
Messages: 368
Registered: October 2006
Senior Member
From: 58.186.215*
In your UBC, kmemsize has failcnts for veid 1200. To raise this metric limit:

vzctl set 1200 --kmemsize 12752512:12752512 --save; vzctl restart 1200

Basically, your resource limits are too low for your applications' demands. This will fix that, at least on this resource, kernel memory.

Hope this helps.

Rick


-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
Re: Unable to fork: Cannot allocate memory [message #9100 is a reply to message #9099] Sun, 17 December 2006 16:59 Go to previous messageGo to next message
optize is currently offline optize
Messages: 33
Registered: September 2006
Member
From: *ph.ph.cox.net
Interesting -- that was the VPS I was trying to get into which gave me that error.

I find it weird that it ran out of memory, it should have 128 of memory and up to a gig of burst and there's nothing but a small postfix server running on it.

Very odd.

Thanks though
Re: Unable to fork: Cannot allocate memory [message #9101 is a reply to message #9100] Sun, 17 December 2006 18:02 Go to previous message
rickb is currently offline rickb
Messages: 368
Registered: October 2006
Senior Member
From: 58.186.215*
Read the UBC page as I suggested in my initial reply. You are exhausting kernel memory, which is different then 128MB/1GB burst.



-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
Previous Topic:*SOLVED* Unable to create outgoing iptables rules
Next Topic:/dev/null: Permission denied :: in VE @ 2.6.18
Goto Forum:
  


Current Time: Wed Apr 16 06:09:18 EDT 2014
Powered by FUDforum Powered by Parallels Virtuozzo Containers