Re: Performance problem with NIO under high concurrency

2017-08-31 Thread Thuc Nguyen
As an experimentation, I started Tomcat with “-Dorg.apache.tomcat.util.net.NioSelectorShared=false”, and “selectorPool.maxSelectors” set to 1000, the same as the number of threads. This problem didn’t happen with that setting. Even with “selectorPool.maxSelectors” set to 1, it was noticeably sl

Re: Performance problem with NIO under high concurrency

2017-08-31 Thread Thuc Nguyen
Hi Chris, Thanks for the quick response. Yes, the clients were being throttled. These throttled requests were slow to start with and there was no noticeable difference in the download speed when the problem occurred. The smaller download started out OK. But after 10-15 successful serial reques

Re: Performance problem with NIO under high concurrency

2017-08-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thuc, On 8/31/17 11:25 AM, Thuc Nguyen wrote: > We run JFrog Artifactory which is fronted by Tomcat 8.0.32. We > recently upgraded from Tomcat 7.0.56. Since the upgrade, > Artifactory occasionally slows to a crawl. Any chance of using the latest To

Performance problem with NIO under high concurrency

2017-08-31 Thread Thuc Nguyen
Hi, We run JFrog Artifactory which is fronted by Tomcat 8.0.32. We recently upgraded from Tomcat 7.0.56. Since the upgrade, Artifactory occasionally slows to a crawl. We could reproduce this problem by downloading a large (1GB) file concurrently from 500 different machines. However, to avoid e

Re: Tomcat performance problem

2012-11-26 Thread Mark Thomas
On 25/11/2012 00:50, Alex Moskvin wrote: > Hi, > > I am using Tomcat 7.0.30 and OpenEJB 4.5 to host high loaded app and at > some point found with VisualVM there is a bottleneck when there is a lot of > concurrent requests (about 400-600 req/sec). Requests and responses are > small (usually not la

Re: Tomcat performance problem

2012-11-24 Thread Tony Anecito
millisecond and then I started to see latency from network external to my company.   Good Hunting. -Tony --- On Sat, 11/24/12, Alex Moskvin wrote: From: Alex Moskvin Subject: Tomcat performance problem To: users@tomcat.apache.org, users-h...@tomcat.apache.org Date: Saturday, November 24, 2012

Re: Performance Problem

2009-12-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 11/20/2009 5:32 AM, Peter Crowther wrote: > Why are they in the Session rather than anywhere else? Why do they > exist at all? To improve performance, of course! - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comm

Re: Performance Problem

2009-11-20 Thread Peter Crowther
2009/11/20 div.gcet > > Hi all, > >I am developing a web application using Tomcat 6.0 and MyEclipse > IDE. For my requirements i have to store a lot of (100-200) Lists objects > in my sessions. And any list may be associated with a lot other objects, > because of this the performance of

Re: Performance Problem

2009-11-20 Thread Pid
On 20/11/2009 10:14, div.gcet wrote: Hi all, I am developing a web application using Tomcat 6.0 and MyEclipse IDE. For my requirements i have to store a lot of (100-200) Lists objects in my sessions. And any list may be associated with a lot other objects, because of this the performa

Performance Problem

2009-11-20 Thread div.gcet
slow. As i run through my application its becoming more slow. Please can anybody provide my any suggestion on this issue. Thanks in advance. Regards, div.gcet -- View this message in context: http://old.nabble.com/Performance-Problem-tp26436340p26436340.html Sent from the Tomcat - User mailing

Re: Mod jk selective forwarding performance problem

2007-08-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, Bill Bainbridge wrote: > JkStripSession On solved the problem. It now works first time, > every time, and seems faster than sending everything to Tomcat. Thanks!! If you are going to be using Apache httpd in front of Tomcat, then using JkStripS

Re: Mod jk selective forwarding performance problem

2007-08-06 Thread Bill Bainbridge
Chris, JkStripSession On solved the problem. It now works first time, everytime, and seems faster than sending everything to Tomcat. Thanks!! > I'd like to have > Apache serve the images, stylesheets and other static content that is > referenced in the Struts jsps, but when I try to do that, i

Re: Mod jk selective forwarding performance problem

2007-08-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, Bill Bainbridge wrote: > I'd like to have > Apache serve the images, stylesheets and other static content that is > referenced in the Struts jsps, but when I try to do that, if the page > isn't cached in the browser, it comes up with no buttons

Re: Mod jk selective forwarding performance problem

2007-08-06 Thread Bill Bainbridge
Thanks Hassan, Cookies _are_ enabled. I'm not sure why it's sending the sessionid, but a few lines further down, I get File does not exist: /usr/apache/httpd/htdocs/payments/images/Blue _Bar_Back.gif, referer: http://74.205.87.59/payments/welcome.do The first three entries have a sessionid,

Re: Mod jk selective forwarding performance problem

2007-08-06 Thread Hassan Schroeder
On 8/6/07, Bill Bainbridge <[EMAIL PROTECTED]> wrote: > File does not exist: > /usr/apache/httpd/htdocs/payments/images/Bttn_IAgree.gif;jsessionid=FA9B1578B6A813AAF2AB528C7DD398E4 It appears that Apache httpd doesn't recognize the ';' separator and thinks the 'jessionid=' is part of the file

Mod jk selective forwarding performance problem

2007-08-06 Thread Bill Bainbridge
I am using Tomcat 5.5.23 with Apache 2.2.4 and mod_jk. The "payments" app uses Struts, Spring and Tiles. I'd like to have Apache serve the images, stylesheets and other static content that is referenced in the Struts jsps, but when I try to do that, if the page isn't cached in the browser, it

Re: Re: Performance problem on HTTP PUT of large binary data

2007-07-26 Thread Daniel Hagen
Hi Christopher, thank you for your reply. From: Christopher Schultz<[EMAIL PROTECTED]> > Daniel Hagen wrote: > > I am currently developing an application that handles uploads of big > > files using HTTP PUT. > > > The client is a Java client writing 32K blocks to the server using > > chunked st

Re: Performance problem on HTTP PUT of large binary data

2007-07-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:[EMAIL PROTECTED] >> Subject: Re: Performance problem on HTTP PUT of large binary data >> >> - From java.io.InputStream javadoc: >> "Reads

RE: Performance problem on HTTP PUT of large binary data

2007-07-25 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: Performance problem on HTTP PUT of large binary data > > - From java.io.InputStream javadoc: > "Reads some number of bytes from the input stream and stores > them into the buffer array b. The number of b

Re: Performance problem on HTTP PUT of large binary data

2007-07-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel, Daniel Hagen wrote: > I am currently developing an application that handles uploads of big > files using HTTP PUT. > The client is a Java client writing 32K blocks to the server using > chunked streaming mode with 32K chunk size. > > On per

Performance problem on HTTP PUT of large binary data

2007-07-25 Thread Daniel Hagen
Dear All, I am currently developing an application that handles uploads of big files using HTTP PUT. The I/O part of the server application can be broken down to (not literally spoken, just to make the working clear): public void doPut(HttpServletRequest request, HttpServletResponse response) {

Re: Performance problem with Tomcat?

2007-02-16 Thread Michal Glowacki
secs, and then deployment info appears. Is this tomcat and if yes what can I do about this? Regards, Michal - Original Message - From: "Zack Grafton" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, February 16, 2007 7:50 AM Subject: Re: Performance pro

Re: Performance problem with Tomcat?

2007-02-15 Thread Zack Grafton
Zack Michal Glowacki wrote: That is right, only for the first time, even 10-12 secs, but later maximum 2. Thanks for all help, Michal - Original Message - From: "Zack Grafton" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, February 15, 2007 5

Re: Performance problem with Tomcat?

2007-02-15 Thread Michal Glowacki
That is right, only for the first time, even 10-12 secs, but later maximum 2. Thanks for all help, Michal - Original Message - From: "Zack Grafton" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, February 15, 2007 5:43 PM Subject: Re: Perfo

Re: Performance problem with Tomcat?

2007-02-15 Thread Zack Grafton
Michal, Your JSP files will be compiled regardless the first time they are accessed. If you try refreshing the page, or loading it in a different browser, you might notice a speed up. You can also precompile your JSP files and that should also speed up the first access. Please let us know

Re: Performance problem with Tomcat?

2007-02-15 Thread David Delbecq
En l'instant précis du 02/15/07 13:02, Michal Glowacki s'exprimait en ces termes: > Thank you for your fast response! > >> Which version of EJB. Local EJB of remote EJB? With or without security? >> EJBs have the bad reputation to be slow, and cubersome to develop >> (probably improved in version 3

Re: Performance problem with Tomcat?

2007-02-15 Thread Michal Glowacki
Thank you for your fast response! Which version of EJB. Local EJB of remote EJB? With or without security? EJBs have the bad reputation to be slow, and cubersome to develop (probably improved in version 3, this was an aim at sun) It's EJB 2.1 (JBoss 4). I'm using remote interfaces everywhere,

Re: Performance problem with Tomcat?

2007-02-15 Thread David Delbecq
En l'instant précis du 02/15/07 12:40, Michal Glowacki s'exprimait en ces termes: > Hi > > I'm quite new to Jboss/Tomcat, so please forgive me if my questions are > without sense... > > I have created a JSF application that uses EJB. It deploys successfully, but > the thing that concerns me is:

Performance problem with Tomcat?

2007-02-15 Thread Michal Glowacki
Hi I'm quite new to Jboss/Tomcat, so please forgive me if my questions are without sense... I have created a JSF application that uses EJB. It deploys successfully, but the thing that concerns me is: When I go to any page (locally, e.g. localhost:8080/Test/faces/Page1.jsp) I can see in jbo