RE: Tomcat maximum heap size on Linux

2004-01-07 Thread Mindaugas Genutis
numbers, or did you actually > determine 1GB was required to handle your max expected load? > > Yoav Shapira > Millennium ChemInformatics > > > >-----Original Message- > >From: Mindaugas Genutis [mailto:[EMAIL PROTECTED] > >Sent: Wednesday, January 07, 2

Tomcat maximum heap size on Linux

2004-01-07 Thread Mindaugas Genutis
I wanted to increase Tomcat's maximum heap size. I did it by putting the following string in the catalina.sh file (I'm running RedHat Linux): CATALINA_OPTS="-Djava.awt.headless=true -Xmx1024m" So, Tomcat can use 1Gb of my RAM. However, I'm observing Tomcat's usage with "top" under Linux and it

Tomcat hangs

2004-01-07 Thread Mindaugas Genutis
Hello, Our Tomcat hangs once in a few days. When the load is larger, sometimes it hangs even a few times a day. Our system configuration is: Tomcat 4.1.24 JVM 1.4.2 Linux Redhat 2 GB RAM We have deployed a big JSP application on our Tomcat. Mostly it does database (MySQL) / XML processing. W

Tomcat application performance & load

2003-06-11 Thread Mindaugas Genutis
Hello, I have a JSP application that is lagging once in a while on the server. How could I profile or look at the performance of my application? For instance, how much network and machine load my JSP files induce. Thanks, -- Kaunas Regional Distance Education Center Programmer Phone: +370 67

java.net.SocketException: Connection reset

2003-06-09 Thread Mindaugas Genutis
Hello, I am getting the java.net.SocketException and my JSP application crashes. I have pasted the exception below. It comes from the catalina sockets engine. Does anyone have an idea where should I go further for fixing this socket problem? My server configuration: Redhat Linux, Tomcat 4.1.2

RE: IOException: failed to communicate with MySQL

2003-06-03 Thread Mindaugas Genutis
> a couple of days ago a post went by talking about MySQL default timeout > being set to 8 hrs for connections... betting this might be your problem... Thanks for pointing this out. I've read the thread "Tomcat problems every morning". However, no solution was suggested in that thread. One can

IOException: failed to communicate with MySQL

2003-06-03 Thread Mindaugas Genutis
Hello, My JSP application very often after night, in the morning stops communicating with MySQL database. I get an exception each morning (the exception body goes below). The application starts to work again after I restart it from the Tomcat Manager. Maybe someone else also had this same pro

Re: Tomcat jsp exception

2003-05-29 Thread Mindaugas Genutis
.run(ThreadPool.java:619) at java.lang.Thread.run(Thread.java:536) > > "Mindaugas Genutis" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > Hello, > > > > I developed my application with Tomcat 4.0.3/Java 1.3. Now I moved to > >

Tomcat jsp exception

2003-05-29 Thread Mindaugas Genutis
Hello, I developed my application with Tomcat 4.0.3/Java 1.3. Now I moved to Tomcat 4.1.24/Java 1.4.1. On my first JSP I get an exception that doesn't tell me what's wrong going on. It is referring to one of my classes that is not even used in that particular JSP. Can anyone suggest where to