0

We installed Tomcat in Linux. The Server is not responding after 10 to 15 requests. But after 5 mins the problem get solved and getting response for another 10 to 15 requests.

We see enough 50% Memory in Linux box and we don't see any thread locks. Also the deployments files are working properly in local environment.

Please help us what could be the issue?

3
  • What's Tomcat serving? Feb 6, 2012 at 17:16
  • Tomcat serves Web service requests Feb 7, 2012 at 4:36
  • You have to provide way more detail. Are those SSL requests? Do they use sessions? Did you do a thread dump? Attached jconsole / VisualVM, and take a look?
    – pyroscope
    Feb 7, 2012 at 6:37

1 Answer 1

1

Check the amount of RAM you have allocated to Tomcat. Just because you have free system RAM does not mean that Tomcat is allowed to use it. The reason it works after a few minutes is probably because some garbage collection takes place, allowing more requests to go through.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .