Re: Tomcat performance goes down after install apr.

2014-11-14 Thread 杨华杰
Well, here is the information the platform (OS) redhat enterprise 6.4(64 bit) - the Java JVM version used (1.7.45) - the Tomcat version used (7.0.45) - the APR version used (APR from redhat cd) On Tue, Nov 11, 2014 at 5:00 PM, André Warnier wrote: > 杨华杰 wrote: > >> Tomcat performance goes down

Re: Tomcat performance goes down after install apr.

2014-11-11 Thread André Warnier
杨华杰 wrote: Tomcat performance goes down after install apr. I followed this doc http://tomcat.apache.org/native-doc/, I think the different is I didn't set sslengine setting as I don't use it. And I saw the error in catilina.out, I simply ignore it as I don't use it. I fired 300 concurrent ca

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
Hi Alex,   Typically I have found the first issue is the response time of the database queries. Threads and sockets will start to reach a limit when this happens. Then after that is looked at then the next issue will be understanding what is really possible with the system. Just going from EJB co

Re: Tomcat Performance Turning.

2011-09-03 Thread Leon Rosenberg
t; > -Original Message- > From: Leon Rosenberg [mailto:rosenberg.l...@gmail.com] > Sent: Friday, September 02, 2011 3:19 PM > To: Tomcat Users List > Subject: Re: Tomcat Performance Turning. > > Hello Talha, > > On Fri, Sep 2, 2011 at 6:16 PM, Talha Fazal wrote:

Re: Tomcat Performance Turning.

2011-09-03 Thread Leon Rosenberg
Hello Christopher, On Fri, Sep 2, 2011 at 11:52 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Leon, > > On 9/2/2011 4:19 PM, Leon Rosenberg wrote: >> from my experience there is no need for apache in your >> setup anyway . > > Uh, load-balancing? Aeh... load

Re: Tomcat Performance Turning.

2011-09-02 Thread Igor Cicimov
Paste the workers.properties file and the mod_jk settings here. Are you using prefork or mpm in Apache? Have you tuned the apache settings to match the tomcat number of threads? Igor On Sat, Sep 3, 2011 at 7:52 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNE

Re: Tomcat Performance Turning.

2011-09-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, On 9/2/2011 4:19 PM, Leon Rosenberg wrote: > from my experience there is no need for apache in your > setup anyway . Uh, load-balancing? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla

RE: Tomcat Performance Turning.

2011-09-02 Thread Talha Fazal
exposed to outside attacks; B) Load balancing. Thanks Leon! -Original Message- From: Leon Rosenberg [mailto:rosenberg.l...@gmail.com] Sent: Friday, September 02, 2011 3:19 PM To: Tomcat Users List Subject: Re: Tomcat Performance Turning. Hello Talha, On Fri, Sep 2, 2011 at 6:16 PM, Talha

Re: Tomcat Performance Turning.

2011-09-02 Thread Leon Rosenberg
> Thanks, > > > -Original Message- > From: R Batchelor [mailto:rsbat...@yahoo.com] > Sent: Friday, September 02, 2011 10:10 AM > To: Tomcat Users List > Subject: Re: Tomcat Performance Turning. > > Have you ruled out issues with db connection pooling? NO. I

RE: Tomcat Performance Turning.

2011-09-02 Thread Talha Fazal
o try mod_proxy_ajp and mod_proxy instead of mod_jk. Any thoughts here? Thanks, -Original Message- From: R Batchelor [mailto:rsbat...@yahoo.com] Sent: Friday, September 02, 2011 10:10 AM To: Tomcat Users List Subject: Re: Tomcat Performance Turning. Have you ruled out issues with db conne

Re: Tomcat Performance Turning.

2011-09-02 Thread R Batchelor
'd but all the database users/connections are idle.  These can be symptoms of an application mis-managing its dbcp pools. From: Leon Rosenberg To: Tomcat Users List Sent: Friday, September 2, 2011 7:55 AM Subject: Re: Tomcat Performance Turning. Hello Talh

Re: Tomcat Performance Turning.

2011-09-02 Thread Leon Rosenberg
; -Original Message- >> From: Leon Rosenberg [mailto:rosenberg.l...@gmail.com] >> Sent: Friday, September 02, 2011 8:35 AM >> To: Tomcat Users List >> Subject: Re: Tomcat Performance Turning. >> >> Hello Talha, >> >> from a quick glance at your post

