Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Oracle 10g VE

465 bytes added, 19:50, 11 October 2011
m
Reverted edits by 109.227.76.113 (talk) to last revision by Kir
I decided to have max limits to avoid problems during installation.
Once the installation is
done and the system left running for some time, these limits can should be
adjusted.
{{Note|setting the UBC limits to "unlimited" value like below can only be doneon a trusted single-container machine, and can create problems. For more infoabout UBC, see [[Resource shortage]] and [[UBC]].}}
{{Inconsistent UBC warning}}  vzctl set 1001 --kmemsize 2147483647:2147483647 unlimited --save vzctl set 1001 --lockedpages 2147483647:2147483647 unlimited --save vzctl set 1001 --privvmpages 2147483647:2147483647 unlimited --save vzctl set 1001 --shmpages 2147483647:2147483647 unlimited --save vzctl set 1001 --numproc 2147483647:2147483647 unlimited --save vzctl set 1001 --numtcpsock 2147483647:2147483647 unlimited --save vzctl set 1001 --numflock 2147483647:2147483647 unlimited --save vzctl set 1001 --numpty 2147483647:2147483647 unlimited --save vzctl set 1001 --numsiginfo 2147483647:2147483647 unlimited --save vzctl set 1001 --tcpsndbuf 2147483647:2147483647 unlimited --save vzctl set 1001 --tcprcvbuf 2147483647:2147483647 unlimited --save vzctl set 1001 --othersockbuf 2147483647:2147483647 unlimited --save vzctl set 1001 --dgramrcvbuf 2147483647:2147483647 unlimited --save vzctl set 1001 --numothersock 2147483647:2147483647 unlimited --save vzctl set 1001 --dcachesize 2147483647:2147483647 unlimited --save vzctl set 1001 --numfile 2147483647:2147483647 unlimited --save vzctl set 1001 --numiptent 2147483647:2147483647 unlimited --save Or you can set these limits in your <code>/etc/vz/conf/1001.conf</code> file:
{{Inconsistent UBC warning}}
<pre>
# Primary parameters
AVNUMPROC="unlimited"
NUMPROC="unlimited"
NUMTCPSOCK="unlimited"
NUMOTHERSOCK="unlimited"
VMGUARPAGES="unlimited"
 
# Secondary parameters
KMEMSIZE="unlimited"
TCPSNDBUF="unlimited"
TCPRCVBUF="unlimited"
OTHERSOCKBUF="unlimited"
DGRAMRCVBUF="unlimited"
OOMGUARPAGES="unlimited"
 
# Auxiliary parameters
LOCKEDPAGES="unlimited"
SHMPAGES="unlimited"
PRIVVMPAGES="unlimited"
NUMFILE="unlimited"
NUMFLOCK="unlimited"
NUMPTY="unlimited"
NUMSIGINFO="unlimited"
DCACHESIZE="unlimited"
 
PHYSPAGES="unlimited"
NUMIPTENT="unlimited"
</pre>
== Start the container ==
vzctl start 1001
== Update <code>/etc/resolv.conf</code> on the container ==
Put the following into your container's /etc/resolv.conf: