OpenVZ Forum


Home » General » Support » Fatal resource shortage
Fatal resource shortage [message #21732] Mon, 15 October 2007 13:41 Go to next message
redr0bin is currently offline  redr0bin
Messages: 5
Registered: September 2007
Location: Latvia
Junior Member
Hi,

I'm setting up new openvz host node.
I have 4G RAM + 6G swap area, when I launch vzsplit -n 20 I receive
the following message Fatal resource shortage, try to decrease the number of VEs.

What should I adjust to make vzsplit working ?

Thanks in advance!

Re: Fatal resource shortage [message #21795 is a reply to message #21732] Tue, 16 October 2007 11:19 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
Hi!

i guess you use 2.6.20-x or 2.6.22-x kernel (please, specify it next time, as well as vzsplit owner package's version).

The root of the problem is that vzsplit uses LowTotal value taken from /proc/meminfo which is absent in 2.6.2x-x kernels.

Please, take a look at bugs:
http://bugzilla.openvz.org/show_bug.cgi?id=702
http://bugzilla.openvz.org/show_bug.cgi?id=655

Thank you for the report.
As a workaround you can temporarily install an older kernel (for example - RHEL5 based 2.6.18-x) and run vzsplit. This should work.


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
Re: Fatal resource shortage [message #21797 is a reply to message #21795] Tue, 16 October 2007 11:32 Go to previous messageGo to next message
redr0bin is currently offline  redr0bin
Messages: 5
Registered: September 2007
Location: Latvia
Junior Member
Yes, You're right, my kernel is 2.6.22-ovz003.2, because sata controller on my M/B is not supported by 2.6.18 :/
vzsplit is from stable branch.

Ok, I'll try to self-compile the 2.6.18-el5 kernel.
Thanks.
Re: Fatal resource shortage [message #21801 is a reply to message #21797] Tue, 16 October 2007 12:27 Go to previous message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
You have the option - to rebuild the vzsplit.
Igor has just committed a fix:

http://git.openvz.org/?p=vzctl;a=blobdiff;f=src/vzsplit.c;h= 2cef3d65a91bfd1924ee674def2207840b01aa3c;hp=72c4b11a022d4d23 3a4dc55062920cbb2aa8bee3;hb=HEAD;hpb=e0bed9031d9efa6c3670157 11cafc50a16a8a2f1


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...

[Updated on: Tue, 16 October 2007 12:38]

Report message to a moderator

Previous Topic: File download slows down to 0bps inside VE
Next Topic: Configuring a useless veth
Goto Forum:
  


Current Time: Fri Sep 27 17:23:09 GMT 2024

Total time taken to generate the page: 0.04192 seconds