tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mick Knutson <mknut...@baselogic.com>
Subject Need help tracking down a strange Threading issue in Tomcat 6, but not 5.5
Date Tue, 22 Jun 2010 21:38:36 GMT
 have an application I am trying to move to Tomcat 6.0 from Tomcat 5.5. This
is a VXML Voice Browser application.

In this app, the general flow is:

   1. Voice Browser makes http request to jsp
   2. jsp might call Service Object
   3. Service Object creates new Thread to call external Webservice
   4. If the service fails, then the Jsp calls another webapp to send the
   same request pseudo asynchronously.
   5. 2nd webapp call external webservice.
   6. JSP returns.

This works fine (not great, but does function) in PROD now on TC 5.5

But when I move this to TC 6, I have a strange issue where there are User
created threads making external webservice calls to another server, and they
stop spawning new threads, and the existing threads seem to complete, but do
not allow anymore to be created.

Tomcat is set to handle 350 threads. When this happens

   - There are about 100-200 total threads.
   - Memory @ 40% used
   - CPU @ ~6%


It almost appears as though TC just is not accepting anymore new requests,
for ~5 minutes. Then it comes back to life. But we can not leave this
running as the caller experience is not good.

On lower volumes, say < 100 requests, we do not see any issue at all.
But TC 5.5 is taking ~100-140 requests currently and does not have thee
failures.

I can attach images, JVMVis snapshots, and a word doc showing several WILY
report graphs to see if I can get some help on this please.

I have been working on this for a solid 3 weeks and no luck.

---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://www.baselogic.com
Blog: http://www.baselogic.com/blog/
Linked IN: http://linkedin.com/in/mickknutson
Twitter: http://twitter.com/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message