On Oct 13, 2006, at 7:26 AM, sksamuel wrote:

> Further to my deadlocks issue,
>
> Is it normal to have lots of threads waiting for a lock on SSL  
> sockets?

There should be about 5-10 threads waiting for the socket.    It's  
normal.  Those are just threads waiting for the next connection.

-- Scott

> I
> know I don't have that many people trying to connect through SSL -  
> certainly
> the number of threads waiting is disproportionate to the number of  
> visitors.
> Example:
>
>
> "resin-tcp-connection-127.0.0.1:6802-15" daemon prio=1 tid=0x095bbb80
> nid=0x7dbf waiting for monitor entry [0xa0c09000..0xa0c0a0b0]
>  at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:382)
>  - waiting to lock <0x681975a0> (a java.net.SocksSocketImpl)
>  at java.net.ServerSocket.implAccept(ServerSocket.java:450)
>  at java.net.ServerSocket.accept(ServerSocket.java:421)
>  at com.caucho.vfs.QServerSocketWrapper.accept 
> (QServerSocketWrapper.java:97)
>  at com.caucho.server.port.Port.accept(Port.java:798)
>  at com.caucho.server.port.TcpConnection.run(TcpConnection.java:492)
>  at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:516)
>  at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
>  at java.lang.Thread.run(Thread.java:595)
>
>
>
> I also have a few threads waiting for a lock on ServletMapping -  
> again is
> that normal? Example:
>
>
> "resin-tcp-connection-*:80-85" daemon prio=1 tid=0xb1edba48 nid=0x13a5
> waiting for monitor entry [0xac862000..0xac862eb0]
>  at
> com.caucho.server.dispatch.ServletConfigImpl.createServlet 
> (ServletConfigImpl.java:577)
>  - waiting to lock <0x6a01ad00> (a
> com.caucho.server.dispatch.ServletMapping)
>  at
> com.caucho.server.dispatch.ServletFilterChain.doFilter 
> (ServletFilterChain.java:97)
>  at org.global7.epublisher.iface.filters.RewriteFilter.doFilter 
> (Unknown
> Source)
>  at
> com.caucho.server.dispatch.FilterFilterChain.doFilter 
> (FilterFilterChain.java:70)
>  at
> com.caucho.server.webapp.WebAppFilterChain.doFilter 
> (WebAppFilterChain.java:173)
>  at
> com.caucho.server.dispatch.ServletInvocation.service 
> (ServletInvocation.java:229)
>  at com.caucho.server.http.HttpRequest.handleRequest 
> (HttpRequest.java:274)
>  at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511)
>  - locked <0x6d819818> (a java.lang.Object)
>  at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:516)
>  at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
>  at java.lang.Thread.run(Thread.java:595)
>
>
>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to