OpenVZ Forum


Home » General » Discussions » Memory Issue size
Re: Memory Issue size [message #1660 is a reply to message #1547] Sun, 19 February 2006 09:31 Go to previous messageGo to previous message
disaster is currently offline  disaster
Messages: 158
Registered: February 2006
Senior Member
sorry but it does not work - for me.

I tried to set the limit and the barrier to 128MB.

root:~# vzctl set 4 --privvmpages 32768:32768 --oomguarpages 32768:32768 --physpages 32768:32768 --vmguarpages 32768:32768 --save
Saved parameters for VPS 4
root:~# vzctl start 4    
Starting VPS ...
VPS is mounted
Adding IP address(es): 192.168.0.13
Setting CPU units: 1000
Set hostname: myhostname
File resolv.conf was modified
Setting quota ugidlimit: 99999999
VPS start in progress...
root:~# ssh 192.168.0.13
Password: 
Last login: Sun Feb 19 09:26:03 2006 from 192.168.0.10
myhostname:~# perl -e '$a="a";for(;;) {$a.=$a; print "allocated ".int(length($a)/1024/1024)."MB\n";}'  
allocated 0MB
allocated 0MB
allocated 0MB
allocated 0MB
allocated 0MB
allocated 0MB
allocated 0MB
allocated 0MB
allocated 0MB
allocated 0MB
allocated 0MB
allocated 0MB
allocated 0MB
allocated 0MB
allocated 0MB
allocated 0MB
allocated 0MB
allocated 0MB
allocated 0MB
allocated 1MB
allocated 2MB
allocated 4MB
allocated 8MB
allocated 16MB
allocated 32MB
allocated 64MB
allocated 128MB
allocated 256MB
allocated 512MB
allocated 1024MB
Out of memory!


I don't understand that...

Stefan
 
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Anyone know how to use Samba as PDC in a VPS?
Next Topic: Memory Issue Inside Of Vps see all Memory from server host
Goto Forum:
  


Current Time: Fri Aug 08 04:01:14 GMT 2025

Total time taken to generate the page: 0.40841 seconds