2 Replies Latest reply on Jun 17, 2003 2:27 AM by jonlee

    Incomplete Server-Response

      Hi!

      I have following problem (JBoss 3.0.1 + 3.0.3):

      If there are more than 5 Users who wants to work with my webapp(JSP+Servlets) at the same time it seems that JBoss doesn't send back the whole response. Sometimes the Stylesheet is missing, somtimes the Scriptfile (scripts.js) and somtimes even no response comes to the client.

      I already tried to increase the number of processors for the HttpConnector (up to max 999) in the tomcat4-service.xml. Experiments with the connectionTimeout also has no positve effects.

      The period of time until the problems occur is always different (from 5min to 1h) but if it starts everything is over.

      Does anybody know if there is a configuration option that limits the requests or whats going on?

      Thanks Peda

        • 1. Re: Incomplete Server-Response

          Ok, I think I got it.

          It seems that the Java Hotspot VM fails to Garbage Collect if the Heap-size is to high. Therefore the Server runs for about an hour and even a shutdown and restarts has no effect. Just a reboot of the machine makes it possible to release the Heap. With a parameter of the Hotspot VM (think it was xn or xm) the max-size of the Heap can be settet.
          Until now I had no problems with that.

          A friend told be that i should switch to the IBM-VM. What are you thinking about that all?

          mfg Peda

          • 2. Re: Incomplete Server-Response
            jonlee

            Have a look at the performance analysis linked from this topic:
            http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t= document link referred to in the topic gives more information on IBM and SUN JVM comparisons on Linux. In general, we've had no issues with either JVM except IBM does seem to have an advantage in resource usage and speed. Ultimately, you'll need to make up your own mind.