OpenVZ Forum


Home » General » Support » *RESOLVED* live-helper
*RESOLVED* live-helper [message #13859] Wed, 06 June 2007 16:37 Go to next message
hendry is currently offline  hendry
Messages: 3
Registered: June 2007
Junior Member
I am building a LiveCD with Debian's live helper and it is proving to be quite a test for openvz.

The VE's hostname is 'simon':

hendry@simon:~/configs/webconverger$ sudo cat /proc/user_beancounters | grep -v 0$
Version: 2.5
       uid  resource           held    maxheld    barrier      limit    failcnt
      100:  kmemsize         623499    2764532    2752512    2936012         99
            tcprcvbuf             0     496384     319488     524288       4309
            numfile             277       2048       2048       2048        377



I've set enough memory on argo the HN:

sudo vzctl set 100 --privvmpages $((256 * 1024)) --save
sudo vzctl set 100 --vmguarpages $((256 * 256)) --save 
argo$ sudo vzcalc -v 100
Resource     Current(%)  Promised(%)  Max(%)
Low Mem          0.15       1.22       1.22
Total RAM        0.34        n/a        n/a 
Mem + Swap       0.17       0.70        n/a
Alloc. Mem       0.29       6.43      25.42
Num. Proc        0.01        n/a       0.10
--------------------------------------------
Memory           0.34       6.43      25.42


In the sudo lh_build process I am getting:

/dev/mem: Permission denied
/usr/share/initramfs-tools/hook-functions: fork: Cannot allocate memory
/usr/sbin/mkinitramfs: fork: Cannot allocate memory

hendry@simon:~$ free -m
             total       used       free     shared    buffers     cached
Mem:          1998       1917         80          0         97       1301
-/+ buffers/cache:        518       1479
Swap:         2047          0       204



Any ideas?

If you want to give live-helper a try, grab it from:

deb http://live.debian.net/debian etch main

And good luck.

[Updated on: Thu, 07 June 2007 06:52] by Moderator

Report message to a moderator

Re: live-helper [message #13860 is a reply to message #13859] Wed, 06 June 2007 17:10 Go to previous messageGo to next message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
any failcnt's in /proc/user_beancounters?



-------------
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: live-helper [message #13861 is a reply to message #13860] Wed, 06 June 2007 18:02 Go to previous messageGo to next message
hendry is currently offline  hendry
Messages: 3
Registered: June 2007
Junior Member
Yes, they're listed in my original query.

Or are you looking for something else?
icon14.gif  Re: live-helper [message #13862 is a reply to message #13860] Wed, 06 June 2007 20:42 Go to previous message
hendry is currently offline  hendry
Messages: 3
Registered: June 2007
Junior Member
sudo vzctl set 100 --diskspace 10G --save


Oh, the problem was disk space!
Previous Topic: *SOLVED* VE Network hangs
Next Topic: *BUG REPORTED* Cannot configure VRRPD inside a VE
Goto Forum:
  


Current Time: Thu Nov 07 20:05:22 GMT 2024

Total time taken to generate the page: 0.03388 seconds