Solved

logon system and memory problem

Posted on 2006-10-27
4
231 Views
Last Modified: 2010-04-22
Hi all experts,

Please advice me some actions to monitor memory of the red hat enterprise operating system. My system consists of tomcat, struts application, some daemons, nodemonitor.
I think it has got a lot processes, I do not know what exactly they are. And I also do not know what cause out of memory error. Please help

Thank you so much
Duy Tan
0
Comment
Question by:tanphuongmy
4 Comments
 
LVL 30

Accepted Solution

by:
Kerem ERSOY earned 250 total points
ID: 17823923
Hi,

Since you are using Tomcat, struts applications etc. we should first determine who is causing this "out of memory" error. It seems that this is a Java error and to correct it you must modify the heap size settings of your Tomcat Application container.

When you're starting tomcat it launches an application container with defaults. Specify the JVM heap size in $TOMCAT_HOME/bin/tomcat.sh. You can specify '-Xmx256m -Xms128m' as part of TOMCAT_OPTS. That'll set your max/min JVM heap size to 256/128MBs, for example.

FYI : you can see the system memory usage with one of these comands:

To see the memory please issue:
 free
or  
 cat /proc/meminfo

top and ps also displays memory usage of each process.

Cheers,
K.

 





0
 
LVL 11

Assisted Solution

by:kblack05
kblack05 earned 250 total points
ID: 17829338
You may also wish to look at the output of 'top'

top

or

top -b -n 1 | less

Also check 'lsof'

man lsof

For example to see all processes which have a port bound in memory use

lsof -i -P
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now