RE: Tomcat Performance Turning.

2011-09-02 Thread Talha Fazal
[mailto:chuck.caldar...@unisys.com] Sent: Friday, September 02, 2011 9:16 AM To: Tomcat Users List Subject: RE: Tomcat Performance Turning. > From: Talha Fazal [mailto:tfa...@credera.com] > Subject: RE: Tomcat Performance Turning. > We did take a thread dump and we found a lot of threa

RE: Tomcat Performance Turning.

2011-09-02 Thread Talha Fazal
Hi Leon, Please see any answers in CAPS below. -Original Message- From: Leon Rosenberg [mailto:rosenberg.l...@gmail.com] Sent: Friday, September 02, 2011 9:06 AM To: Tomcat Users List Subject: Re: Tomcat Performance Turning. Hello Talha, seems that your tomcats are fine. Question

RE: Tomcat Performance Turning.

2011-09-02 Thread Caldarale, Charles R
> From: Talha Fazal [mailto:tfa...@credera.com] > Subject: RE: Tomcat Performance Turning. > We did take a thread dump and we found a lot of threads locked. > "http-8014-9" daemon prio=10 tid=0x60965c00 nid=0x6c83 in > Ob

Re: Tomcat Performance Turning.

2011-09-02 Thread Leon Rosenberg
t; > Thanks! > > -Original Message- > From: Leon Rosenberg [mailto:rosenberg.l...@gmail.com] > Sent: Friday, September 02, 2011 8:35 AM > To: Tomcat Users List > Subject: Re: Tomcat Performance Turning. > > Hello Talha, > > from a quick glance at your post, do you have

RE: Tomcat Performance Turning.

2011-09-02 Thread Talha Fazal
rker) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:484) at java.lang.Thread.run(Thread.java:619) Sincerely, Talha. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, September 02, 2011 8:42 AM To: Tomcat Users List Sub

RE: Tomcat Performance Turning.

2011-09-02 Thread Talha Fazal
Plz. see my answers below in UPPERCAPS. Thanks! -Original Message- From: Leon Rosenberg [mailto:rosenberg.l...@gmail.com] Sent: Friday, September 02, 2011 8:35 AM To: Tomcat Users List Subject: Re: Tomcat Performance Turning. Hello Talha, from a quick glance at your post, do you have

RE: Tomcat Performance Turning.

2011-09-02 Thread Caldarale, Charles R
> From: Talha Fazal [mailto:tfa...@credera.com] > Subject: Tomcat Performance Turning. > In our staging environment for load testing, when we run the load > test using 525 concurrent users, the app doesn't perform at all. > The CPU usage (on Apache and Tomcat Servers) hovers between 7% to > 8%.

Re: Tomcat Performance Turning.

2011-09-02 Thread Leon Rosenberg
Hello Talha, from a quick glance at your post, do you have the same 30 max threads limit in weblogic? Because sending 525 users through 2x30=60 max threads seems a little bottlenecky. Which software are you using to produce the load? Does it keepalive the connections? regards Leon On Fri, Sep 2,

Re: Tomcat performance issues...

2011-06-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tony, On 6/30/2011 11:23 AM, Tony Anecito wrote: > I suspect Tomcat might support the lib you mentioned Tomcat does not need to support the library specifically: if a library properly uses the Servlet and/or JSP APIs properly, it should work with Tom

Re: Tomcat performance issues...

2011-06-30 Thread Tony Anecito
: Thu, June 30, 2011 9:19:49 AM Subject: Re: Tomcat performance issues... 2011/6/30 Tony Anecito : > Thanks for the link and it proved what I was concerned about and that is Tomcat > 6 does not have an approved standard library for JSP's which means 7 has more > issues with this &qu

Re: Tomcat performance issues...

2011-06-30 Thread Konstantin Kolinko
2011/6/30 Tony Anecito : > Thanks for the link and it proved what I was concerned about and that is > Tomcat > 6 does not have an approved standard library for JSP's which means 7 has more > issues with this "Standard" taglib. > > I could be wrong but the highest level of support is servlet 2.4 an

