My server returning an error sth. like swap = 0 then locking httpd and all other services is this normal this is a virtual machine and i give it 3 gb ram and 4cpu of i7 920 i have 1 gbit connection on this machine finally i have 4000+ clients at one time :S -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100413/1cd11a30/attachment-0002.html>
cahit Eyig?nl? wrote:> My server returning an error sth. like swap = 0 then locking httpd and > all other services > is this normal > this is a virtual machine and i give it 3 gb ram and 4cpu of i7 920 > i have 1 gbit connection on this machine > finally i have 4000+ clients at one time :S >No. This is not normal. Did you create a swap partition when you were installing the system? If you do a "fdisk /dev/sda", change "sda" to your disk, you'll see something like this: Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 83 Linux /dev/sda2 14 535 4192965 82 Linux swap / Solaris /dev/sda3 536 4427 31262490 83 Linux The command "free" can give you a hint about your swap space: newt (Linux)$ free total used free shared buffers cached Mem: 2074956 1926248 148708 0 27900 1252224 -/+ buffers/cache: 646124 1428832 Swap: 4192956 124 4192832 newt (Linux)$ Regards mg.
Cahit, 2010/4/13 cahit Eyig?nl? <cahit.eyigunlu at gmail.com>:> My server returning an error sth. like swap = ?0 then locking httpd and allSet up a monitoring tool like sar etc. or my favourite, nmon with capacity planning. Depending on what those 4k users are doing, you might be running out of RAM + swap space until the out-of-memory killer kicks in and frees up some space by killing some processes. You should be able to see that activity in the message logfile. -- Hakan (m1fcj) - http://www.hititgunesi.org