Re: Tomcat 8 uses high CPU

2016-04-13 Thread tomcat
On 14.04.2016 03:21, David Kerber wrote: On 4/13/2016 6:04 PM, Josep M Beleta wrote: Following André suggestion I replaced the connector protocols, both for HTTP and AJP ports, to force NIO.2. Now Tomcat is working for seven hours without any problem. My findings until now are: 1. It is no

Re: Tomcat 8 uses high CPU

2016-04-13 Thread David Kerber
On 4/13/2016 6:04 PM, Josep M Beleta wrote: Following André suggestion I replaced the connector protocols, both for HTTP and AJP ports, to force NIO.2. Now Tomcat is working for seven hours without any problem. My findings until now are: 1. It is not a Tomcat related problem, WildFly 10 has

Re: Tomcat 8 uses high CPU

2016-04-13 Thread Josep M Beleta
Following André suggestion I replaced the connector protocols, both for HTTP and AJP ports, to force NIO.2. Now Tomcat is working for seven hours without any problem. My findings until now are: 1. It is not a Tomcat related problem, WildFly 10 has the same behavior. The WildFly high CPU thr

Re: Tomcat 8 uses high CPU

2016-04-13 Thread Josep M Beleta
I'll try it. Thanks a lot. 2016-04-13 15:24 GMT+02:00 André Warnier (tomcat) : > On 13.04.2016 13:55, Josep M Beleta wrote: > >> > >Could I find a workaround? >>> >> > Maybe for the meantime, you could try another Connector protocol ? > http://tomcat.apache.org/tomcat-8.5-doc/config/http.html#Com

Re: async servlet, tomcat 8.0.33, behind apache

2016-04-13 Thread fachhoch
We tried replacing ajp ( http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html) with mod_jk ( https://tomcat.apache.org/download-connectors.cgi ) connector, async servlet works fine. Thank you. -- View this message in context: http://tomcat.10.x6.nabble.com/async-servlet-tomcat-8-0-33-behi

Re: Tomcat 8 uses high CPU

2016-04-13 Thread tomcat
On 13.04.2016 13:55, Josep M Beleta wrote: > >Could I find a workaround? Maybe for the meantime, you could try another Connector protocol ? http://tomcat.apache.org/tomcat-8.5-doc/config/http.html#Common_Attributes -> protocol Note: I am not an expert, and not sure that in this particular case

How to rotate Tomcat Access Log file, by file size rather than by the date

2016-04-13 Thread Nikhil Agrawal
Hi , I am using Tomcat 7.0. Presently my access log is creating everyday(big size file) and keep on a accumulating. I want's to rotate Access Log files by file size. How to do that? Thanks, Nikhil

Re: Tomcat 8 uses high CPU

2016-04-13 Thread Josep M Beleta
Ok. I will try to debug the issue this weekend. Josep *Josep M Beleta* *Director de Tecnologia* Carver Advanced Systems, S.L. París, 184. 4º 08036 - Barcelona Tel: 93 238 5880 Fax: 93 238 5881 *segueix-nos *

Re: Replacing default servlet using url-mapping

2016-04-13 Thread tomcat
On 13.04.2016 13:26, Mark Thomas wrote: On 13/04/2016 12:12, Rune Stilling wrote: Hi list I have a question regarding the servlet-mapping property in web.xml. Normally a url would look like this: http://host:port/context/servlet-path As many others I have tried to setup my servlet so that it

Re: Obsolete cypher suit

2016-04-13 Thread Mark Thomas
On 13/04/2016 12:43, Lyallex wrote: > On 12 April 2016 at 19:26, Mark Thomas wrote: >> On 12/04/2016 19:11, Lyallex wrote: >>> On 12 April 2016 at 18:06, Lyallex wrote: apache-tomcat-7.0.42 as standalone web server jdk1.7.0_45 Ubuntu 12.10 Greetings I'm sure thi

Re: Obsolete cypher suit

2016-04-13 Thread Lyallex
On 12 April 2016 at 19:26, Mark Thomas wrote: > On 12/04/2016 19:11, Lyallex wrote: >> On 12 April 2016 at 18:06, Lyallex wrote: >>> apache-tomcat-7.0.42 as standalone web server >>> jdk1.7.0_45 >>> Ubuntu 12.10 >>> >>> Greetings >>> >>> I'm sure this is an old chestnut but it's got me stumped >>

Re: Tomcat 8 uses high CPU

2016-04-13 Thread Mark Thomas
On 13/04/2016 12:11, Josep M Beleta wrote: > I was wrong in my last message. One of the threads is different, is is not > related to AJP. This thread is: > > "NioBlockingSelector.BlockPoller-2" #15 daemon prio=5 os_prio=0 > tid=0x1ce0c800 nid=0x19b8 runnable [0x1dfff000] >java.

Re: Replacing default servlet using url-mapping

2016-04-13 Thread Mark Thomas
On 13/04/2016 12:12, Rune Stilling wrote: > Hi list > > I have a question regarding the servlet-mapping property in web.xml. Normally > a url would look like this: > > http://host:port/context/servlet-path > > As many others I have tried to setup my servlet so that it matches the > following:

Re: Replacing default servlet using url-mapping

2016-04-13 Thread Yaragalla Muralidhar
I am not sure but i think the url pattern should be as below /* *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Wed, Apr 13, 2016 at 4:42 PM, Rune Stilling wrote: > Hi list > > I have a question regarding the servlet-mapping prop

Replacing default servlet using url-mapping

2016-04-13 Thread Rune Stilling
Hi list I have a question regarding the servlet-mapping property in web.xml. Normally a url would look like this: http://host:port/context/servlet-path As many others I have tried to setup my servlet so that it matches the following: http://host:port/ I’m trying to obtain this by using the f

Re: Tomcat 8 uses high CPU

2016-04-13 Thread Josep M Beleta
I was wrong in my last message. One of the threads is different, is is not related to AJP. This thread is: "NioBlockingSelector.BlockPoller-2" #15 daemon prio=5 os_prio=0 tid=0x1ce0c800 nid=0x19b8 runnable [0x1dfff000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.WindowsSelect

Java 8 cipher suite required. CentOS says no

2016-04-13 Thread Lyallex
This is kind of connected to an earlier post but I didn't want to get shouted at for hijacking so I started new one, hope this is OK apache-tomcat-7.0.42 standalone web server CentOS Linux release 7.2.1511 jdk1.7.0_45 and jdk1.8.0_77 It's a bit complicated I'll try to be brief On discovering tha

Re: Tomcat 8 uses high CPU

2016-04-13 Thread Josep M Beleta
I produced a new dump on our production server that runs Tomcat 8.0. This time I identified the three threads that are consuming high CPU. I marked them with: ** This thread uses high CPU ** All these threads are named "ajp-nio-8009-ClientPoller" This is the information it lists about