Memory Usage on Linux server


 
Thread Tools Search this Thread
Operating Systems Linux Memory Usage on Linux server
# 1  
Old 01-21-2009
Error Memory Usage on Linux server

Hi ,

As I am new to Linux server, I am facing some doubts like: On linux server virtual memory usage goes to 99%, but I have Threshold limit of 95%. So it crossed the threshold limit and alarmd.

Yesterday I moniterd the server using TOP command, and found some of Tibco process was consuming much memory. Since I stopped the 4 tibco process, then the memory usage become below threshold, but again once I restarted the stopped processes, that process again consuming same memory as previos and memory usage again going to 99%.

But suddenly today morning I saw the memory usage, it is 39% only. (All same preocess are running on server with same memory consumption, I varifid.) Nothing done to server or processes running on server.

Can anyone give me some inputs on

#How come this scenario should happen??
#The tibco processes which was consuming much memory, how will be different from other tibco processes which was normal??
#What will be the cause of memory releasing automatically, as all process are running with same memory consumption??
#If same incident occured in future, then how to release memory??

Thanking you in advance..!

Thanks,
Jay
# 2  
Old 01-21-2009
Quote:
Originally Posted by Jaywantmm
Hi ,

As I am new to Linux server, I am facing some doubts like: On linux server virtual memory usage goes to 99%, but I have Threshold limit of 95%. So it crossed the threshold limit and alarmd.

Yesterday I moniterd the server using TOP command, and found some of Tibco process was consuming much memory. Since I stopped the 4 tibco process, then the memory usage become below threshold, but again once I restarted the stopped processes, that process again consuming same memory as previos and memory usage again going to 99%.

But suddenly today morning I saw the memory usage, it is 39% only. (All same preocess are running on server with same memory consumption, I varifid.) Nothing done to server or processes running on server.

Can anyone give me some inputs on

#How come this scenario should happen??
because tibco decides for whatever reason to consume vast amounts of memory. linux doesn't control how much memory tibco wants, tibco does.
Quote:
#The tibco processes which was consuming much memory, how will be different from other tibco processes which was normal??
again, that's a tibco thing, not a linux thing.
Quote:
#What will be the cause of memory releasing automatically, as all process are running with same memory consumption??
something in tibco. linux doesn't decide if tibco will hog memory, tibco does.
Quote:
#If same incident occured in future, then how to release memory??
unless the tibco people give you a better answer, restart the tibco program. (not just halt then resume.)
# 3  
Old 01-22-2009
Sounds like a software's issue - tibco. If it's issue at all - in your case, those processes may just be greedy for memory. Such commercial applications should have Capacity planning documents, which should inform you about the Key System Resource Characteristics of certain product - how much disk space is being consumed over the time, what CPU and RAM memory you should expect on such hardware, etc.
However, if you're after memory leak, monitor the processes over the time and talk to their support people.
# 4  
Old 01-22-2009
Memory Usage on Linux server

Hi Jay

Monitoring the memory usage of BW processes is not so easy as they are Java processes. Top doesn't show the sum of native memory and heap used by the Java processes. From the administrator you can check the heap used by each process, while the native usually doesn't change very much. If you can modify the deployment configuration I suggest you to enable the jconsole and use it to monitor the processes.

In any case the drop in the memory usage is strange. But many things could have happened:
1) Another process was taking a lot of memory, but Top didn't show it (still a heap and native memory issue)
2) Actually something is not working. From the administrator you can check the activity of the BW processes
3) Simply someone modified the configuration of the virtual machine adding some memory (the left hand doesn't know ... happens often)
# 5  
Old 02-10-2009
How are you limiting the memory? Have you tried using ulimit?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Linux Application Memory usage

Hello We are in the process of migrating few of our applications in our linux boxes to new linux box to streamline our applications . In this context , i would like to know how we can calculate a particular application is used .? This data will then be used to select which applications need... (7 Replies)
Discussion started by: ron5174
7 Replies

2. Red Hat

Swap memory usage is high in Linux

Hi , There is one following alert . Message : cdm:Average (2 samples) swap memory usage is now 91%, which is above the warning threshold (90%) Here is my findings. Output of TOP command in Linux server. top - 14:21:44 up 6 days, 4:48, 1 user, load average: 2.55, 2.06,... (3 Replies)
Discussion started by: Maddy123
3 Replies

3. AIX

Memory usage in AIX server

Hi All, I have some questions regarding the performance, MEMORY/ Virtual Memory (paging /swap space) Please see the nmon-MEMORY stats from my AIX LPAR. 24 GB --> RAM 3456 MB --> Paging Space │ Memory ─────────────────────────────────────────────────────────────────────── │... (8 Replies)
Discussion started by: System Admin 77
8 Replies

4. UNIX for Advanced & Expert Users

Memory Usage(Physical) in one Word? Suse Linux.

Experts, I have been trying to figure out what is the total physical memory used from this output: And what is the free memory available for the application or any programs. The answer has to be in this format: 1. Physical Memory Used= xx.xx% 2. Physical Memry available= yy.yy% ... (5 Replies)
Discussion started by: rveri
5 Replies

5. UNIX for Advanced & Expert Users

linux memory buffers & cache usage

18:45:47 # free -m total used free shared buffers cached Mem: 96679 95909 770 0 1530 19550 -/+ buffers/cache: 74828 21851 Swap: 12287 652 11635 Hi all. The below output is from a RHEL 4.5... (0 Replies)
Discussion started by: drummerrob
0 Replies

6. Shell Programming and Scripting

Memory Usage Monitor on Linux/SunOS Servers

ok, so i'm trying to write a shell script (not perl) that monitors memory usage on a server. but i'm confused as to what fields exactly determines that yes, memory is low on a particular server. it sounds simple enough, but it really isn't. what do I look for in the field below? ... (1 Reply)
Discussion started by: SkySmart
1 Replies

7. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

8. UNIX for Dummies Questions & Answers

Memory Usage on Linux server

Hi , As I am new to Linux server, I am facing some doubts like: On linux server virtual memory usage goes to 99%, but I have Threshold limit of 95%. So it crossed the threshold limit and alarmd. Yesterday I moniterd the server using TOP command, and found some of Tibco process was consuming... (1 Reply)
Discussion started by: Jaywantmm
1 Replies

9. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

10. Red Hat

Linux memory usage

What's the best way to find out how much memory is being used/available? I tried using free, but I didn't quite understand the output. Can someone explain it? $ free total used free shared buffers cached Mem: 16304536 16256376 48160 0 ... (6 Replies)
Discussion started by: junkmail426
6 Replies
Login or Register to Ask a Question