LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-21-2012, 11:27 AM   #1
linux273
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
UndiFineD
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
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:20 AM.

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