FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 04-13-2010, 09:49 AM
cahit Eyigünlü
 
Default Swap = 0

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
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-13-2010, 09:56 AM
"Marcelo M. Garcia"
 
Default Swap = 0

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@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-13-2010, 10:00 AM
cahit Eyigünlü
 
Default Swap = 0

root@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@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@centos.org

http://lists.centos.org/mailman/listinfo/centos



_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 09:45 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org