Editing Oracle 10g VE
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 | + | 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]].}} | ||
− | + | 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: | ||
− | + | # Primary parameters | |
− | + | AVNUMPROC="unlimited:unlimited" | |
− | + | NUMPROC="unlimited:unlimited" | |
− | + | NUMTCPSOCK="unlimited:unlimited" | |
− | + | NUMOTHERSOCK="unlimited:unlimited" | |
− | + | VMGUARPAGES="unlimited:unlimited" | |
− | + | ||
− | + | # Secondary parameters | |
− | + | KMEMSIZE="unlimited:unlimited" | |
− | + | TCPSNDBUF="unlimited:unlimited" | |
− | + | TCPRCVBUF="unlimited:unlimited" | |
− | + | OTHERSOCKBUF="unlimited:unlimited" | |
− | + | DGRAMRCVBUF="unlimited:unlimited" | |
− | + | OOMGUARPAGES="unlimited:unlimited" | |
− | + | ||
− | + | # Auxiliary parameters | |
− | + | LOCKEDPAGES="unlimited:unlimited" | |
+ | SHMPAGES="unlimited:unlimited" | ||
+ | PRIVVMPAGES="unlimited:unlimited" | ||
+ | NUMFILE="unlimited:unlimited" | ||
+ | NUMFLOCK="unlimited:unlimited" | ||
+ | NUMPTY="unlimited:unlimited" | ||
+ | NUMSIGINFO="unlimited:unlimited" | ||
+ | DCACHESIZE="unlimited:unlimited" | ||
− | + | PHYSPAGES="unlimited:unlimited" | |
+ | NUMIPTENT="unlimited:unlimited" | ||
{{Inconsistent UBC warning}} | {{Inconsistent UBC warning}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Start the container == | == Start the container == | ||
vzctl start 1001 | vzctl start 1001 | ||
− | == Update <code>/etc/resolv.conf</code> on the container | + | == Update <code>/etc/resolv.conf</code> on the container |
Put the following into your container's /etc/resolv.conf: | Put the following into your container's /etc/resolv.conf: |