Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
What's Tomcat serving? –  Shane Madden Feb 6 '12 at 17:16
    
Tomcat serves Web service requests –  Selvakumar P Feb 7 '12 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 '12 at 6:37
add comment

1 Answer

up vote 1 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.