Editing Oracle 10g VE

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 13: Line 13:
 
I decided to have max limits to avoid problems during installation.
 
I decided to have max limits to avoid problems during installation.
 
Once the installation is
 
Once the installation is
done and the system left running for some time, these limits should be
+
done and the system left running for some time, these limits can be
 
adjusted.
 
adjusted.
  
{{Note|setting the UBC limits to "unlimited" value like below can only be done on a trusted single-container machine, and can create problems. For more info about UBC, see [[Resource shortage]] and [[UBC]].}}
+
{{Note|setting the UBC limits to "unlimited" value like below can only be done
 +
on a trusted single-container machine, and can create problems. For more info
 +
about UBC, see [[Resource shortage]] and [[UBC]].}}
  
{{Inconsistent UBC warning}}
+
vzctl set 1001 --kmemsize 2147483647:2147483647 --save
 +
vzctl set 1001 --lockedpages 2147483647:2147483647 --save
 +
vzctl set 1001 --privvmpages 2147483647:2147483647 --save
 +
vzctl set 1001 --shmpages 2147483647:2147483647 --save
 +
vzctl set 1001 --numproc 2147483647:2147483647 --save
 +
vzctl set 1001 --numtcpsock 2147483647:2147483647 --save
 +
vzctl set 1001 --numflock 2147483647:2147483647 --save
 +
vzctl set 1001 --numpty 2147483647:2147483647 --save
 +
vzctl set 1001 --numsiginfo 2147483647:2147483647 --save
 +
vzctl set 1001 --tcpsndbuf 2147483647:2147483647 --save
 +
vzctl set 1001 --tcprcvbuf 2147483647:2147483647 --save
 +
vzctl set 1001 --othersockbuf 2147483647:2147483647 --save
 +
vzctl set 1001 --dgramrcvbuf 2147483647:2147483647 --save
 +
vzctl set 1001 --numothersock 2147483647:2147483647 --save
 +
vzctl set 1001 --dcachesize 2147483647:2147483647 --save
 +
vzctl set 1001 --numfile 2147483647:2147483647 --save
 +
vzctl set 1001 --numiptent 2147483647:2147483647 --save
 +
 
 +
Or you can set these limits in your vz.conf file:
  
  vzctl set 1001 --kmemsize unlimited --save
+
  # Primary parameters
  vzctl set 1001 --lockedpages unlimited --save
+
AVNUMPROC="unlimited:unlimited"
  vzctl set 1001 --privvmpages unlimited --save
+
  NUMPROC="unlimited:unlimited"
  vzctl set 1001 --shmpages unlimited --save
+
  NUMTCPSOCK="unlimited:unlimited"
  vzctl set 1001 --numproc unlimited --save
+
  NUMOTHERSOCK="unlimited:unlimited"
  vzctl set 1001 --numtcpsock unlimited --save
+
  VMGUARPAGES="unlimited:unlimited"
  vzctl set 1001 --numflock unlimited --save
+
  vzctl set 1001 --numpty unlimited --save
+
# Secondary parameters
  vzctl set 1001 --numsiginfo unlimited --save
+
  KMEMSIZE="unlimited:unlimited"
  vzctl set 1001 --tcpsndbuf unlimited --save
+
  TCPSNDBUF="unlimited:unlimited"
  vzctl set 1001 --tcprcvbuf unlimited --save
+
  TCPRCVBUF="unlimited:unlimited"
  vzctl set 1001 --othersockbuf unlimited --save
+
  OTHERSOCKBUF="unlimited:unlimited"
  vzctl set 1001 --dgramrcvbuf unlimited --save
+
  DGRAMRCVBUF="unlimited:unlimited"
  vzctl set 1001 --numothersock unlimited --save
+
  OOMGUARPAGES="unlimited:unlimited"
  vzctl set 1001 --dcachesize unlimited --save
+
   
  vzctl set 1001 --numfile unlimited --save
+
# Auxiliary parameters
  vzctl set 1001 --numiptent unlimited --save
+
LOCKEDPAGES="unlimited:unlimited"
 +
  SHMPAGES="unlimited:unlimited"
 +
  PRIVVMPAGES="unlimited:unlimited"
 +
  NUMFILE="unlimited:unlimited"
 +
  NUMFLOCK="unlimited:unlimited"
 +
  NUMPTY="unlimited:unlimited"
 +
NUMSIGINFO="unlimited:unlimited"
 +
DCACHESIZE="unlimited:unlimited"
  
Or you can set these limits in your <code>/etc/vz/conf/1001.conf</code> file:
+
PHYSPAGES="unlimited:unlimited"
 +
NUMIPTENT="unlimited:unlimited"
  
 
{{Inconsistent UBC warning}}
 
{{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 ==
 
== Start the container ==

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Templates used on this page: