Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 05-21-2012, 11:27 AM   #1
LQ Newbie
Registered: May 2012
Posts: 1

Rep: Reputation: Disabled
How to rectify Linux server slowness, maybe related to swap usage?

We have a Linux server and an exclusive process run on that server. The process usually takes around 7 hours to complete but on some days we have also noticed that it took up to 10/11 hours.

We generally use vmstat command to see the memory allocations.

On days, it has ran normally, the ‘Swapped’ indicator (o/p of vmstat) showed ‘0’ whereas on days it ran slowly, the ‘Swapped’/Swpd indicator was a good number ( in M megabytes).

I would appreciate if someone can tell me if swapping is anyway related to the slowness here. If yes, then we do the system use swap memory when thousands of megabytes are still free.

How we can rectify the scenario and avoid slowness?
Any other pointers are also welcomed. Thanks in Advance!!!

Last edited by linux273; 05-21-2012 at 11:30 AM.
Old 05-21-2012, 01:33 PM   #2
LQ Newbie
Registered: Jun 2004
Location: Netherlands
Distribution: adistro
Posts: 24

Rep: Reputation: 0
Ofcourse swapping makes any application slow.
the harddisk is many times slower than internal memory.
as you said this is one process.
the fact that it needs to swap, while there is free memory available,
means the code is not optimized to make use of the memory available.

secondly I wonder if splitting the process into several partial problems would help you
as you can pinpoint more easily when / where the problem originates.
Old 05-21-2012, 01:46 PM   #3
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Please use a descriptive title for your thread excluding words like 'urgent' or 'help'. Using a proper title makes it easier for members to help you. This thread has been reported for title modification. Please do not add replies that address the thread title.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
some problems related to Linux usage amit12sept Linux - Newbie 1 11-05-2008 06:49 AM
Tired of trying to rectify the problem with multiple linux booting!!:confused: Azzath Fedora 2 03-16-2005 04:28 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration