Re: BLOCKING: performance issue with Tomcat 8.5.35 in org.apache.tomcat.util.net.NioBlockingSelector.write API

2020-01-09 Thread Mark Thomas
On 09/01/2020 04:49, Rathore, Rajendra wrote: > Hi Team, > > If someone know how to check whether proper read/write operation done or not > or it will caused by network please let me know because it is blocking for me. I recommend you ignore the advice from Zahid. The stack trace you posts indi

Re: BLOCKING: performance issue with Tomcat 8.5.35 in org.apache.tomcat.util.net.NioBlockingSelector.write API

2020-01-08 Thread Zahid Rahman
o help me out to know the root cause of the > problem? > > Thanks and Regards, > Rajendra Rathore > 9922701491 > > -Original Message- > From: Zahid Rahman > Sent: Thursday, January 9, 2020 10:53 AM > To: Tomcat Users List > Subject: Re: BLOCKIN

Re: BLOCKING: performance issue with Tomcat 8.5.35 in org.apache.tomcat.util.net.NioBlockingSelector.write API

2020-01-08 Thread Zahid Rahman
Rathore > 9922701491 > > -Original Message- > From: Zahid Rahman > Sent: Thursday, January 9, 2020 10:53 AM > To: Tomcat Users List > Subject: Re: BLOCKING: performance issue with Tomcat 8.5.35 in > org.apache.tomcat.util.net.NioBlockingSelector.write API > > Extern

Re: BLOCKING: performance issue with Tomcat 8.5.35 in org.apache.tomcat.util.net.NioBlockingSelector.write API

2020-01-08 Thread Zahid Rahman
> Rajendra Rathore > 9922701491 > > -Original Message- > From: Zahid Rahman > Sent: Thursday, January 9, 2020 10:53 AM > To: Tomcat Users List > Subject: Re: BLOCKING: performance issue with Tomcat 8.5.35 in > org.apache.tomcat.util.net.NioBlockingSelector.write API

RE: BLOCKING: performance issue with Tomcat 8.5.35 in org.apache.tomcat.util.net.NioBlockingSelector.write API

2020-01-08 Thread Rathore, Rajendra
Hi Zahid, How below link is going to help me out to know the root cause of the problem? Thanks and Regards, Rajendra Rathore 9922701491 -Original Message- From: Zahid Rahman Sent: Thursday, January 9, 2020 10:53 AM To: Tomcat Users List Subject: Re: BLOCKING: performance issue with

Re: BLOCKING: performance issue with Tomcat 8.5.35 in org.apache.tomcat.util.net.NioBlockingSelector.write API

2020-01-08 Thread Zahid Rahman
https://www.codota.com/code/java/methods/org.apache.tomcat.util.net.NioBlockingSelector/open On Thu, 9 Jan 2020, 04:49 Rathore, Rajendra, wrote: > Hi Team, > > If someone know how to check whether proper read/write operation done or > not or it will caused by network please let me know because

Re: BLOCKING: performance issue with Tomcat 8.5.35 in org.apache.tomcat.util.net.NioBlockingSelector.write API

2020-01-08 Thread Zahid Rahman
https://alvinalexander.com/java/jwarehouse/apache-tomcat-6.0.16/java/org/apache/tomcat/util/net/NioBlockingSelector.java.shtml On Thu, 9 Jan 2020, 04:49 Rathore, Rajendra, wrote: > Hi Team, > > If someone know how to check whether proper read/write operation done or > not or it will caused by ne

RE: BLOCKING: performance issue with Tomcat 8.5.35 in org.apache.tomcat.util.net.NioBlockingSelector.write API

2020-01-08 Thread Rathore, Rajendra
Hi Team, If someone know how to check whether proper read/write operation done or not or it will caused by network please let me know because it is blocking for me. Thanks and Regards, Rajendra Rathore 9922701491 -Original Message- From: Rathore, Rajendra Sent: Wednesday, January 8, 20

RE: Blocking

2008-12-15 Thread Caldarale, Charles R
> From: AD [mailto:straightfl...@gmail.com] > Subject: Blocking > > For example in Main Thread > Name: main > State: RUNNABLE > Total blocked: 54 Total waited: 9 Once initialization is complete, the main thread does nothing but listen for the shutdown command. The blocks and waits all occurred

RE: Blocking

2008-12-15 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:mgai...@hotmail.com] > Subject: RE: Blocking > > yes I would be concerned about the 9 wait threads It's not the number of waiting threads, it's the number of times this particular thread has done a wait() call. Since the main thread i

RE: Blocking

2008-12-15 Thread Martin Gainty
yes I would be concerned about the 9 wait threads is there any defining characteristic which causes these threads to sit and wait? maybe a DB Connection or calling a remote resource that is causing the block? more information about the characteristics of the resource would be available by display

Re: Blocking port 8005 in TomCat in Deamon Mode

2008-07-10 Thread Suma Rakesh
n Kolinko <[EMAIL PROTECTED]> > Subject: Re: Blocking port 8005 in TomCat in Deamon Mode > To: "Tomcat Users List" , [EMAIL PROTECTED] > Date: Thursday, July 10, 2008, 2:25 AM > 2008/7/10 Suma Rakesh <[EMAIL PROTECTED]>: > >> Hi, > >> > >>

Re: Blocking port 8005 in TomCat in Deamon Mode

2008-07-10 Thread Johnny Kewl
- Original Message - From: "Suma Rakesh" <[EMAIL PROTECTED]> To: Sent: Thursday, July 10, 2008 2:03 AM Subject: Blocking port 8005 in TomCat in Deamon Mode Hi, I am starting Tomcat through one of my C++ programs on windows 2003 server. I am using Bootsrap org.apache.catalina.startu

Re: Blocking port 8005 in TomCat in Deamon Mode

2008-07-10 Thread Konstantin Kolinko
2008/7/10 Suma Rakesh <[EMAIL PROTECTED]>: >> Hi, >> >> I am starting Tomcat through one of my C++ programs on >> windows 2003 server. I am using Bootsrap >> org.apache.catalina.startup.Bootstrap.main() method and >> pass 'Start' and 'Stop' as arguments. >> >> The documentation read mentioned that

Re: Blocking port 8005 in TomCat in Deamon Mode

2008-07-09 Thread Bill Barker
"Suma Rakesh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >> Hi, >> >> I am starting Tomcat through one of my C++ programs on >> windows 2003 server. I am using Bootsrap >> org.apache.catalina.startup.Bootstrap.main() method and >> pass 'Start' and 'Stop' as arguments. >> You nee

Re: Blocking port 8005 in TomCat in Deamon Mode

2008-07-09 Thread Steve Ochani
On 9 Jul 2008 at 17:03, Suma Rakesh wrote: > > Hi, > > > > I am starting Tomcat through one of my C++ programs on > > windows 2003 server. I am using Bootsrap > > org.apache.catalina.startup.Bootstrap.main() method and > > pass 'Start' and 'Stop' as arguments. Hmm OK, I would have used the star

RE: Blocking threads in Tomcat

2008-07-01 Thread Fredrik Tolf
On Tue, 2008-07-01 at 09:16 -0500, Caldarale, Charles R wrote: > > When, on the other hand, I'm running two requests to "/ls" > > simultaneously, there is only one thread from the pool in > > the doGet function. > > Any chance the client (or some overly helpful anti-DOS firewall) > is serializing

Re: Blocking threads in Tomcat

2008-07-01 Thread Mikolaj Rydzewski
Fredrik Tolf wrote: When, on the other hand, I'm running two requests to "/ls" simultaneously, What tool do you use to perform requests? Regular web browser? Try with something more 'generic' - wget or ab. -- Mikolaj Rydzewski <[EMAIL PROTECTED]> -

RE: Blocking threads in Tomcat

