<p class="MsoPlainText">Actually that is better i think ;</p><p class="MsoPlainText">is there any optimization tool i have added 2 more gb ram but it is still locking server :S</p><p class="MsoPlainText"><br></p><p class="MsoPlainText">
top - 13:11:13 up 33 min,<span style="mso-spacerun:yes">
</span>2 users,<span style="mso-spacerun:yes"> </span>load average: 29.96,
13.75, 10.97</p>
<p class="MsoPlainText">Tasks: 280 total,<span style="mso-spacerun:yes">
</span>40 running, 236 sleeping,<span style="mso-spacerun:yes"> </span>0
stopped,<span style="mso-spacerun:yes"> </span>4 zombie</p>
<p class="MsoPlainText">Cpu(s): 61.1%us, 34.2%sy,<span style="mso-spacerun:yes">
</span>0.0%ni,<span style="mso-spacerun:yes"> </span>0.0%id,<span style="mso-spacerun:yes"> </span>0.0%wa,<span style="mso-spacerun:yes">
</span>0.3%hi,<span style="mso-spacerun:yes"> </span>4.4%si,<span style="mso-spacerun:yes"> </span>0.0%st</p>
<p class="MsoPlainText">Mem:<span style="mso-spacerun:yes"> </span>3090588k
total,<span style="mso-spacerun:yes"> </span>2481096k used,<span style="mso-spacerun:yes"> </span>609492k free,<span style="mso-spacerun:yes"> </span>16068k buffers</p>
<p class="MsoPlainText">Swap:<span style="mso-spacerun:yes"> </span>2064376k
total,<span style="mso-spacerun:yes"> </span>22796k used,<span style="mso-spacerun:yes"> </span>2041580k free,<span style="mso-spacerun:yes"> </span>274104k cached</p>
<p class="MsoPlainText"> </p>
<p class="MsoPlainText"><span style="mso-spacerun:yes"> </span>PID USER<span style="mso-spacerun:yes"> </span>PR<span style="mso-spacerun:yes">
</span>NI<span style="mso-spacerun:yes"> </span>VIRT<span style="mso-spacerun:yes"> </span>RES<span style="mso-spacerun:yes">
</span>SHR S %CPU %MEM<span style="mso-spacerun:yes"> </span>TIME+<span style="mso-spacerun:yes"> </span>COMMAND</p>
<p class="MsoPlainText"><span style="mso-spacerun:yes"> </span>4331 root<span style="mso-spacerun:yes"> </span>18<span style="mso-spacerun:yes">
</span>0<span style="mso-spacerun:yes"> </span>169m 131m<span style="mso-spacerun:yes"> </span>764 S<span style="mso-spacerun:yes">
</span>0.0<span style="mso-spacerun:yes"> </span>4.3<span style="mso-spacerun:yes"> </span>0:01.75 /usr/sbin/clamd</p>
<p class="MsoPlainText"><span style="mso-spacerun:yes"> </span>4228 mysql<span style="mso-spacerun:yes"> </span>15<span style="mso-spacerun:yes">
</span>0<span style="mso-spacerun:yes"> </span>356m<span style="mso-spacerun:yes"> </span>53m 3904 S 24.0<span style="mso-spacerun:yes"> </span>1.8<span style="mso-spacerun:yes">
</span>5:42.20 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mys</p><br><div class="gmail_quote">2010/4/13 Hakan Koseoglu <span dir="ltr"><<a href="mailto:hakan@koseoglu.org">hakan@koseoglu.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Cahit,<br>
2010/4/13 cahit Eyigünlü <<a href="mailto:cahit.eyigunlu@gmail.com">cahit.eyigunlu@gmail.com</a>>:<br>
<div class="im">> My server returning an error sth. like swap = 0 then locking httpd and all<br>
</div>Set up a monitoring tool like sar etc. or my favourite, nmon with<br>
capacity planning. Depending on what those 4k users are doing, you<br>
might be running out of RAM + swap space until the out-of-memory<br>
killer kicks in and frees up some space by killing some processes. You<br>
should be able to see that activity in the message logfile.<br>
<font color="#888888">--<br>
Hakan (m1fcj) - <a href="http://www.hititgunesi.org" target="_blank">http://www.hititgunesi.org</a><br>
</font><div><div></div><div class="h5">_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</div></div></blockquote></div><br>