[
https://issues.apache.org/jira/browse/TAPESTRY-2473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607310#action_12607310
]
Fernando commented on TAPESTRY-2473:
------------------------------------
I did a simple grep/sort/count on the two files:
It does look like they are also stuck on a few restoreReadLock, so that means
that the writeLocks aren't releasing properly??
hala:~> grep ConcurrentBarrier js.txt | sort | uniq -c
2 -
org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.restoreReadLock(boolean)
@bci=13, line=158 (Compiled frame)
354 -
org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(org.apache.tapestry.ioc.internal.util.Invokable)
@bci=27, line=70 (Compiled frame)
3 -
org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(org.apache.tapestry.ioc.internal.util.Invokable)
@bci=44, line=77 (Compiled frame)
hala:~> grep ConcurrentBarrier js2.txt | sort | uniq -c
5 -
org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.restoreReadLock(boolean)
@bci=13, line=158 (Compiled frame)
393 -
org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(org.apache.tapestry.ioc.internal.util.Invokable)
@bci=27, line=70 (Compiled frame)
6 -
org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(org.apache.tapestry.ioc.internal.util.Invokable)
@bci=44, line=77 (Compiled frame)
> Application locks up, with all threads waiting for read lock inside
> ConcurrentBarrier
> -------------------------------------------------------------------------------------
>
> Key: TAPESTRY-2473
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2473
> Project: Tapestry
> Issue Type: Bug
> Components: Framework
> Affects Versions: 5.0.11, 5.0.12, 5.0.13
> Environment: Red Hat, Tomcat, java version "1.5.0_10"
> Reporter: Fernando
> Assignee: Howard M. Lewis Ship
> Priority: Critical
> Attachments: js.txt, js2.txt
>
>
> We are running in production, and pretty regularly the system seems to hang
> up. After I do a jstack it looks like all the threads are tied up against
> some lock.
> Can you help me figure out the root cause?
> I will be attaching the full jstack the the stuck threads all look like:
> Thread 25014: (state = BLOCKED)
> - sun.misc.Unsafe.park(boolean, long) @bci=0 (Compiled frame; information
> may be imprecise)
> - java.util.concurrent.locks.LockSupport.park() @bci=5, line=118 (Compiled
> frame)
> - java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(int)
> @bci=10, line=1124 (Compiled frame)
> -
> org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(org.apache.tapestry.ioc.internal.util.Invokable)
> @bci=27, line=70 (Compiled frame)
> - $RequestHandler_11aa7f96e6c.service(org.apache.tapestry.services.Request,
> org.apache.tapestry.services.Response) @bci=10 (Compiled frame)
> -
> org.apache.tapestry.services.TapestryModule$12.service(javax.servlet.http.HttpServletRequest,
> javax.servlet.http.HttpServletResponse) @bci=40, line=924 (Compiled frame)
> -
> $HttpServletRequestHandler_11aa7f96e65.service(javax.servlet.http.HttpServletRequest,
> javax.servlet.http.HttpServletResponse) @bci=10 (Compiled frame)
> -
> org.apache.tapestry.internal.services.IgnoredPathsFilter.service(javax.servlet.http.HttpServletRequest,
> javax.servlet.http.HttpServletResponse,
> org.apache.tapestry.services.HttpServletRequestHandler) @bci
> =95, line=62 (Compiled frame)
> -
> $HttpServletRequestFilter_11aa7f96e63.service(javax.servlet.http.HttpServletRequest,
> javax.servlet.http.HttpServletResponse,
> org.apache.tapestry.services.HttpServletRequestHandler) @bci=7 (Compiled
> frame)
> -
> $HttpServletRequestHandler_11aa7f96e65.service(javax.servlet.http.HttpServletRequest,
> javax.servlet.http.HttpServletResponse) @bci=10 (Compiled frame)
> -
> $HttpServletRequestHandler_11aa7f96e65.service(javax.servlet.http.HttpServletRequest,
> javax.servlet.http.HttpServletResponse) @bci=10 (Compiled frame)
> - org.apache.tapestry.TapestryFilter.doFilter(javax.servlet.ServletRequest,
> javax.servlet.ServletResponse, javax.servlet.FilterChain) @bci=12, line=168
> (Compiled frame)
> ......
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]