https://bz.apache.org/bugzilla/show_bug.cgi?id=69608

--- Comment #9 from Praddy <prady...@gmail.com> ---
I started two instances of Tomcat, instance A as the web server having only the
JSP and servlets and instance B having the application logic code.
The logic codes starts threads to fetch mails but the threads hangs sometimes
due to software or network issues and new threads have to be started. This
increases the memory of the tomcat instance to 2.0-2.5GB in about 12-48 hours
and eventually hangs the JSP Servlet response forever. However instance A works
out just fine.

I cannot complain to Tomcat as Java doesn't support thread killing
(https://stackoverflow.com/questions/75524578/kill-a-java-thread-after-a-certain-period-of-time)
otherwise there wouldn't have been such problems.

However incase someone wants to debug, in my scenario the load is around 200K
page views per day and keep increasing the tomcat instance by threads to about
2-3GB. But I don't know how to make some threads hanging.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to