Re: RES: Configuring limits of requests/sessions/threads in Tomcat

2014-04-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Danilo, On 4/1/14, 8:37 PM, Danilo Amaral de Oliveira wrote: > Hello Chritopher, > > You make score. Exactly, I am waiting 500 users on the peak time. > The archive is in a separated storage in our environment. So, I > think that it is not a limiti

Re: RES: Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread Howard W. Smith, Jr.
On Tue, Apr 1, 2014 at 9:30 PM, Frederik Nosi wrote: > If so, just put an nginx or such in front of you'r Tomcat, you dont need > an application server for that, it's just like using a tank to shoot a > mosquito :P Wow, LOL!

Re: RES: Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread Frederik Nosi
s/sessions/threads in Tomcat -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Danilo, On 4/1/14, 2:03 PM, Danilo Amaral de Oliveira wrote: Next week we will deploy a institutional video to all company (more than 5k users) in a webpage in an application manges by the Tomcat 7.0.40. I have made a s

RES: Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread Danilo Amaral de Oliveira
copy its contents. Please notify sender and delete immediately. -Mensagem original- De: Christopher Schultz [mailto:ch...@christopherschultz.net] Enviada em: terça-feira, 1 de abril de 2014 18:32 Para: Tomcat Users List Assunto: Re: Configuring limits of requests/sessions/threads in Tomcat

Re: Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Danilo, On 4/1/14, 2:03 PM, Danilo Amaral de Oliveira wrote: > Next week we will deploy a institutional video to all company (more > than 5k users) in a webpage in an application manges by the Tomcat > 7.0.40. I have made a stress test through JMete

Re: RES: Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread André Warnier
André Warnier wrote: Danilo Amaral de Oliveira wrote: Milo, The video is embedded in a JWPlayer Javascript application. The video is in the page too, but you need download it before watch it. Summarizing, here the simulating process of watching the video: User access the page

Re: RES: Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread André Warnier
Danilo Amaral de Oliveira wrote: Milo, The video is embedded in a JWPlayer Javascript application. The video is in the page too, but you need download it before watch it. Summarizing, here the simulating process of watching the video: User access the page | Tomcat serve the page

Re: RES: Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread Milo Hyson
On Apr 1, 2014, at 12:00 PM, Danilo Amaral de Oliveira wrote: > The video is embedded in a JWPlayer Javascript application. The video is in > the page too, but you need download it before watch it. Since users have to download the video, I'm guessing it isn't being streamed at a reasonable

Re: Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread André Warnier
Danilo Amaral de Oliveira wrote: Hello Tomcat Community, Next week we will deploy a institutional video to all company (more than 5k users) in a webpage in an application manges by the Tomcat 7.0.40. I have made a stress test through JMeter, simulating a lot of simultaneous access, and when t

RES: Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread Danilo Amaral de Oliveira
em: terça-feira, 1 de abril de 2014 15:52 Para: Tomcat Users List Assunto: Re: Configuring limits of requests/sessions/threads in Tomcat On Apr 1, 2014, at 11:03 AM, Danilo Amaral de Oliveira wrote: > Next week we will deploy a institutional video to all company (more than 5k > users) in

Re: Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread Milo Hyson
On Apr 1, 2014, at 11:03 AM, Danilo Amaral de Oliveira wrote: > Next week we will deploy a institutional video to all company (more than 5k > users) in a webpage in an application manges by the Tomcat 7.0.40. I have > made a stress test through JMeter, simulating a lot of simultaneous access,

Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread Danilo Amaral de Oliveira
Hello Tomcat Community, Next week we will deploy a institutional video to all company (more than 5k users) in a webpage in an application manges by the Tomcat 7.0.40. I have made a stress test through JMeter, simulating a lot of simultaneous access, and when the simultaneous access reaches 100

Re: How to get the number of live threads in Tomcat 6?

2012-10-30 Thread Ravi Joshi
Thanks Dan, I got it. Thank you for the answer. -Ravi --- On Mon, 29/10/12, Daniel Mikusa wrote: From: Daniel Mikusa Subject: Re: How to get the number of live threads in Tomcat 6? To: "Tomcat Users List" Received: Monday, 29 October, 2012, 6:32 PM On Oct 29, 2012, at 12:39 PM,

Re: How to get the number of live threads in Tomcat 6?

2012-10-29 Thread Daniel Mikusa
he graphs updated? > My aim is just to know the number of active threads in tomcat6. Is there any > command/way to get the number of live threads in tomcat 6? My tomcat is > running on RHEL6 64bit server. There are a few tools, the best choice depends on exactly what you are trying to

Re: Threads in Tomcat

2012-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vance, On 5/18/12 12:29 PM, Vance - wrote: > The servlet I have in mind for modification is the one responsible > for performing the search as well as for getting the next page of > search results. If one or more of the wikis is unavailable, I want >

RE: Threads in Tomcat

2012-05-21 Thread Casper Wandahl Schmidt
database). Med venlig hilsen/Kind regards Casper/Kalle -Original Message- From: Tim Watts [mailto:t...@cliftonfarm.org] Sent: 18. maj 2012 21:54 To: Tomcat Users List Subject: Re: Threads in Tomcat On Fri, 2012-05-18 at 12:14 -0400, Vance - wrote: > I'm maintaining a W

Re: Threads in Tomcat

2012-05-18 Thread Tim Watts
On Fri, 2012-05-18 at 12:14 -0400, Vance - wrote: > I'm maintaining a Web application for searching multiple wikis, this app > runs under Tomcat 6. I need to modify a servlet so it instantiates a > 'Thread' subclass to perform a wiki availability check every so often, say > every 30 minutes. Given

Re: Threads in Tomcat

2012-05-18 Thread Vance -
Chris, thanks for responding. The servlet I have in mind for modification is the one responsible for performing the search as well as for getting the next page of search results. If one or more of the wikis is unavailable, I want to display an error message on the search results page. The wiki av

Re: Threads in Tomcat

2012-05-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vance, On 5/18/12 12:14 PM, Vance - wrote: > I'm maintaining a Web application for searching multiple wikis, > this app runs under Tomcat 6. I need to modify a servlet so it > instantiates a 'Thread' subclass to perform a wiki availability > check eve

Threads in Tomcat

2012-05-18 Thread Vance -
I'm maintaining a Web application for searching multiple wikis, this app runs under Tomcat 6. I need to modify a servlet so it instantiates a 'Thread' subclass to perform a wiki availability check every so often, say every 30 minutes. Given that I'm no expert on the use of threads, a co-worker sugg

Re: Blocked threads in Tomcat web app

2009-07-13 Thread Raphael Neve
tion stays outside of the > pool for to long. In some cases this is adequate. > > Thanks a lot for your help, I'm going to read up about that ! Raphael -- View this message in context: http://www.nabble.com/Blocked-threads-in-Tomcat-web-app-tp2445768

Re: Blocked threads in Tomcat web app

2009-07-13 Thread Rainer Jung
On 13.07.2009 11:31, Raphael Neve wrote: > > Rainer Jung-3 wrote: >> >> [...] >> >> Yup, and the code run by the finalizer makes a network call (likely to >> the database), which seems to be a very bad pattern. Finalizers are not >> a great idea by themselves, but one needs to keep them as simple

Re: Blocked threads in Tomcat web app

2009-07-13 Thread Raphael Neve
aphael -- View this message in context: http://www.nabble.com/Blocked-threads-in-Tomcat-web-app-tp24457682p24458570.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubs

Re: Blocked threads in Tomcat web app

2009-07-13 Thread Rainer Jung
On 13.07.2009 11:05, Raphael Neve wrote: > > Rainer Jung-3 wrote: >> TP-Processor16 owns lock at 0x73a71c40 and thus blocks TP12, TP5 and TP1. >> >> TP16 and TP2 both wait for lock 0x73a71dd0. The thread holding this lock >> is not in your dump. >> >> Since the lock is of type >> org.firebirdsql.g

Re: Blocked threads in Tomcat web app

2009-07-13 Thread Raphael Neve
, is that right ? The next question of course is : what is making the finalizer keep that lock ? Thanks for your insight, Raphael http://www.nabble.com/file/p24458247/thread%2Bdump.txt thread+dump.txt -- View this message in context: http://www.n

Re: Blocked threads in Tomcat web app

2009-07-13 Thread Rainer Jung
On 13.07.2009 10:12, Raphael Neve wrote: > Hello all, > > I have a problem with a web application using Tomcat 5.5.27 under Fedora > Linux and database Firebird 2.1. > > The application runs fine for a day or so, then I begin getting blocked > threads. Eventually, the heap space runs out and the

Blocked threads in Tomcat web app

2009-07-13 Thread Raphael Neve
ction to the database, how can they be blocking each other ? Thanks for any help, suggestions, etc ! Raphael Neve -- View this message in context: http://www.nabble.com/Blocked-threads-in-Tomcat-web-app-tp24457682p24457682.html Sent from the Tomcat - User mailing list archive at Nabble.com. ---

Re: Blocked threads in tomcat

2008-11-01 Thread Mohit Anchlia
On Fri, Oct 31, 2008 at 5:52 PM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: >> From: emerson cargnin [mailto:[EMAIL PROTECTED] >> Subject: Blocked threads in tomcat >> >> Below is the JConsole result, you can see that there are a lot of >> blocked

RE: Blocked threads in tomcat

2008-10-31 Thread Caldarale, Charles R
> From: emerson cargnin [mailto:[EMAIL PROTECTED] > Subject: Blocked threads in tomcat > > Below is the JConsole result, you can see that there are a lot of > blocked threads on there. > > Stack trace: > java.lang.O

Blocked threads in tomcat

2008-10-31 Thread emerson cargnin
Hi Guys We have our latest release going through the QA now, and during load tests after a certain number of users (around 40) the threads starting to block and the response time goes through space. Worth mentioning that each calls another two local service in the same server, so that will have at

Re: number of worker threads in Tomcat 6

2008-09-14 Thread Mark Thomas
André Warnier wrote: > Madhav wrote: >> Hi André, >> >> Thanks for the reply, but the link is about configuring Tomcat which I >> know. >> What I'm looking for is how to get these information inside servlet, >> i.e. in >> java code. Please let me know that or point me to any resource if you >> know

Re: number of worker threads in Tomcat 6

2008-09-14 Thread André Warnier
Madhav wrote: Hi André, Thanks for the reply, but the link is about configuring Tomcat which I know. What I'm looking for is how to get these information inside servlet, i.e. in java code. Please let me know that or point me to any resource if you know that. I don't really know. But I can imag

Re: number of worker threads in Tomcat 6

2008-09-14 Thread Madhav
44 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Madhav wrote: > >> Hi, >> I want to know the values of maxThreads, minSpareThreads parameters as >> well >> as the number of 'available' worker threads inside a servlet in Tomcat 6. >> >> I tri

Re: number of worker threads in Tomcat 6

2008-09-14 Thread André Warnier
Madhav wrote: Hi, I want to know the values of maxThreads, minSpareThreads parameters as well as the number of 'available' worker threads inside a servlet in Tomcat 6. I tried googling with -- find worker threads in Tomcat-- and similar phrases but was not able to get the above i

number of worker threads in Tomcat 6

2008-09-13 Thread Madhav
Hi, I want to know the values of maxThreads, minSpareThreads parameters as well as the number of 'available' worker threads inside a servlet in Tomcat 6. I tried googling with -- find worker threads in Tomcat-- and similar phrases but was not able to get the above info. Could anyo

Re: Status of threads in Tomcat( window service)

2008-08-02 Thread Bill Barker
The latest version of the service manager (aka tomcatNw.exe) has the ability to generate a thread dump for Tomcat running as a service. If this isn't an option in the menu on your version, you can upgrade just this component by grabbing tomcat6.exe and tomcat6w.exe from the most recent 6.0 dist

RE: Status of threads in Tomcat( window service)

2008-08-01 Thread Peter Crowther
> From: Johnny Kewl [mailto:[EMAIL PROTECTED] > From: "Thangavel Sankaranarayanan" <[EMAIL PROTECTED]> > > i am using tomcat as a window service > > ..so i couldn't create a thread dump... > http://localhost:8080/manager/status > > will give you some info on thread usage This assumes the OP has t

Re: Status of threads in Tomcat( window service)

2008-08-01 Thread Johnny Kewl
- Original Message - From: "Thangavel Sankaranarayanan" <[EMAIL PROTECTED]> To: Sent: Friday, August 01, 2008 4:05 PM Subject: Status of threads in Tomcat( window service) Hi, Please help me in find no of threads and thier status spawned by tomcat connector...a

Status of threads in Tomcat( window service)

2008-08-01 Thread Thangavel Sankaranarayanan
Hi, Please help me in find no of threads and thier status spawned by tomcat connector...at any instant of time... i am using tomcat as a window service ..so i couldn't create a thread dump... any other method which we can employ other than adding any extra API like JMX etc.. Thanks, Thangavel.S

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
, July 01, 2008 6:11 AM > To: Tomcat Users List > Subject: Blocking threads in Tomcat > > Hi list! > > I've had some issues with requests not being carried out in > parallel by Tomcat. My problem is that I haven't been able to > figure out when a worker thread b

RE: Blocking threads in Tomcat

2008-07-01 Thread Peter Crowther
[mailto:[EMAIL PROTECTED] > Sent: 01 July 2008 05:11 > To: Tomcat Users List > Subject: Blocking threads in Tomcat > > Hi list! > > I've had some issues with requests not being carried out in > parallel by > Tomcat. My problem is that I haven't been able to figu

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

Blocking threads in Tomcat

2008-06-30 Thread Fredrik Tolf
Hi list! I've had some issues with requests not being carried out in parallel by Tomcat. My problem is that I haven't been able to figure out when a worker thread blocks and when it does not. To try and pin down the behavior, I did a little experiment. I took a servlet that I had, that handles to

Re: Threads in tomcat application.

2007-09-02 Thread Juha Laiho
Manivannan Palanichamy wrote: > I need to design a web application that may use threads. Thats, the web > application might have to read some 200 files from network. In order to > speed up the process, I've decided to use threads/thread pooling. But, > however I know it is not a good practice to us

Threads in tomcat application.

2007-08-31 Thread Manivannan Palanichamy
Hi I need to design a web application that may use threads. Thats, the web application might have to read some 200 files from network. In order to speed up the process, I've decided to use threads/thread pooling. But, however I know it is not a good practice to use threads in a web/server applicat

Re: how to stop user app daemon threads in tomcat webapps?

2005-11-06 Thread Darek Czarkowski
On Mon, 7 Nov 2005 11:36:16 +0800 "Augmentin" <[EMAIL PROTECTED]> wrote: >Hi, > >I found that the daemon threads created by my Tomcat >webapp won't automatically stop when the webapp itself is >stopped or undeployed/redeployed. > >As Tomcat itself is a java application there will always >be user t

how to stop user app daemon threads in tomcat webapps?

2005-11-06 Thread Augmentin
Hi, I found that the daemon threads created by my Tomcat webapp won't automatically stop when the webapp itself is stopped or undeployed/redeployed. As Tomcat itself is a java application there will always be user threads in the jvm even when your webapp is stopped.. which makes the daemon thre