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 11-05-2014, 09:21 AM   #1
sukantamanna84
LQ Newbie
 
Registered: Nov 2014
Posts: 2

Rep: Reputation: Disabled
Linux Server Occupied Huge Ram


Hi ,
I have 3 Dell Power edge R710 server.
In this server I will run Oracle EBS R12. Today Trying copy
One server to another two server . All three servers are taking huge memory.
1. Server1 : UAT using 32 GB RAM
2. Server2 : PRODDB Using 22 GB RAM
3. Server3 : PRODERP Using 17 GB RAM.

In my knowledge servers are not be able to free up the RAM.
Please suggest experts any immediate solution.

Regards
Sukanta Manna
Oracle DBA & Linux Admin.
 
Old 11-05-2014, 12:10 PM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
What do you mean your servers can't free memory? It sounds like you're asking for advice on installing Linux. Then it also sounds like you're asking for advice on troubleshooting. Your question isn't clear. Please rephrase your question.
 
Old 11-05-2014, 10:14 PM   #3
sukantamanna84
LQ Newbie
 
Registered: Nov 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Problem solve

Hi Using this command I can free up RAM

free && sync && echo 3 > /proc/sys/vm/drop_caches && free
 
Old 11-05-2014, 10:16 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
There was no problem - read this
 
Old 11-07-2014, 08:40 AM   #5
alabit
LQ Newbie
 
Registered: Nov 2014
Location: Hoffman Estates, IL
Distribution: Debian
Posts: 27

Rep: Reputation: Disabled
Yes, as syg00 already pointed out unused RAM is wasted RAM, and file copy/move may quickly occupy all available RAM but a few hundred megabytes. Another fact might worth to add is that not all tools report this the same way. top, for example, may not show that the RAM was returned, or the GNOME System Monitor may not show that it was 'borrowed' in the first place.

In any case, even when acting on very large files or a large number of files (many times more than the available RAM+swap) if the kernel 'borrows' so much RAM there might be a related issue - such as incorrect boot options or block sizes making disk operations less than optimal, so when it happens repeatedly it might worth investigating a little.
 
Old 11-08-2014, 01:58 PM   #6
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
Also, manually running free and sync is a pretty crazy move-especially since freeing up RAM like that means it writes it back out to disk. If you're manually copying data, *and* writing shitloads of RAM back to disk, you have a recipe for a mess.

What you didn't tell us is how much RAM was consumed as cache and as buffers...that's the difference between normal Linux memory utilization, and a problem.

Last edited by GaWdLy; 11-08-2014 at 01:59 PM.
 
Old 11-08-2014, 05:37 PM   #7
alabit
LQ Newbie
 
Registered: Nov 2014
Location: Hoffman Estates, IL
Distribution: Debian
Posts: 27

Rep: Reputation: Disabled
GaWdly,

What you are asking the OP is the wrong way to go about this.. As I pointed out in my post trusting ANY tool when the basic configuration is worng IS crazy, not the other way around -asking a crazed tool to give you a sane answer. This is not UNIX only but the basic facts of life in general.

We could go about this all day long, but the fact is I signed up with linuxquestions after I have learned in a post here that some of my disks in my server I configured with the 'sync' options at boot, and started cp VirtualBox vdi files in the background from a shell, took 24 hours to forever to finish (48GB vdi files each on SATA3 internal drives, some SDD). I too trusted the tools, thus the gist of my post.

I used everything I could imagine while the server was running, I stopped all cp, mount -a, etc... until I get the damned sync out of my fstab and rebooted the server. After that 48GB files copied in seconds - not in hours or days.

The bottom line is - do not trust the tools, trust the facts and your intuition and experience.
 
Old 11-08-2014, 06:23 PM   #8
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
Quote:
Originally Posted by alabit View Post
GaWdly,

What you are asking the OP is the wrong way to go about this.. As I pointed out in my post trusting ANY tool when the basic configuration is worng IS crazy, not the other way around -asking a crazed tool to give you a sane answer. This is not UNIX only but the basic facts of life in general.

We could go about this all day long, but the fact is I signed up with linuxquestions after I have learned in a post here that some of my disks in my server I configured with the 'sync' options at boot, and started cp VirtualBox vdi files in the background from a shell, took 24 hours to forever to finish (48GB vdi files each on SATA3 internal drives, some SDD). I too trusted the tools, thus the gist of my post.

