24
edits
Changes
→Reset resource limits
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="2G:2G"
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}}