Thanks. But, what I fail to understand is why swap is not used at all on
this server. Swap used always shows zero. In another server I see swap
gets used as needed. I am suspecting this to be reason of problem with
this server. 

Can anyone suggest what can cause swap used to always remain at zero.

total       used       free     shared    buffers     cached
Mem:        513348     130136     383212          0      11792
55348
-/+ buffers/cache:      62996     450352
Swap:      1052216          0    1052216

Thanks again,
Tushar


-----Original Message-----
From: Tarun Dua [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 02, 2003 10:55 AM
To: Linux Users Group Delhi
Subject: Re: [ilugd]: swap usage

On Mon, 2003-03-31 at 20:57, Tushar Gupta wrote:

> The swap used on our server always shows 0 as seen by output of free
> command. Because of this our RAM gets fully used and server becomes
> slow.
> What may be the reason for this
            Total      used       free  shared buffers  cached
Mem:        512852     504164     8688    0    26104    352264
-/+ buffers/cache:     125796   387056
Swap:            0          0          0
Under Linux the free memory shown in first line is actually 
wasted/unused/un-utilized memory.
In the second line you can actually see the free memory which is a sum
of 
cached+buffers+free.
Now as to why the server is slow can be dependent on many reasons.
What hardware and software configuration do you use.
Have you shutdown all the unused services etc.
A few kernel and HDD optimizations ( sysctl , hdparm ) may be in order.
Or better still a kernel recompile.
-- 
http://www.tarundua.net
Nothing you ever wanted to find about Tarun Dua

          ================================================
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in
subject header. Check archives at
http://www.mail-archive.com/ilugd%40wpaa.org



          ================================================
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header. 
Check archives at http://www.mail-archive.com/ilugd%40wpaa.org

Reply via email to