Re: Threads leaking from Apache tomcat application

2015-01-15 Thread Serega Sheypak
Hi, as I mentioned before devops put wrong java (OpenJDK-7) for tomcat. HBase runs on oracle-jdk-7 I've asked them to set oracle-java for Tomcat. The problem is gone 2015-01-07 10:48 GMT+03:00 Serega Sheypak : > Hm, thanks, I'll check.. > > 2015-01-06 23:31 GMT+03:00 Stack : > >> The threads

Re: Threads leaking from Apache tomcat application

2015-01-06 Thread Serega Sheypak
Hm, thanks, I'll check.. 2015-01-06 23:31 GMT+03:00 Stack : > The threads that are sticking around are tomcat threads out of a tomcat > executor pool. IIRC, your server has high traffic. The pool is running up > to 800 connections on occasion and taking a while to die back down? > Googling, seem

Re: Threads leaking from Apache tomcat application

2015-01-06 Thread Stack
The threads that are sticking around are tomcat threads out of a tomcat executor pool. IIRC, your server has high traffic. The pool is running up to 800 connections on occasion and taking a while to die back down? Googling, seems like this issue comes up frequently enough. Try it yourself. If you

Re: Threads leaking from Apache tomcat application

2015-01-06 Thread Serega Sheypak
Hi, yes, it was me. I've followed advices, ZK connections on server side are stable. Here is current state of Tomcat: http://bigdatapath.com/wp-content/uploads/2015/01/002_jvisualvm_summary.png There are more than 800 threads and daemon threads. and the state of three ZK servers: http://bigdatapat

Re: Threads leaking from Apache tomcat application

2015-01-06 Thread Stack
On Tue, Jan 6, 2015 at 4:52 AM, Serega Sheypak wrote: > yes, one of them (random) gets more connections than others. > > 9.3.1.1 Is OK. > I have 1 HConnection for logical module per application and each > ServletRequest gets it's own HTable. HTable closed each tme after > ServletRequest is done.

Re: Threads leaking from Apache tomcat application

2015-01-06 Thread Serega Sheypak
yes, one of them (random) gets more connections than others. 9.3.1.1 Is OK. I have 1 HConnection for logical module per application and each ServletRequest gets it's own HTable. HTable closed each tme after ServletRequest is done. HConnection is never closed. 2015-01-05 21:22 GMT+03:00 Ted Yu :

Re: Threads leaking from Apache tomcat application

2015-01-05 Thread Ted Yu
In 022_zookeeper_metrics.png, server names are anonymized. Looks like only one server got high number of connections. Have you seen 9.3.1.1 of http://hbase.apache.org/book.html#client ? Cheers On Mon, Jan 5, 2015 at 8:57 AM, Serega Sheypak wrote: > Hi, here is repost with images link > > Hi, I

Re: Threads leaking from Apache tomcat application

2015-01-05 Thread Serega Sheypak
Hi, here is repost with images link Hi, I'm still trying to deal with apache tomcat web-app and hbase HBase 0.98.6 The root problem is that user threads constantly grows. I do get thousands of live threads on tomcat instance. Then it dies of course. please see visualVM threads count dynamics http

Re: Threads leaking from Apache tomcat application

2015-01-05 Thread Ted Yu
I used gmail. Please consider using third party site where you can upload images. Cheers On Mon, Jan 5, 2015 at 6:13 AM, Serega Sheypak wrote: > Hi, which mail client you use? I'm using gmail from chrome and see my > letter with four inlined images. > There are no links, there are 3 images. I'

Re: Threads leaking from Apache tomcat application

2015-01-05 Thread Serega Sheypak
Hi, which mail client you use? I'm using gmail from chrome and see my letter with four inlined images. There are no links, there are 3 images. I'll reattach them. Maybe the problem is in them 2015-01-05 16:20 GMT+03:00 Ted Yu : > There're several non-English phrases which seem to be links. > But

Re: Threads leaking from Apache tomcat application

2015-01-05 Thread Ted Yu
There're several non-English phrases which seem to be links. But when I clicked on them, there was no response. Can you give the links in URL ? Cheers > On Jan 5, 2015, at 2:39 AM, Serega Sheypak wrote: > > Hi, I'm still trying to deal with apache tomcat web-app and hbase HBase > 0.98.6