LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 01-19-2016, 05:48 AM   #1
abdulhameedom
LQ Newbie
 
Registered: May 2014
Posts: 11

Rep: Reputation: Disabled
Unhappy Why my Swap Memory is not working !


Hi,

I have installed Oracle Enterprise Linux 6.1 for SAS Visual Analytics.

The Server have 1TB HD and 284GB of RAM and 512GB of Swap Size.

Very recently my users getting performance issues in SAS Visual Analytics Reports. As of now there are only three users accessing this server.

I have checked the servers 'System Monitor' (Graphical Tool) the CPU History graphs very much busy and 'Memory and Swap History' graphs are not moved a single bit. I mean there is no history.

Also, in the application side, there is no task done from the users either from the developers.

I could not able to identify the issue.

Kindly some one help me Immediately.

Thanks in Advance,
Hameed
 
Old 01-19-2016, 06:58 AM   #2
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
On what do you base your conclusion that "Swap memory is not working" ??

From the very limited amount of information you provided, I would guess you massively over configured memory and your users' tasks need only a tiny fraction of that memory.

They may expect better performance than they can get (for the CPU work required by those tasks) or you might have something configured incorrectly to make the CPU less effective. But memory does not seem to be a factor.

Are the numbers you gave correct? In what possible application could 284GB of ram be appropriate, but you can manage with just 1TB of hard drive and waste half of that on swap space?? If your numbers are correct, I expect you followed some ancient (and even back then incorrect) "rule of thumb" for making swap space roughly double ram. I can imagine applications in which 284GB of ram with 500GB of swap space makes sense, but I'd give pretty long odds that you are not managing such an application. Get rid of most of that swap space. It won't fix whatever problem you think you're having, but it is a correct thing to do.

Last edited by johnsfine; 01-19-2016 at 07:09 AM.
 
Old 01-19-2016, 07:41 AM   #3
abdulhameedom
LQ Newbie
 
Registered: May 2014
Posts: 11

Original Poster
Rep: Reputation: Disabled
Unhappy

Hi, its a massive application which is going to be a production, presently most of the development done in this server. we having a test server which is running on VM server with very less amount of configuration but from there the application works fine.

In SAS Visual Analytic server, all the inputs will be stored in the RAM to give a result for the users that is the reason we were given very large memory in use.

Help me to identify the issue from OS level.

Regards,
Hameed
 
Old 01-19-2016, 09:02 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,317
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
Linux uses swap only when it needs to use swap.

If the available RAM is enough, swap will show no usage. You can use the free command for a snapshot of memory usage.
 
Old 01-19-2016, 09:45 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
See if swap is really activated?

Also can look more into it. I think this is the correct info. https://access.redhat.com/documentat...and_Usage.html
 
Old 01-21-2016, 07:21 AM   #6
oldtechaa
Member
 
Registered: May 2015
Location: US
Distribution: Fedora
Posts: 364

Rep: Reputation: 83
Yes, examine free and see if you're actually using much of anything. You have way more memory than you need.
 
Old 01-21-2016, 10:28 AM   #7
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
And output would be nice?

What's the output of...

Code:
cat /proc/meminfo 
free -m

Last edited by custangro; 01-21-2016 at 10:28 AM. Reason: code tags
 
Old 01-22-2016, 01:41 PM   #8
Ihatewindows522
Member
 
Registered: Oct 2014
Location: Fort Wayne
Distribution: Ubuntu 16.04 LTS
Posts: 616
Blog Entries: 2

Rep: Reputation: 166Reputation: 166
Quote:
Originally Posted by frankbell View Post
Linux uses swap only when it needs to use swap.

If the available RAM is enough, swap will show no usage. You can use the free command for a snapshot of memory usage.
Or when you define it.

http://askubuntu.com/questions/10391...ure-swappiness

I know this firsthand, I had to deal with it yesterday: why a machine with 8GB of RAM, only using 4GB, is swapping insanely.
 
Old 01-22-2016, 05:48 PM   #9
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
Quote:
Originally Posted by abdulhameedom View Post
Hi,

I have installed Oracle Enterprise Linux 6.1 for SAS Visual Analytics.
https://support.sas.com/documentation/onlinedoc/va/

There is an installation guide (requires a user id/passwd), have you read that?

Typically those guides have minimum requirements for hardware, hard disk space, memory, and swap, in order for the application to run correctly.
 
  


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
Live DVD runs out of memory - using swap - free memory doesn't help at upgrade .... LiNuXkOlOnIe Linux - Distributions 3 06-09-2013 09:35 PM
memory metric to monitor memory usage or swap? karlochacon Linux - Newbie 5 08-13-2011 03:49 PM
process, memory, swap, virtual memory wakatana Linux - Hardware 1 08-31-2009 07:55 AM
Swap Memory / Virtual Memory in Fedora Core 6 Jojo_CFT Linux - Newbie 2 10-15-2007 04:23 AM
Difference between Swap Virtrual memory and Swap Parition Nappa Slackware 4 11-27-2003 07:58 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 05:35 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