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

because tibco decides for whatever reason to consume vast amounts of memory. linux doesn't control how much memory tibco wants, tibco does.

again, that's a tibco thing, not a linux thing.

something in tibco. linux doesn't decide if tibco will hog memory, tibco does.

unless the tibco people give you a better answer, restart the tibco program. (not just halt then resume.)

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.

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)

How are you limiting the memory? Have you tried using ulimit?