[CentOS] Swap = 0

Tue Apr 13 10:00:33 UTC 2010
cahit Eyigünlü <cahit.eyigunlu at gmail.com>

root at lin [~]# free

             total       used       free     shared    buffers     cached

Mem:       3090588     908844    2181744          0      11948     266892

-/+ buffers/cache:     630004    2460584

Swap:      2064376      22796    2041580




2010/4/13 Marcelo M. Garcia <marcelo.maia.garcia at googlemail.com>

> 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.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100413/7f48af07/attachment-0005.html>