Re: Tomcat performance issues...

2011-06-30 Thread Tony Anecito
t 2.5. Regards, -Tony - Original Message From: Tony Anecito To: Tomcat Users List Sent: Wed, June 29, 2011 5:10:33 PM Subject: Re: Tomcat performance issues... Thanks I did not spot the users group. I thought maybe the taglibs was a dead project seemed like there was no version that s

Re: Tomcat performance issues...

2011-06-29 Thread Tony Anecito
Thanks I did not spot the users group. I thought maybe the taglibs was a dead project seemed like there was no version that supported Tomcat 6.0.x. I will continue the message thread onto that group thanks for the advice. I am a tester but the response time was 3-4 seconds. I have not asked the

RE: Tomcat performance under low load

2010-10-19 Thread Vijay Menon
ently tuned but for some reason, the file access is slow. We haven't yet got the exact reason yet, so have to wait and see. Vijay From: vijay_me...@hotmail.com To: users@tomcat.apache.org Subject: RE: Tomcat performance under low load Date: Sun, 17 Oct 2010 08:42:30 +1000 Thanks for t

Re: Tomcat performance under low load

2010-10-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vijay, On 10/16/2010 6:42 PM, Vijay Menon wrote: > Thanks for the replies. Based on that, we did change the connectors > to use executor threads. However, based on profiling the app, it > turned out to be a code issue. Glad you solved your problem. C

RE: Tomcat performance under low load

2010-10-16 Thread Vijay Menon
Thanks for the replies. Based on that, we did change the connectors to use executor threads. However, based on profiling the app, it turned out to be a code issue. Thanks again. From: vijay_me...@hotmail.com To: users@tomcat.apache.org Subject: Tomcat performance under low load Date: Thu, 14 Oc

Re: Tomcat performance under low load

2010-10-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vijay, On 10/13/2010 7:35 PM, Vijay Menon wrote: > We're scaling to satisfactory loads of 250 concurrent > requests serving pages in 0.5 seconds. Excellent (assuming that 0.5 seconds is acceptable to your team). > The other test scenario is where th

RE: Tomcat performance under low load

2010-10-13 Thread Caldarale, Charles R
> From: Vijay Menon [mailto:vijay_me...@hotmail.com] > Subject: Tomcat performance under low load > The other test scenario is where the tomcat instance is kept > idle and a single request is sent in every 90 or so seconds. > In this case, the response takes about 8 seconds out of which > about

Re: Tomcat performance tuning

2010-09-24 Thread Ognjen Blagojevic
Rujin, I Installed tomcat 5.5.20 version in my Windows 2008 server and the java version is Java 1.6.0.b105.We are using 2 Mbps Bandwidth Leased line.In tomcat we hosted around 5(five) application.When the no of seesion increases more than 1600 session the total application is slow and not able

RE: tomcat performance differences between windows and linux

2010-05-28 Thread Dave Siracusa
ate: Fri, 28 May 2010 10:35:07 -0400 > From: jhubbsl...@att.net > To: users@tomcat.apache.org > Subject: Re: tomcat performance differences between windows and linux > > On 5/28/10 10:06 AM, Christopher Schultz wrote: > > What about network configuration? Are both servers the

Re: tomcat performance differences between windows and linux

2010-05-28 Thread Jeff Hubbs
On 5/28/10 10:27 AM, Dave Siracusa wrote: Yes both are on the same network and same distance. If I limit it to 30 threads their behavior is the same. By this do you mean that the timing of both systems more closely match each other if you produce just 30 threads on each? As far as the ve

Re: tomcat performance differences between windows and linux

2010-05-28 Thread Jeff Hubbs
On 5/28/10 10:06 AM, Christopher Schultz wrote: What about network configuration? Are both servers the same "distance" from you on the network? That's a reasonable question. The only thing I can add - and I wish I knew more about this than I do - is that Linux is configurable to a fault wh

RE: tomcat performance differences between windows and linux

2010-05-28 Thread Dave Siracusa
> To: users@tomcat.apache.org > Subject: Re: tomcat performance differences between windows and linux > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Dave, > > On 5/28/2010 8:25 AM, Dave Siracusa wrote: > > If I run this test against a Windows hosted tomc