I used everything I could imagine while the server was running, I stopped all cp, mount -a, etc... until I get the damned sync out of my fstab and rebooted the server. After that 48GB files copied in seconds - not in hours or days.

The bottom line is - do not trust the tools, trust the facts and your intuition and experience.
I'm confused by your response. Nowhere did I ask the OP a question. I was merely backing others up, and providing some information about why the OP's request was being approached incorrectly.

I do disagree with you, wholeheartedly-in spite of your religious experience with ignoring tools. I'm pretty sure the facts of life don't play into memuse...

"Let's go with my gut on this tuning and performance issue, in spite of the data"-no man in a successful server environment ever said (at least when he had data available to him in order to make an informed decision).

I poke fun only to raise the tone of the thread. Tools, and performance data are very important, and to ignore them is perilous. It took you much time and many tries before you happened upon a fix for your problem...that wasn't intuition.
 
Old 11-09-2014, 12:07 AM   #9
alabit
LQ Newbie
 
Registered: Nov 2014
Location: Hoffman Estates, IL
Distribution: Debian
Posts: 27

Rep: Reputation: Disabled
"What you didn't tell us is.."
say no more, it is a question, implied or not.

You read to be a very confused and upside-down person.

Assuming you are living in a flat when sub-zero temps starts to crack your bathroom pipes but the thremo dial stuck on torpical which one would you fix firts?

The OP posted high RAM usage, syg00 dismissed it, and I supported the fact by posting a personal experinece leading the issue back to STORAGE configuration. Then you come in asking for what ..? Ah, you have asked the men who's house was burning about the temperature of selected flames.

And here is the part which will surely bug you at least for a while:
Any system, being technology, science, culture, history, political or religious - deserves a full-scale investigation upon showing signs of trouble. If it was up to you I would still be growing peas in the Alps as a peasant or worse - having my throat cut and sacrificed to a planet called Jupiter.

You are not only wrong, but also ignorant.
 
Old 11-09-2014, 12:41 AM   #10
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Quote:
Originally Posted by alabit View Post
And here is the part which will surely bug you at least for a while:
Any system, being technology, science, culture, history, political or religious - deserves a full-scale investigation upon showing signs of trouble. If it was up to you I would still be growing peas in the Alps as a peasant or worse - having my throat cut and sacrificed to a planet called Jupiter.

You are not only wrong, but also ignorant.
I have re-re-re-read this thread trying to understand what you think you read here... and remain baffled. I think that you have completely mis-read GaWdly's post and suggest that you reconsider it. Perhaps it is a language barrier both ways.

In any event, the personal insults are not welcome in any context, especially here on LQ.
 
1 members found this post helpful.
Old 11-09-2014, 01:04 AM   #11
alabit
LQ Newbie
 
Registered: Nov 2014
Location: Hoffman Estates, IL
Distribution: Debian
Posts: 27

Rep: Reputation: Disabled
It is not a personal attack of course.

It was the reply to my post to GawdLy from GawdLy on 06:24 which is now obviously escalating into a personal issue.

I would love to discuss this issue with you or any other member of Linuxqestions.org. The problem at hand is, what I believe, a post by me is taken as a personal attack - which was not meant to be.
Then, it became one, which is my fault.
 
Old 11-09-2014, 01:16 AM   #12
alabit
LQ Newbie
 
Registered: Nov 2014
Location: Hoffman Estates, IL
Distribution: Debian
Posts: 27

Rep: Reputation: Disabled
GaWdLy

I apologize for all the things I wrote on this forum which you take as a personal attack or demeaning to your person.
Sincerely
Sandor (my real name)

I am truly sorry, but I wish the OP would show up and tell us it was STORAGE, not RAM.
 
Old 11-09-2014, 11:05 AM   #13
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
Sandor, I still have no idea what you're getting on about. As long as it stops here, we're good. Apology accepted.
 
  


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
What type of problems do I may have running a 32 bit OS with a huge amount of RAM? Alberto López Torres Linux - General 1 06-03-2009 10:46 AM
Huge server crash. Very old linux distro jedilost1 Linux - Newbie 9 11-29-2008 03:59 PM
How mush RAM do I need (Linux / ubuntu server)? niklas78 Linux - Hardware 3 03-05-2008 12:10 PM
memory occupied by a program rajesh_b Programming 3 11-15-2006 10:07 AM
Huge RAM usage? RTT Slackware 4 11-28-2003 03:51 PM

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

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