Well, all the classic Linux commands (top, htop, du, uptime, etc.) ran on the HN will give you the global ressource usage.<br>For preventing the ressource overuse, well, make sure your total VE&#39;s RAM &amp; reserved HDD space don&#39;t exceed the available resources and all should go well.<br>

For CPU resources, I&#39;ll let more experienced people answer.<br><br><div class="gmail_quote">2010/9/20 Joseph Begumisa <span dir="ltr">&lt;<a href="mailto:j.begumisa@gmail.com">j.begumisa@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Hi,<div><br></div><div>I have a server with specs 4GB RAM, 250GB HDD, 4GB Swap and Intel Core 2 Quad CPU @ 2.83GHz and currently have 20 containers.  I&#39;m running the 2.6.18-194.8.1.el5.028stab070.5PAE kernel.</div><div>



<br></div><div>Is there a command I can run to see resource usage on the hardware node?  What would happen if all hardware node resources are used up and how can I prevent that from happening?  This is a sample of one of my container configurations.  I&#39;m still reading through the man pages to better see how to optimize resource usage, however, i&#39;d appreciate it if anyone with more experience than me can point out the main configuration options below I should focus on.  Thanks.</div>



<div><br></div><div>---START---</div><div><div>KMEMSIZE=&quot;11055923:11377049&quot;</div><div>LOCKEDPAGES=&quot;432:432&quot;</div><div>PRIVVMPAGES=&quot;131072:140800&quot;</div><div>SHMPAGES=&quot;62124:62124&quot;</div>



<div>NUMPROC=&quot;400:400&quot;</div><div>PHYSPAGES=&quot;0:2147483647&quot;</div><div>VMGUARPAGES=&quot;65536:2147483647&quot;</div><div>OOMGUARPAGES=&quot;65536:2147483647&quot;</div><div>NUMTCPSOCK=&quot;400:400&quot;</div>



<div>NUMFLOCK=&quot;345:379&quot;</div><div>NUMPTY=&quot;40:40&quot;</div><div>NUMSIGINFO=&quot;1024:1024&quot;</div><div>TCPSNDBUF=&quot;1317150:2955550&quot;</div><div>TCPRCVBUF=&quot;1317150:2955550&quot;</div><div>OTHERSOCKBUF=&quot;1126080:2296975&quot;</div>



<div>DGRAMRCVBUF=&quot;658575:658575&quot;</div><div>NUMOTHERSOCK=&quot;400:400&quot;</div><div>DCACHESIZE=&quot;3409920:3624960&quot;</div><div>NUMFILE=&quot;9312:9312&quot;</div><div>AVNUMPROC=&quot;180:180&quot;</div>


<div>
NUMIPTENT=&quot;100:100&quot;</div></div><div><div>DISKSPACE=&quot;5242880:5242880&quot;</div><div>DISKINODES=&quot;200000:220000&quot;</div><div>QUOTATIME=&quot;0&quot;</div></div><div>CPUUNITS=&quot;5000&quot;</div><div>



<br></div><div>---END---</div><div><br></div><div>Best Regards,<br><br>Joseph<br>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
<a href="https://openvz.org/mailman/listinfo/users" target="_blank">https://openvz.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br>