Re: tomcat performance differences between windows and linux

2010-05-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, On 5/28/2010 8:25 AM, Dave Siracusa wrote: > If I run this test against a Windows hosted tomcat all threads > pretty much start at the same time and end within 10-20 msec of each > other. > > When I run the test against a linux hosted tomcat t

[OT] Application speed (was Re: Tomcat performance benchmark)

2009-12-07 Thread Peter Crowther
2009/12/7 André Warnier > On the other hand, it would be really interesting to compare the > performance of a set of webservers 5 years ago, with the current ones, if > the comparison is in terms of real-world application requests served. > Granted, servers have become faster, memory and disk hav

Re: Tomcat performance benchmark

2009-12-07 Thread André Warnier
Peter Crowther wrote: 2009/12/7 Neil Aggarwal Here is one that is somewhat dated: http://www.webperformanceinc.com/library/reports/ServletReport/ Good grief, that's not so much "dated" as "coming back from beyond the grave"! It's two major versions and a lot of performance optimisations out

RE: Tomcat performance benchmark

2009-12-07 Thread Caldarale, Charles R
> From: peter.crowth...@googlemail.com > [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther > Subject: Re: Tomcat performance benchmark > > Benchmarking current performance based on that report is rather like > assuming the current Formula 1 motor racing teams a

Re: Tomcat performance benchmark

2009-12-07 Thread Peter Crowther
2009/12/7 Neil Aggarwal > Here is one that is somewhat dated: > http://www.webperformanceinc.com/library/reports/ServletReport/ > > Good grief, that's not so much "dated" as "coming back from beyond the grave"! It's two major versions and a lot of performance optimisations out of date for Tomcat

RE: Tomcat performance benchmark

2009-12-07 Thread Neil Aggarwal
Hello: > I would like to know if anybody could provide me with a > unbiased "tomcat vs > others" peformance benchmark Here is one that is somewhat dated: http://www.webperformanceinc.com/library/reports/ServletReport/ Neil -- Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net Host y

Re: Tomcat performance benchmark

2009-12-07 Thread Mark Thomas
Cae Fernandes wrote: > Hello guys, > > I would like to know if anybody could provide me with a unbiased "tomcat vs > others" peformance benchmark with full tests and full system specs > (hardware, os, etc). > > I'm interested in concurrent amount of users, hardware load and specs. > I've been des

RE: Tomcat Performance

2008-11-12 Thread Caldarale, Charles R
> From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat Performance > > David, was replying to Charles's earlier email on that. > I thought I read it right first in the email and assumed > Charles was correct in that. Assuming you're referring to me,

Re: Tomcat Performance

2008-11-12 Thread Peng Tuck Kwok
David, was replying to Charles's earlier email on that. I thought I read it right first in the email and assumed Charles was correct in that. Hazards of reading mail on the go :P On Wed, Nov 12, 2008 at 9:26 PM, David kerber <[EMAIL PROTECTED]> wrote: > Peng Tuck Kwok wrote: > >> Probably the re

Re: Tomcat Performance

2008-11-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, Leon Rosenberg wrote: > On Wed, Nov 12, 2008 at 2:26 PM, David kerber <[EMAIL PROTECTED]> wrote: >> Peng Tuck Kwok wrote: >>> Probably the reason why he's seeing one instance of tomcat moving quicker >>> than 2 instances is the fact that there i

Re: Tomcat Performance

2008-11-12 Thread Leon Rosenberg
On Wed, Nov 12, 2008 at 2:26 PM, David kerber <[EMAIL PROTECTED]> wrote: > Peng Tuck Kwok wrote: >> >> Probably the reason why he's seeing one instance of tomcat moving quicker >> than 2 instances is the fact that there is some form of contention for >> resources on that single machine assuming tha

Re: Tomcat Performance

2008-11-12 Thread David kerber
Peng Tuck Kwok wrote: Probably the reason why he's seeing one instance of tomcat moving quicker than 2 instances is the fact that there is some form of contention for resources on that single machine assuming that the 2 instances are configured identically in every aspect (other than ports). Y

Re: Tomcat Performance

2008-11-11 Thread Peng Tuck Kwok
Probably the reason why he's seeing one instance of tomcat moving quicker than 2 instances is the fact that there is some form of contention for resources on that single machine assuming that the 2 instances are configured identically in every aspect (other than ports). The idea is not to give you

Re: Tomcat Performance

2008-11-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pengtuck, [EMAIL PROTECTED] wrote: > So let me get this straight. You are reluctant to accept a > configuration which gives you improved throughput ? :P No, the OP is unwilling to use a configuration that doesn't make any sense: one single Tomcat sho

RE: Tomcat Performance

2008-11-11 Thread pengtuck
So let me get this straight. You are reluctant to accept a configuration which gives you improved throughput ? :P Anyway, this is not an unusual approach, from what I understand this simply makes full use of the resources available on that machine. Not uncommon in real world to see app servers

Re: Tomcat Performance

2008-11-11 Thread Pavel Savara
May be your tomcat is configured to server only limited number of clients so it doesn't use all hardware power when you deploy two tomcats you can serve twice as much clients. I would say tune tomcat configuration to accept more clients connections. Palko On Mon, 2008-11-10 at 11:56 +0530, Nish

RE: Tomcat Performance

2008-11-10 Thread Nishi Kant
, Nishi From: Ronald Klop [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2008 2:54 PM To: Tomcat Users List Cc: Nishi Kant Subject: Re: Tomcat Performance 2 Instances don't compete for locking between threads. So possibly your application depends a l

Re: Tomcat Performance

2008-11-10 Thread Ronald Klop
2 Instances don't compete for locking between threads. So possibly your application depends a lot on locking? Ronald. Op maandag, 10 november 2008 om 7:26 uur schreef Tomcat Users List : Subject: Tomcat Performance Date: Mon Nov 10 07:26:21 CET 2008 From: Nishi Kant <[EMAIL PROTECTED]> Hi A

Re: tomcat performance issue.

2008-06-04 Thread Jim Cox
Are you maxing out your database connection pool? On Wed, Jun 4, 2008 at 1:29 PM, Zufeng Huang <[EMAIL PROTECTED]> wrote: > proxool: > 9 >20 >450 >100 >

RE: Tomcat performance over VMWare

2008-04-02 Thread Karim Zaki
Hi Gabe, I allocated 2 processors to the VM. Regards, Karim - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat performance over VMWare

2008-04-01 Thread Gabe Wong
Karim Zaki wrote: Hi all, I'm experiencing poor performance with Tomcat 5.0.28 running on a Windows 2000 Server VM (Windows Server 2003 R2 host, VMWare Server 1.0.4). Tomcat takes up around 50% of the CPU and the "System" process takes up the other 50% when making requests that return relativ

Re: Tomcat Performance

2008-01-31 Thread David Brown
Hello Peter, Wow! this is good stuff: exactly what I needed. I feel sorry for the client when they see that first baseline! Thank you! David. Peter Lin wrote .. > from past experience, it's much better to use hardware load balancing. At a > previous job, we had any where from 12-24 servers load b

Re: Tomcat Performance

2008-01-31 Thread Peter Lin
yes, most hardware load balancer handle sticky sessions. this was back in 2001-2002. I don't know which model number it was, but it was part of cisco's local director line of routers. peter On Jan 31, 2008 3:46 AM, andrey.morskoy <[EMAIL PROTECTED]> wrote: > About cisco: Peter Lin, what was the

Re: Tomcat Performance

2008-01-31 Thread Leon Rosenberg
I would be interested how much performance you were able to tickle compared to default jvm settings? Leon And how many of the settings had to be reverted with switch to a newer jdk, if any. On Jan 31, 2008 3:49 AM, Peter Lin <[EMAIL PROTECTED]> wrote: > from past experience, it's much better to u

Re: Tomcat Performance

2008-01-31 Thread andrey.morskoy
About cisco: Peter Lin, what was the model in your case? Was it able to replicate sessions (sticky session maybe ) ? Peter Lin wrote: from past experience, it's much better to use hardware load balancing. At a previous job, we had any where from 12-24 servers load balanced behind a cisco local d

Re: Tomcat Performance

2008-01-30 Thread Peter Lin
from past experience, it's much better to use hardware load balancing. At a previous job, we had any where from 12-24 servers load balanced behind a cisco local director. Any load balancing router today can do the job, it doesn't have to be cisco. What I did in the past was to take production log

Re: Tomcat Performance

2008-01-30 Thread David Brown
Hello Andrew, reading your email, Alan's email and the Mladen email piqued my interest because I am currently working on a gig to improve the performance and monitoring of two Tomcat instances supporting 3 web applications and one web service. I am inclined to agree with Alan. And, did you read

RE: Tomcat Performance

2008-01-29 Thread Peter Crowther
> From: Alan Chaney [mailto:[EMAIL PROTECTED] > Unfortunately I think it is way more complicated than this. Seconded. Andrew, you keep mailing this list looking for simple, neat and clean ways of working out the maximum capability of a Tomcat application. There aren't any! The *only* reliable

Re: Tomcat Performance

2008-01-29 Thread Leon Rosenberg
Without wanting to oppose the whole document, the parts you quoted are pretty incomplete. first, calculating AART from clients perespective (as implicitely done in the article) is not a good idea, since you are mixing up tomcat response time, network transport, internet latency, all in one bunch.

Re: Tomcat Performance

2008-01-29 Thread Alan Chaney
Unfortunately I think it is way more complicated than this. I think that Mladen Turk's article has a lot of very useful information about configuring Tomcat and I congratulate him on putting it together. However, I've spent some time recently working on some performance issues and I think that

Re: Tomcat Performance Question

2008-01-26 Thread mgainty
ubject: Re: Tomcat Performance Question > Ali Ok wrote: > > Thanks David, > > > > I mean, if I make 3 requests in a very short time (about 10 seconds); > > Tomcat does not respond. > > I read books, tutorials, faqs and threads at maling list about Tomcat > >

Re: Tomcat Performance Question

2008-01-26 Thread David Kerber
Ali Ok wrote: Thanks David, I mean, if I make 3 requests in a very short time (about 10 seconds); Tomcat does not respond. I read books, tutorials, faqs and threads at maling list about Tomcat tuning. But I couldnt find an example server.xml file used in production or real test results. So

Re: Tomcat Performance Question

2008-01-26 Thread Peter Lin
have you tried monitoring the CPU and IO usage of the system during the test? In the past, when I stress test an application, I monitor the cpu and io, to determine which part is getting maxed out first. For example, if I was serving up static pages, the first thing to mak out is the IO, so even t

RE: Tomcat Performance Question

2008-01-26 Thread Caldarale, Charles R
> From: Ali Ok [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat Performance Question > > What if someone make so much requests and confuse the server? > Does Tomcat have an prevention for this situation? You can configure the maximum number of requests a will handle concurrently,

Re: Tomcat Performance Question

2008-01-26 Thread Ali Ok
Peter, thats ok, maybe some day we can get that much hit :) What if someone make so much requests and confuse the server? Does Tomcat have an prevention for this situation? Or is it beyond the scope? David, I have already read all of resources you sent. Invariably performance issues are rarely a

Re: Tomcat Performance Question

2008-01-26 Thread David Brown
Hello Ali, there are no absolute benchmarks for what you are looking for. The central theme to any performance questions invariably lead to the word (Architecture). You need to evaluate you overall architecture from a high level perspective. With this said the questions then are: * What is your

Re: Tomcat Performance Question

2008-01-26 Thread Peter Lin
30,000 requests in 10 seconds probably isn't normal traffic, but it could represent a sudden spike. think of it another way, that's 3,000 requests per second. If we calculate that for a 10 hour period, it puts things in perspective 1000 req/sec * 60 sec/min = 60,000 req/min 60,000 req/min * 60 mi

Re: Tomcat Performance Question

2008-01-26 Thread Ali Ok
Thanks David, I mean, if I make 3 requests in a very short time (about 10 seconds); Tomcat does not respond. I read books, tutorials, faqs and threads at maling list about Tomcat tuning. But I couldnt find an example server.xml file used in production or real test results. So I cant understan

Re: Tomcat Performance Question

2008-01-26 Thread David Brown
Hello Ali, please find included below a link URL that addresses the JSF performance issue. A much more rigorous test would be to use the JMeter distributed testing using the JMeter server. HTH, David. Ali Ok wrote .. > Hi, > > We are building a web application with JSF. Last day I tested it wit

Re: Tomcat performance questions

2007-11-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tony, Tony Anecito wrote: > Actually I just saw some reports on the new quad intel 45nm > processors and they are much faster than 15msec. Yes, but the windows timer resolution sucks. :( > To justify new hardware and predict scalability Capacity Pla

Re: Tomcat performance questions

2007-11-14 Thread Filip Hanik - Dev Lists
Tony Anecito wrote: Actually I just saw some reports on the new quad intel 45nm processors and they are much faster than 15msec. To justify new hardware and predict scalability Capacity Planning groups have to show the before/after performance. I have seen web apps operate in the 4msec range on

Re: Tomcat performance questions

2007-11-14 Thread Tony Anecito
Actually I just saw some reports on the new quad intel 45nm processors and they are much faster than 15msec. To justify new hardware and predict scalability Capacity Planning groups have to show the before/after performance. I have seen web apps operate in the 4msec range on comercial servlet con

Re: Tomcat performance questions

2007-11-14 Thread Filip Hanik - Dev Lists
Tony Anecito wrote: Hi All, I am using Tomcat 6.0.14 with java 1.6.0_02 on Windows 2000 professional. I am wondering what is the best parser to use for this configuration? The one with java 1.6.0_02? for XML? the Sun JRE implements the Xerces and Xalan parsers, so it would be the same as i

Re: Tomcat performance measurments...

2007-09-28 Thread Tony Anecito
Hi Rainer, Thanks for the well written response and some ideas to get past the problem. I agree the 4ms might be latency but until I can measure at Apache web server or Tomcat more acurately I will wait to say what it really is. I am using %D and as you said the timer is not very accurate. Hopef

Re: Tomcat performance measurments...

2007-09-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, Rainer Jung wrote: > mod_jk as well as Apache httpd use apr_time_now(). I checked with APR > 1.2 (httpd 2.2): on Unix/Linux this is gettimeofday(). > > Even on an old Solaris 8 system, I can easily get microsecond resolution > out of a C test

Re: Tomcat performance measurments...

2007-09-28 Thread Tony Anecito
in this benchmark of POSIX compliant 2.6 > kernel vs 2.4 > http://www.ibm.com/developerworks/linux/library/l-web26/ > > YMMV! > Martin-- > > > > > M-- > - Original Message - > From: "Tony Anecito" <[EMAIL PROTECTED]> > To: "T

Re: Tomcat performance measurments...

2007-09-28 Thread Martin Gainty
quot; <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, September 28, 2007 11:15 AM Subject: RE: Tomcat performance measurments... > I would but I have a web site off of the Apache web > server and I have the port 80 used by it. > > -Tony > > --- Peter Cr

Re: Tomcat performance measurments...

2007-09-28 Thread Rainer Jung
Tony Anecito wrote: Hi Rainer, I am using Windows 2000 professional so I suspect Tomcat is using an windows api call that is limited to 15msec resolution even though the %d is advertised as microsecond resolution. You are right: http://blogs.msdn.com/embedded/archive/2006/02/20/535792.aspx O

Re: Tomcat performance measurments...

2007-09-28 Thread Tony Anecito
Hi Rainer, I am using Windows 2000 professional so I suspect Tomcat is using an windows api call that is limited to 15msec resolution even though the %d is advertised as microsecond resolution. The Java jre had this issue then with release 1.5+ Sun added a nanosecond timer which is what I used fo

Re: Tomcat performance measurments...

2007-09-28 Thread Rainer Jung
Christopher Schultz wrote: Other factors include the resolution of the timer being used by Apache and/or mod_jk for emitting log messages. Most people don't care about high-resolution timing for things like web server logs, so I wouldn't expect Apache to be using one. mod_jk as well as Apache h

Re: Tomcat performance measurments...

2007-09-28 Thread Tony Anecito
Hi Chris, Yes, I am doing my measurements in a controlled environment. As for measurments I have gone as far as using a sniffer for looking at the tcp/ip conversations. I understand about the timers for Apache but as hardware and the servlet containers (and jvms) get faster the old timers become

Re: Tomcat performance measurments...

2007-09-28 Thread Rainer Jung
First: measurement: Apache access log can use "%D" in the LogFormat, which for Apache httpd 2.0 and 2.2 gives microseconds response time. Obviously the real resolution depends on the operating system. The 15msec you mentioned is way to long for a OS timer resultion. mod_jk provides an apache

Re: Tomcat performance measurments...

2007-09-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tony, Tony Anecito wrote: > I would but I have a web site off of the Apache web > server and I have the port 80 used by it. So? If you're doing performance testing, you should be doing it in a laboratory environment. You /are/ doing this on a test se

RE: Tomcat performance measurments...

2007-09-28 Thread Tony Anecito
I would but I have a web site off of the Apache web server and I have the port 80 used by it. -Tony --- Peter Crowther <[EMAIL PROTECTED]> wrote: > > From: Tony Anecito [mailto:[EMAIL PROTECTED] > > Also, any hints on how to improve Tomcat > performance > > appreciated. > > Why not do the easy

RE: Tomcat performance measurments...

2007-09-28 Thread Peter Crowther
> From: Tony Anecito [mailto:[EMAIL PROTECTED] > Also, any hints on how to improve Tomcat performance > appreciated. Why not do the easy one - get rid of that extra layer of performance-sapping httpd and mod_jk in the middle instead? - Peter -

Re: tomcat performance on static content over SSL/non-SSL

2007-08-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, Leon Rosenberg wrote: > security by obscurity, that is. Through I agree that claiming Apache httpd increases security, it is certainly not security by obscurity. It is another layer between the attacker and the goodies. You may disagree about t

Re: tomcat performance on static content over SSL/non-SSL

2007-08-15 Thread Matthew Kerle
doh! load-balancing of course... I don't know, I'm a stickler for the old "do one thing, do it well", tomcat rocks at serving dynamic java, apache rocks at being internet facing serving static & CGI. the jk connector is good & solid, so I'm happy to keep everything separate and only have tomca

Re: tomcat performance on static content over SSL/non-SSL

2007-08-15 Thread Matthew Kerle
good security is hard. I've seen state governments using the reverse-proxy layered approach described below, and that worked extremely well. I've also seen a federal government with an open database port to the internet (won't say which! lets just say they're not known for prompt security fixe

Re: tomcat performance on static content over SSL/non-SSL

2007-08-15 Thread Leon Rosenberg
security by obscurity, that is. since the httpd just sends all requests further to the tomcat, if there is a security relevant bug in tomcat code, it would be accessed by the remote side either way. Further, are your machines, on which httpd is running, running under different OS than your tomcat

RE: tomcat performance on static content over SSL/non-SSL

2007-08-15 Thread Lizak, Ed
We use httpd to sit in between firewalls and handle all incoming traffic. Static content is served from there and dynamic content is proxied through to the Tomcat server behind another firewall. SSL is only needed from the client to the httpd server. The Tomcat server then handles the database ac

Re: tomcat performance on static content over SSL/non-SSL

2007-08-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matt, Matthew Kerle wrote: > Apart from integration into a larger site or static content, when would > you put httpd in front of tomcat? This might count as "integrating into a larger site", but I use Apache httpd to front multiple instances of Tomca

Re: Tomcat Performance Concerns

2006-11-21 Thread David Rees
On 11/21/06, Andre Prasetya <[EMAIL PROTECTED]> wrote: On 11/21/06, Harry <[EMAIL PROTECTED]> wrote: > PostgreSQL is excellent, IMHO - fast, and easy to administrate. Yupe agreed, but for database that is used with frequent insert and delete statement, I have to vacuum them frequently. Which is a

Re: Tomcat Performance Concerns

2006-11-21 Thread Andre Prasetya
Yupe agreed, but for database that is used with frequent insert and delete statement, I have to vacuum them frequently. Which is a boring task to do. I created an agent that will vacuum the database every friday. Then I move it to MySql because I think its more suited to my needs. -Andre- On 11/

Re: Tomcat Performance Concerns

2006-11-18 Thread Tomi NA
2006/11/19, Gaurav Kushwaha <[EMAIL PROTECTED]>: Thanks Martin and Everyone else for the suggestions. Martin, Oracle I dont want to go with since its expensive. I will infact try out MySQL and will let you guys know. I would argue that you chose one of the inferior database management systems,

  1   2   >