2008-07-01 Thread Caldarale, Charles R
> From: Fredrik Tolf [mailto:[EMAIL PROTECTED] > Subject: Re: Blocking threads in Tomcat > > There's no way I could be doing any such thing unknowingly, > such as it being the default, right? No, single-thread is not the default. > When, on the other hand, I'm

Re: Blocking threads in Tomcat

2008-07-01 Thread Leon Rosenberg
interesting, can you provide your webapp + configs for download and test? Leon On Tue, Jul 1, 2008 at 3:16 PM, Fredrik Tolf <[EMAIL PROTECTED]> wrote: > On Tue, 2008-07-01 at 08:46 +0200, Leon Rosenberg wrote: >> Hello Frederic, >> >> unless you are using the SingleThreaded Model (and you shouldn

Re: Blocking threads in Tomcat

2008-07-01 Thread Fredrik Tolf
On Tue, 2008-07-01 at 08:46 +0200, Leon Rosenberg wrote: > Hello Frederic, > > unless you are using the SingleThreaded Model (and you shouldn't) > tomcat does no such thing. There's no way I could be doing any such thing unknowingly, such as it being the default, right? > I assume the best way i

RE: Blocking threads in Tomcat

2008-07-01 Thread Steffen Heil
Hi If you are on linux, do the following: killall -3 java Then look into catalina.out. It will print all stack traces, including monitors being hold and waited for. Regards, Steffen > -Original Message- > From: Fredrik Tolf [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 01, 2

RE: Blocking threads in Tomcat

2008-07-01 Thread Peter Crowther
Tomcat version? Java version? Anything in the servlet that synchronises on a common lock? In general, one worker thread handles one request, from start to finish; then it's returned to the pool to be reused. Is that what you would expect? - Peter > From: Fredrik Tolf [mailto:[E

Re: Blocking threads in Tomcat

2008-06-30 Thread Leon Rosenberg
Hello Frederic, unless you are using the SingleThreaded Model (and you shouldn't) tomcat does no such thing. I assume the best way is to show us your servlet code, or to check for synchronized blocks in it. regards Leon On Tue, Jul 1, 2008 at 6:11 AM, Fredrik Tolf <[EMAIL PROTECTED]> wrote: > Hi

RE: Blocking Proxy Access

2008-06-26 Thread Peter Crowther
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > It's to keep undesirables, who have been banned, off from a > social networking site. How on earth do you identify the undesirables in the first place? For most users, all they need to do is clear the cookie cache and drop their broadband co

RE: Blocking Proxy Access

2008-06-25 Thread Martin Gainty
and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Wed, 25 Jun 2008 19:30:44 -0500 > From: [EMAIL PROTECTED] > To: users@tomcat.apache.org > Subject: Re: Bl

Re: Blocking Proxy Access

2008-06-25 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=41765 Posted on behalf of a User It's to keep undesirables, who have been banned, off from a social networking site. In Response To: > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Is there anyway to detect that a web user is trying

RE: Blocking Proxy Access

2008-06-25 Thread Peter Crowther
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Is there anyway to detect that a web user is trying to access > my site via an open/anonymous proxy? Other than building a > list of open proxy IP addresses and checking against it? This > list would be huge and ever changing. There must be an e

RE: Blocking Proxy Access

2008-06-25 Thread Charlie Wingate
Well, it might be possible to design an applet that pulled someone's public IP (maybe by polling your site directly? Have to make sure not local IP) then cross that against the request origin into Tomcat; if they don't match then that could be construed as a Proxy situation. I am not sure how a pr

Re: Blocking AJP13 (port 8009) access

2006-02-14 Thread Mladen Turk
OG wrote: Hi, I'm trying to block external access to port 8009 (AJP13), as only my local host really needs to be able to talk to it. I'm wondering if there are any internal/mod_jk mechanisms for that, or if iptables is the best option. If anyone has iptables rules that work, I'd appreciate i

Re: Blocking AJP13 (port 8009) access

2006-02-14 Thread Antony Riley
Try adding address="127.0.0.1" to the ajp13 tag in server.xml, and configuring apache to connect to 127.0.0.1 if you haven't already. This should stop the ajp13 port from being visable to other machines. As far as iptables goes, you probably want -o lo -j ACCEPT at the top of the ruleset, and I