1. I'm using the top command to get information about the memory
Mem: 1030392k av, 707688k used, 322704k free, 0k shrd, 118096k buff
354852k actv, 136300k in_d, 1676k in_c
Swap: 2048248k av, 2832k used, 2045416k free 434288k cached
If you see the server has 1 GB the memory RAM with minimal instalation of redhat, its installation start using about 70 MB of the memory, then when i've installed tomcat without any application the memory it was consume.
2. Yes i can to start annd stop de tomcat without any problem.
3. Yes i prove using a application to connect to the database, the procesor cosume about 99.9% then it leave the use of the procesos and all is normal but the memory process start to uses the memory progressive.
4. Yes our System Engineers using connections to Oracle database by network in our LAN.
5. I'm using j2sdk1.4.0
6. Yes i've modified this parameters in catalina.sh
JAVA_HOME=/usr/java/j2sdk1.4.0 ; export JAVA_HOME
CATALINA_HOME=/usr/local/tomcat4130 ; export CATALINA_HOME
GCOPSIZE=5
JAVA_PARAMS=-DGCOPSIZE=%GCOPSIZEand i've modified the server.xml to redirect the locations of our application to this partition
<!-- Define the default virtual host -->
<Host name="localhost" debug="0" appBase="/rootweb/appsweb/"
unpackWARs="true" autoDeploy="true">
7. I've started the tomcat firts with this parameters JAVA_HOME=/usr/java/j2sdk1.4.0 ; export JAVA_HOME CATALINA_HOME=/usr/local/tomcat4130 ; export CATALINA_HOME JAVA_OPTS="-server -Xms128m -Xmx256m -Xrs" CATALINA_OPTS="-server -Xms128m -Xmx256m -Xrs"
the -Xms128, -Xmx, -Server, -Xrs options and always happens the same.
. Thanks for you help
Parsons Technical Services wrote:
Fabian,
I am not sure if I have the answer to your memory problem but let me give you some information to get more help from others.
1. Where are you looking to see this memory use?
2. Does Tomcat stop responding?
3. Have you loaded any of your applications? No 4. Are you using a database?
5. What JDK version are you running? 1.4.0 6. Have you made any changes to the original configuration?(Server.xml, etc)
7. How are you starting Tomcat?
8. What options did you set?(Such as memory -Xmx128m)
9. Have you read the FAQ on memory? http://jakarta.apache.org/tomcat/faq/memory.html
If you will answer as many of these as possible it will help in evaluating your problem.
Doug www.parsonstechnical.com
----- Original Message ----- From: "Software" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, April 23, 2004 8:13 AM
Subject: Re: Memory problem with tomcat 4130
How knows how do i make to resolve this problem, is necesary to recompile the default kernel of linux redhat 9.0 and what flag must i to select. thanks?
Software wrote:
Hi, i've installed tomcat 4130 in my linux redhat 9.0 with the default kernel and j2sdk1.4.0 in a server with 1 GB RAM and 2.4Ghz Processor
The problem is when i start the tomcat it start to consume the memory progressively and i don't have running any application in this moment, then i have to restart the tomcat again to get memory free.
What can be wrong.
Fabian
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
