Re: Monitor Tomcat with SNMP (MRTG etc)?

2005-08-10 Thread Peter Lin
if you use tomcat 5.0.19 or new, you can use JMeter to monitor tomcat. peter On 8/10/05, Seth Ladd [EMAIL PROTECTED] wrote: Dave Morrow wrote: Does anyone know how to use SNMP tools to monitor a Tomcat server? Are there any open source tools to assist or add this ability? With JDK 5

Re: Monitor Tomcat with SNMP (MRTG etc)?

2005-08-10 Thread Peter Lin
://jakarta.apache.org/jmeter/usermanual/build-monitor-test-plan.html peter lin On 8/10/05, Lintang JP [EMAIL PROTECTED] wrote: how can I do monitoring with JMeter ? plis advice... On 8/11/05, Peter Lin [EMAIL PROTECTED] wrote: if you use tomcat 5.0.19 or new, you can use JMeter to monitor tomcat. peter

Re: [OT] photo album software for web site

2005-07-14 Thread Peter Lin
or you could just use one of the free sites out there like flickr.com spogger.com peter On 7/14/05, Ben Kim [EMAIL PROTECTED] wrote: Sorry about this off topic post, but I am looking for a couple free software for the pictures on my web sites. One is to display pictures as slide show,

Re: monitoring performance

2005-06-17 Thread Peter Lin
you can easily setup JMeter to monitor tomcat and save the results to a log. peter lin On 6/17/05, Hossein S. Attar [EMAIL PROTECTED] wrote: Hi: Is it possible to instruemnt Tomcat to collect statistics such as averasge response time (for each servlet), etc and then somehow get

Re: Scalability issue question

2005-06-02 Thread Peter Lin
you could always look at the new performance benchmark i ran for static files on the resources page. it shows the performance of tomcat 5 as the number of clients increase and file size increases. hope that helps peter On 6/2/05, Wallace, Scott [EMAIL PROTECTED] wrote: Network is 100megabit

Re: The amazingly slow performance of JSP (profiler results)

2005-05-28 Thread Peter Lin
I would advise using the tag plugins to change tags to pure java. JSP tags are considerably slower than pure JSP + java, but many people find that combination bad on maintenance. When remy and I worked on the book back in 2002, I did quite a bit of comparison between pure java and JSTL. as you

Re: The amazingly slow performance of JSP (profiler results)

2005-05-28 Thread Peter Lin
correction to my previous email. On 5/28/05, Remy Maucherat [EMAIL PROTECTED] wrote: On 5/28/05, Peter Lin [EMAIL PROTECTED] wrote: as you see already, using JSTL means a single line of code gets converted to several lines of JSTL api calls. once you look at how many classes are involved

Re: The amazingly slow performance of JSP (profiler results)

2005-05-28 Thread Peter Lin
On 5/28/05, Kevin Burton [EMAIL PROTECTED] wrote: Remy Maucherat wrote: It will obviously use more CPU and make more API calls. However, it does not allocate any objects, but instead will reuse per page objects (which is very fast). So overall, it sounds weird to me that the bottleneck

Re: Apache vs Tomcat WRT Security

2005-05-19 Thread Peter Lin
I don't know about others, but I prefer to run tomcat on port 8080 and then setup the router to redirect port 80 to 8080. it's rather easy to setup these days. peter On 5/19/05, Remy Maucherat [EMAIL PROTECTED] wrote: On 5/19/05, Mark [EMAIL PROTECTED] wrote: I was very interested in the

Re: Basic load balancing

2005-05-12 Thread Peter Lin
If you can afford it, go with hardware load balancing. it's easier to setup and configure. it's also more reliable and robust. of course, you have to open up your wallet and let the money fall out. if you really want sophisticated load balancing that allows you to schedule a server to go down, i

Re: Off Topic: Tomcat monitoring tools

2005-05-10 Thread Peter Lin
to install Tomcat 5 to give it a try since JMeter can't play with our Tomcat 4.1.26 for monitoring purposes. Any other candidates out there? TIA. Guillaume -Original Message- From: Peter Lin [mailto:[EMAIL PROTECTED] Sent: 09 May 2005 18:47 To: Tomcat Users List

Re: Off Topic: Tomcat monitoring tools

2005-05-09 Thread Peter Lin
peter lin On 5/9/05, Guillaume Lahitette [EMAIL PROTECTED] wrote: Hi, I am looking for feedback on (preferably free) tools to monitor the performance of Tomcat during stress testing. We're running Tomcat 4.1.26 in production on Linux and Windows (as a service). Ideally, the tool would

Re: Off Topic: Tomcat monitoring tools

2005-05-09 Thread Peter Lin
to give it a try since JMeter can't play with our Tomcat 4.1.26 for monitoring purposes. Any other candidates out there? TIA. Guillaume -Original Message- From: Peter Lin [mailto:[EMAIL PROTECTED] Sent: 09 May 2005 18:47 To: Tomcat Users List Subject: Re: Off Topic

Re: Tomcat 5 slow, it's in production, please help!

2005-05-06 Thread Peter Lin
it sounds like the problem is caused by a large number of connections dying holding things up. peter On 5/6/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: 153 ESTABLISHED connections to port 443 553 connections to port 443 in the process of dying. 1420 connections total (Assuming I'm

Re: OutOfMemoryError - 100 thread limit?

2005-04-27 Thread Peter Lin
should also solve this problem. -- Virtually, Andre Van Klaveren Architect III, SCP Enterprise Transformation Services Unisys Corporation On 4/21/05, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Peter Lin [mailto:[EMAIL PROTECTED] Subject: Re: OutOfMemoryError - 100 thread

Re: OutOfMemoryError - 100 thread limit?

2005-04-21 Thread Peter Lin
my 2 bits. when I tried to replicate the issue LeeAnn saw, it was pretty clearn the JVM can't resize the heap fast enough to account for the large number of webapps being loaded. simply increasing the initial heap should solve the problem. peter On 4/21/05, Caldarale, Charles R [EMAIL

Re: OutOfMemoryError - 100 thread limit?

2005-04-21 Thread Peter Lin
that requires quite a bit of profiling to really understand how an application is allocating memory. peter On 4/21/05, J. Ryan Earl [EMAIL PROTECTED] wrote: Peter Lin reproduced and fixed the problem LeeAnn is seeing, and said If I set my heap to -Xms256m -Xmx512m I'm able to load the 18 webapps

Re: OutOfMemoryError - 100 thread limit?

2005-04-21 Thread Peter Lin
to work. peter On 4/21/05, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: J. Ryan Earl [mailto:[EMAIL PROTECTED] Subject: RE: OutOfMemoryError - 100 thread limit? Peter Lin reproduced and fixed the problem LeeAnn is seeing, and said If I set my heap to -Xms256m -Xmx512m I'm able

Re: OutOfMemoryError - 100 thread limit?

2005-04-21 Thread Peter Lin
. =) -ryan -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, April 21, 2005 9:53 AM To: Tomcat Users List Subject: RE: OutOfMemoryError - 100 thread limit? From: Peter Lin [mailto:[EMAIL PROTECTED] Subject: Re: OutOfMemoryError - 100

Re: OutOfMemoryError - 100 thread limit?

2005-04-21 Thread Peter Lin
silly question, does this webapp have like thousands of JSP and servlets and preload the JSP's? peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: OutOfMemoryError - 100 thread limit?

2005-04-21 Thread Peter Lin
of. Another way to get the heap to resize in larger increments and prevent it from getting smaller is to set the -XX:MinHeapFreeRatio. peter lin On 4/21/05, LeeAnn Pultz [EMAIL PROTECTED] wrote: Possible success! I went back to my weblogic installation which I was successfully able to open up 25

Re: OutOfMemoryError - 100 thread limit?

2005-04-21 Thread Peter Lin
glad I can help. it's the little odd edge case problems that I find most interesting. it was fun to figure why that behavior was occuring. peter On 4/21/05, J. Ryan Earl [EMAIL PROTECTED] wrote: Awesome, I'm glad that was solved as I'm about to do the same thing with our application: running

Re: OutOfMemoryError - 100 thread limit?

2005-04-21 Thread Peter Lin
: From: Peter Lin [mailto:[EMAIL PROTECTED] Subject: Re: OutOfMemoryError - 100 thread limit? I'm just guessing here, but by forcing the maxPermSize to 128, it leaves more space for the eden and prevents classes from getting promoted to perm. I think you're confusing tenured with perm

Re: OutOfMemoryError - 100 thread limit?

2005-04-21 Thread Peter Lin
On 4/21/05, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Peter Lin [mailto:[EMAIL PROTECTED] Subject: Re: OutOfMemoryError - 100 thread limit? so it would appear by setting the PermSize, the jvm is pushing all java.lang.Class instances to Perm rather than loading them in eden

Re: OutOfMemoryError - 100 thread limit?

2005-04-20 Thread Peter Lin
I'm able to go up to 647 threads and 500 concurrent connections with 5.5.4 without any problems. chances are, it's a memory leak in the webapp. only way to know for sure is to profile the application. peter lin On 4/20/05, Tim Funk [EMAIL PROTECTED] wrote: There are no limits in tomcat. http

Re: OutOfMemoryError - 100 thread limit?

2005-04-20 Thread Peter Lin
a memory leak in the webapp. only way to know for sure is to profile the application. peter lin On 4/20/05, Tim Funk [EMAIL PROTECTED] wrote: There are no limits in tomcat. http://jakarta.apache.org/tomcat/faq/memory.html -Tim LeeAnn Pultz wrote: I have a tomcat server

Re: OutOfMemoryError - 100 thread limit?

2005-04-20 Thread Peter Lin
, but we aren't doing any of the real work of rendering dynamic pages or talking to the database at this point. I get the same results whether my Xmx is 84 megs or 512 megs - we're just not using that much memory. At 08:48 AM 4/20/2005, Peter Lin wrote: that sounds very odd. so if I understand

Re: OutOfMemoryError - 100 thread limit?

2005-04-20 Thread Peter Lin
that looks really bizzare to me. From the exception, it looks like tomcat can't create a new thread to process the request. It makes me think the previous threads that are done are being held by something for some odd reason. Normally the threads should be available again. What is the ramp up time

Re: OutOfMemoryError - 100 thread limit?

2005-04-20 Thread Peter Lin
is creating threads at start, what are they doing? peter lin Threads Active : 94 Threads Active : 94 [Full GC 48357K-47096K(129792K), 0.6358540 secs] LeeAnn Pultz ExtraView Corporation [EMAIL PROTECTED] 831-461-7100 x115

Re: OutOfMemoryError - 100 thread limit?

2005-04-20 Thread Peter Lin
if your application is thread heavy, I would recommend changing it so that one thread can manage several processes. creating 800+ threads is going to hit a scalability and reliability wall very quickly. In general, you want to make sure the number of threads remain constant under constant load.

Re: OutOfMemoryError - 100 thread limit?

2005-04-20 Thread Peter Lin
ahh ok. .. my confusion. back to the problem you see. I've tested tomcat with 30-40 threads without any problems in the past. Even with heavy weight JSTL tags in JSP's, I'm able to go up to 50 threads with tomcat4.1. I'll try hitting tomcat's status servlet with 50 threads tonight and see what

Re: OutOfMemoryError - 100 thread limit?

2005-04-20 Thread Peter Lin
I'll try loading up 18 version of my webapp and see if tomcat blows up. should know in a hour or so peter On 4/20/05, LeeAnn Pultz [EMAIL PROTECTED] wrote: when you say 50 threads, do you mean 50 separate web applications? My concern right now is that we seem to be limited to 17-18 copies

Re: OutOfMemoryError - 100 thread limit?

2005-04-20 Thread Peter Lin
by 4 megs to figure out the heap setting. peter lin On 4/20/05, LeeAnn Pultz [EMAIL PROTECTED] wrote: when you say 50 threads, do you mean 50 separate web applications? My concern right now is that we seem to be limited to 17-18 copies of our web app on a particular installation of tomcat

Re: Tomcat scalability

2005-04-07 Thread Peter Lin
before you can answer that question, you need to know what the average and peak concurrent requests is. without that 300-400 concurrent users doesn't mean much. If those 400 users hit the site once per minute average over 30 minutes, it would mean 12,000 requests in 30 minutes. Even if the user

Re: Performance monitoring

2005-04-05 Thread Peter Lin
there's this little thing called the status servlet. It displays information in HTML format for each webapp. it can also show a subset of the full stats in XML. there's this other project in jakarta called JMeter. It has a monitor for tomcat5.0.19 and newer that can monitor one or more Tomcat

Re: Monitoring Tomcat Clusters

2005-03-05 Thread Peter Lin
There's already a GUI monitor for Tomcat 5.0.19 and newer in JMeter. if you want to graph the cluster, it would be a matter of extending the monitor sampler to do so. http://jakarta.apache.org/jmeter/usermanual/build-monitor-test-plan.html peter On Sat, 5 Mar 2005 11:07:47 -0500, e [EMAIL

Re: Monitoring Tomcat Clusters

2005-03-05 Thread Peter Lin
, Thanks, but I'm from looking over the docs its not clear how I would implement a web based status page capable of send alerts, etc. I know JMeter is great for loadtesting/profiling tomcat, but is it designed for what I'm looking for? -e Peter Lin wrote: There's already a GUI monitor

Re: Tomcat and JRockit

2005-03-03 Thread Peter Lin
I've benchmarks tomcat 5.5.4 with jrockit5 and it worked fine on Redhat FedoraCore1 peter On Thu, 3 Mar 2005 10:26:37 -, Michael Cornell [EMAIL PROTECTED] wrote: Hi, Just wondering if there is some documentation w regards to what/which virtual machines tomcat (5.0.x) has been tested on

Re: Tomcat is leaking memory

2005-02-24 Thread Peter Lin
I would recommend using a profiler to track down memory leaks in your webapp. Chances are there's a bug in your code that is causing the memory leak. real memory leaks in tomcat usually get discovered and fixed quickly. OptimizeIt and JProbe both have eval versions you can download to profile

Re: Throughput and scalability

2005-02-23 Thread Peter Lin
if you're talking about XML transformation, the biggest factor is the parser you use and the cpu speed. If you read my old performance article on the resource page, you can see some old numbers for AMD 2ghz system. depending on how much XML you need to handle concurrently, you may want to

Re: Allow Apache to Serve Static Content

2005-02-15 Thread Peter Lin
rather than setup tomcat + jk2 + apache, I would recommend setting up a dedicated image server. If you look at the static file benchmark results I posted recently, tomcat is actually faster for 1k files and equal to apache for larger than 1k files. http://cvs.apache.org/~woolfel/tc_results.html

Re: Tomcat vs Jetty

2005-02-13 Thread Peter Lin
+0100, Remy Maucherat [EMAIL PROTECTED] wrote: On Sat, 12 Feb 2005 10:51:53 +0100, PA [EMAIL PROTECTED] wrote: On Feb 12, 2005, at 06:20, Peter Lin wrote: For those who are curious. I decided to run apache AB against jetty to see if there are any differences. If you are into this kind

Tomcat vs Jetty

2005-02-11 Thread Peter Lin
For those who are curious. I decided to run apache AB against jetty to see if there are any differences. Max Request/sec -- tomcat 5.5.4 - 5584 jetty 5.1.2 - 2486 the results suggest tomcat's throughput for 1k static content is 2x higher than the jetty 5.1.2. peter

Re: Attn developers of Tomcat and JK

2005-02-08 Thread Peter Lin
know tomcat insdie and out. I would advise hiring some one because it's near impossible to diagnose your problem without being at the system. peter lin On Tue, 08 Feb 2005 10:11:03 -0600, Eric Sandusky [EMAIL PROTECTED] wrote: To the developers of Tomcat and JK: If Tomcat + JK cannot process

[OT] - distribution graph of tomcat results

2005-02-07 Thread Peter Lin
I generated a combined graph of the response time for tomcat 5.5.4 in client mode. http://cvs.apache.org/~woolfel/combined_graph.png thought some people might find it interesting. the graphs were generated by Jmeter. peter -

Re: Preferred Platform for Tomcat5

2005-02-03 Thread Peter Lin
Wow, I thought my home dev environment was old and slow. makes me wonder how many people bother to upgrade to the latest/newest hardware :) peter On Thu, 3 Feb 2005 12:00:49 -0500, Parsons Technical Services [EMAIL PROTECTED] wrote: TAO www.taolinux.org RHEL clone. PIII 750 512M

Athlon 64 question

2005-02-03 Thread Peter Lin
A friend asked me to post this for him. He is experiencing some memory issues related to Athlon 64 running Redhat Fedora Core3. Anyone know if this is related to LD_ASSUME_KERNEL=2.2.5 issue? thanks in advance peter his email below

Re: Memory Requirement

2005-02-02 Thread Peter Lin
the best way to figure out how much heap to set is to stress test your application. 1. figure out the average load 2. figure out the peak load 3. stress test the webapp with default settings 4. tweak the settings and retest 5. compare the results there's no magic formula that works for all

Summary in pdf format

2005-02-02 Thread Peter Lin
http://cvs.apache.org/~woolfel/benchmark_summary.pdf I've posted a pdf version of the benchmark write up. peter lin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Performance of different Tomcat Releases

2005-02-01 Thread Peter Lin
look here http://cvs.apache.org/~woolfel/tc_results.html http://cvs.apache.org/~woolfel/benchmark_summary.doc peter On Tue, 1 Feb 2005 11:52:37 -0600, sudip shrestha [EMAIL PROTECTED] wrote: I would like to know if there is significant performance improvement from 5.0.x to 5.5.x. Is there

Re: article draft - Summary of benchmark

2005-02-01 Thread Peter Lin
I've updated the document with more charts from the excel spreadsheet and tried to make the explanations more clear. peter On Mon, 31 Jan 2005 14:20:11 -0500, Peter Lin [EMAIL PROTECTED] wrote: http://cvs.apache.org/~woolfel/benchmark_summary.doc http://cvs.apache.org/~woolfel

article draft - Summary of benchmark

2005-01-31 Thread Peter Lin
http://cvs.apache.org/~woolfel/benchmark_summary.doc http://cvs.apache.org/~woolfel/benchmark_summary.sxw http://cvs.apache.org/~woolfel/tc_results.html I've finished a complete draft of the benchmark results. If you have any feedback, please email me directly. thanks in advance. peter lin

more graphs

2005-01-23 Thread Peter Lin
I managed to spend some time this weekend graphing up the results. I still have to add the results from Tim and write up a summary. http://cvs.apache.org/~woolfel/tc_results.html peter - To unsubscribe, e-mail: [EMAIL

Re: [OT] does anyone have gigabit ethernet willing to run benchmarks

2005-01-22 Thread Peter Lin
I'll post the war file in a few hours. heading out to buy some groceries before the storm arrives. peter On Sat, 22 Jan 2005 08:42:31 -0500, Tim Funk [EMAIL PROTECTED] wrote: Can you post a link to your 1k.png file? -Tim Peter Lin wrote: I've updated the testplans.zip file

more results

2005-01-21 Thread Peter Lin
for the high thread count test, I decided to test with apache ab to verify the jmeter results. it turns out for 1k png, jmeter isn't able properly exercize apache or tc5. for files larger than 5k, the jmeter results are accurate. here's the results server: amd 2ghz 1Gb ram Redhat fedora core1

[OT] does anyone have gigabit ethernet willing to run benchmarks

2005-01-21 Thread Peter Lin
for 100mbit ethernet. If anyone can run some tests on gigabit ethernet, please email me directly. thanks. hopefully this will provide some basic performance information for all tomcat users. peter lin - To unsubscribe, e-mail: [EMAIL

Re: [OT] does anyone have gigabit ethernet willing to run benchmarks

2005-01-21 Thread Peter Lin
I've updated the testplans.zip file. in the zip file is a shell script named starttest.sh http://cvs.apache.org/~woolfel/testplans.zip to run the script, change the output path and the ab path. peter - To unsubscribe, e-mail:

more graphs

2005-01-21 Thread Peter Lin
http://cvs.apache.org/~woolfel/tc_results.html I've updated the graphs. it now includes the graphs for apache2 and 1.3.3. there's a couple graphs comparing TC to apache. the apache ab results haven't been added yet, but I will do that this weekend. enjoy. peter

updated test plans and raw data

2005-01-20 Thread Peter Lin
not small. http://cvs.apache.org/~woolfel/raw_data.zip peter lin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

more graphs

2005-01-20 Thread Peter Lin
I've cleaned the graphs up a bit and added the results for tc5.5.4. I still have lots to finish, but hopefully people will find this useful. http://cvs.apache.org/~woolfel/tc_results.html peter - To unsubscribe, e-mail: [EMAIL

Re: more graphs

2005-01-20 Thread Peter Lin
laptop is set to 1400 x 1050, so anything lower than that may be chopped on the side. peter On Thu, 20 Jan 2005 12:25:01 -0600, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Peter Lin [mailto:[EMAIL PROTECTED] Subject: more graphs I've cleaned the graphs up a bit and added

Some charts of benchmark results

2005-01-19 Thread Peter Lin
Here are some charts for the benchmark results I posted a few days back. It's taking longer than I expected to create the charts. http://cvs.apache.org/~woolfel/tc_results.html enjoy. peter - To unsubscribe, e-mail: [EMAIL

Re: latest set of Benchmark results

2005-01-17 Thread Peter Lin
with gzip header. http://cvs.apache.org/~woolfel/testplans.zip peter lin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

latest set of Benchmark results

2005-01-16 Thread Peter Lin
it interesting and useful. It will take me a week or two to write up the results and generate the graphs. peter lin Tomcat 5.0.19 - jdk1.4.2 PNG 1K --- protocol | samples | average | median | 90% line | min | max

more benchmark results

2005-01-14 Thread Peter Lin
Per Remy's request, I ran some more tests last night with larger number of threads. the configuration of the test plan is as follows 1K png: 10, 50, 100, 150 threads 10K png: 10, 50, 100, 150 threads each thread as was to 1000 iterations. ramp up times: 1, 5, 10, 20 seconds Server: Redhat

Re: more benchmark results

2005-01-14 Thread Peter Lin
+0100, Mladen Turk [EMAIL PROTECTED] wrote: Peter Lin wrote: Per Remy's request, I ran some more tests last night with larger number of threads. the configuration of the test plan is as follows What would be nice (since you have infrastructure set up) is to compare the results with Apache2

Re: more benchmark results

2005-01-14 Thread Peter Lin
any tomcat user out there have Redhat FC3 installed and want to help run some tests? I will post the jmeter test plans this weekend. it would make remy really happy :) peter And no FC 3 ? ;) I think it would run fine on your computer, and it's a higher quality distribution overall (it

Re: more benchmark results

2005-01-14 Thread Peter Lin
[EMAIL PROTECTED] wrote: Peter Lin wrote: Yup, I plan to try jdk5 with TC5.5.4 per Remy's request. Cool, but can you compare the results with Apache2.0.52 when serving the same static content files on the same hardware? That would be very interesting thought. Even more then bare

Re: more benchmark results

2005-01-14 Thread Peter Lin
what a concept Schnapps over speed. Wonder what would happen if someone made a redbull + Schnapps + speed cocktail 8-) that wouldn't kill you, really. I'll stop the jokes there. peter On Fri, 14 Jan 2005 14:59:57 +0100, Mladen Turk [EMAIL PROTECTED] wrote: Peter Lin wrote: If I have time

Re: more benchmark results

2005-01-14 Thread Peter Lin
(2.6.9-1.667,i386). unfortunately, the hardware is a desktop unit 760 MB ram, ide drive, 2.6 P4 (512 cache). let me know if i should give it a try. Peter Lin wrote: any tomcat user out there have Redhat FC3 installed and want to help run some tests? I will post the jmeter test plans

Re: more benchmark results

2005-01-14 Thread Peter Lin
, the hardware is a desktop unit 760 MB ram, ide drive, 2.6 P4 (512 cache). let me know if i should give it a try. Peter Lin wrote: any tomcat user out there have Redhat FC3 installed and want to help run some tests? I will post the jmeter test plans this weekend. it would make remy really

some TC5 benchmark results for static file

2005-01-13 Thread Peter Lin
I've started a series of benchmarks to measure tomcat5 performance for static files and compare it to apache2. Here are the results I have so far. I thought others might find it interesting. Server: Redhat Fedora Core 1 AMD 2hgz 1Gb ram jdk1.4.2 TC5.0.x ( have to double check the release number)

Re: some TC5 benchmark results for static file

2005-01-13 Thread Peter Lin
Good question. I haven't run the apache tests yet. I forgot that I don't have apache2 installed on my linux box, so this weekend I plan to install and run the tests. once all the tests are done, I plan to write up a quick article, generate some charts and zip up all the files, including the

Re: Tomcat monitoring scripts

2005-01-12 Thread Peter Lin
JMeter has a monitor for tomcat 5.0.19 and newer. It doesn't work with tomcat4 or older. in terms of restarting, you're probably going to have to write a shell script to do that. Typically, on unix a cron job is used. peter On Wed, 12 Jan 2005 15:12:15 +, Edd Dawson [EMAIL PROTECTED] wrote:

Re: Tomcat monitoring scripts

2005-01-12 Thread Peter Lin
that sits on the actual servers and probes at set intervals and takes remedial action if necessary.. i just wondered if anyone had documented doing such a thing before. Peter Lin wrote: - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Tomcat monitoring scripts

2005-01-12 Thread Peter Lin
any examples online (and i've been trying most of the day!) Peter Lin wrote: most people use Perl or shell scripts to do that. There's plenty of scripts on the net for doing that by the process id. sorry, I don't have any links handy. google is your friend. peter

Re: Max of two connections per client?

2005-01-11 Thread Peter Lin
by the way, the 2 connection limit is actually hardcoded in the http socket and not in IE. AFAIK, you can't turn it off or change it. You'd have to write your own browser to get around that. peter On Tue, 11 Jan 2005 18:48:20 -0500, Hunt, Joseph (OVBU- Ft.Collins) [EMAIL PROTECTED] wrote: Good

Re: Memory leak

2005-01-11 Thread Peter Lin
how are you monitoring tomcat? peter On Wed, 12 Jan 2005 14:59:39 +1100, Rolf Zelder [EMAIL PROTECTED] wrote: Hi I have got a simple web application containing a html page with a link to a jsp page, which prints the memory status to the console(Runtime.getRuntime().totalMemory()) . Now I

Re: Monitoring Performance Tomcat 5.0.28

2004-12-31 Thread Peter Lin
you could use jmeter's tomcat5 monitor. there's a coupl of commercial tools out there that can monitor your production servers. peter On Thu, 30 Dec 2004 23:27:05 -0800, Hari Mailvaganam [EMAIL PROTECTED] wrote: Hi: What would be the best way to monitor the performance of Tomcat - while

Re: Monitoring Performance Tomcat 5.0.28

2004-12-31 Thread Peter Lin
The jakarta JMeter monitor sends requests to Tomcat's status servlet and uses the stats there to generate a performance graph. You can monitor multiple servers with jmeter. If you use a third party tool, it will have lots of other features, but it most likely will not be able to utilize the stats

Re: Performance with/without loadbalancing

2004-12-07 Thread Peter Lin
perhaps black magic? what I would do is to try a few things. 1. increase the ramp up time and see if that affects it. It could be the load balancer is helping tomcat handle the load 2. build the latest JMeter and use the distribution graph I wrote to look at the requests. the new graph will

Re: Tomcat Requirements?

2004-11-30 Thread Peter Lin
which another good reason to put the database on separate box. by isolating tomcat and mysql, you can run tests on each. then you can test the setup together and see what you get. that's how I generally test my applications. peter On Tue, 30 Nov 2004 07:05:59 -0500, Tim Funk [EMAIL PROTECTED]

Re: Tomcat Requirements?

2004-11-29 Thread Peter Lin
that would depend on what kind of application it is. without more info, like does it hit a database, is the database hosted on the same system or does the application get remote data it's going to be hard for others to provide good recommendations. peter On Mon, 29 Nov 2004 12:43:07 -0700,

Re: Tomcat Requirements?

2004-11-29 Thread Peter Lin
database driven. In this case it is running a mysql database on the same machine. What would be the recommened hardware configuration? On a P4 2.4 with 1GB of RAM Tomcat is very happy! Thanks On Monday 29 November 2004 12:53 pm, Peter Lin wrote: that would depend on what kind

Re: Tomcat Requirements?

2004-11-29 Thread Peter Lin
] wrote: Would this problem be solved by a hardware upgrade? On Monday 29 November 2004 01:03 pm, Peter Lin wrote: as Yoav recommended, tomcat should be on it's own server. I would put mysql on another system. that should fix things. most likely the slowness is the result of database

Re: high traffic Tomcat sites out there?

2004-11-22 Thread Peter Lin
250ms response time is rock solid. Getting the total response time lower than 250ms is pretty darn tough. based on your info, that means each tomcat is getting on average 15-16 concurrent requests. one way to improve the response time would be to use smart caching and avoid the cost of making a

Re: high traffic Tomcat sites out there?

2004-11-22 Thread Peter Lin
look at the poweredby list http://wiki.apache.org/jakarta-tomcat/PoweredBy the biggest factor in how much bandwidth your 4 node cluster is primarily going to be network bandwidth and database performance. Normally, since buckle due to database crashing. I know of a directory site that gets

Re: SSL and form-based login

2004-11-20 Thread Peter Lin
the same rule still applies. that's what's just the reality of using SSL and insuring security. A browser that is ssl compliant actually should default to https. only way around that is to use a non-ssl compliant browser. peter On Sat, 20 Nov 2004 16:59:31 -0800 (PST), footh [EMAIL PROTECTED]

Re: Tomcat 5.5.4 Stability

2004-11-18 Thread Peter Lin
which tool are you using to stress test? perhaps try a different tool to double check? when I test, I like to use apache ab and jmeter to validate the results. I'm a bit paranoid when it comes to telling management, the server will handle X traffic :) peter On Thu, 18 Nov 2004 11:18:07 -0500,

Re: Tomcat 5.5.4 Stability

2004-11-18 Thread Peter Lin
that get used at both computer. This is Windows XP. I'll see if SP2 will do any difference. The computer at home as SP2 on it. Peter Lin wrote: which tool are you using to stress test? perhaps try a different tool to double check? when I test, I like to use apache ab and jmeter to validate

Re: Tomcat 5.5.4 Stability

2004-11-18 Thread Peter Lin
that's interesting. makes me wonder what changes in SP2 cause the improvement. peter On Thu, 18 Nov 2004 14:30:16 -0500, Vy Ho [EMAIL PROTECTED] wrote: With SP2 of Windows XP, the computer previously can't handle 50 threads can handle 200 threads now. More than that, I got connection refused

Re: Tomcat 5.5.4 Stability

2004-11-17 Thread Peter Lin
I would second Remy's sentiment about XML and concurrent processes. I've performed benchmarks with Java and C# on a P4 2.4ghz machine. with 2-4K of XML 10-15 concurrent processes with consume roughly 60-70% of the CPU. With 30, you're going to hit 90-100% of the CPU. At that point, more

Re: Tomcat 5.5.4 Stability

2004-11-17 Thread Peter Lin
interesting information. You're probably already aware of this, but extrapolating 200 concurrent connection/requests over a 24hr period would mean in excess of 20 million page views or webservice requests per day. that would be a ton of traffic. over the network, you can expect considerably lower

Re: Analysing dead threads

2004-11-15 Thread Peter Lin
just for clarification. Do you mean zombie threads? Threads that are not reachable, but still running. My advice would be to download a profiler and figure out the cause. peter On Mon, 15 Nov 2004 14:42:14 +0100, Steffen Heil [EMAIL PROTECTED] wrote: Hi I have a situation, where a lot of

Re: Multi-Site Clustering? (hot failover)

2004-11-11 Thread Peter Lin
- From: Steve Kirk [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED]; 'Peter Lin' [EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 7:57 PM Subject: RE: Multi-Site Clustering? (hot failover) Thanks, interesting. But I think we're talking at crossed purposes. I'm

Re: Multi-Site Clustering? (hot failover)

2004-11-10 Thread Peter Lin
normally ISP will offer multi-site load balancing using DNS. In terms of failover, it generally handled the same way. If an earthquake swallows the first location, the second site's DNS will pick and route the traffic to the second cluster. I would talk to your service provider. the smaller shops

Re: Multi-Site Clustering? (hot failover)

2004-11-10 Thread Peter Lin
not have a relationship with? Or are the problems I'm describing a thing of the past? -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: Wednesday 10 November 2004 19:14 To: Tomcat Users List; Peter Lin Subject: Re: Multi-Site Clustering? (hot

Re: Filter tricks in tomcat

2004-11-09 Thread Peter Lin
actually, you can use filters to capture the response and then use a filter to dump the whole thing to the outputstream. What you'll have to do is create your own buffer to hold the content and not write to either the jspwriter or the printwriter in the servlet. the tricky part is this. if you

Re: Tomcat 5.0.24 - JSP 2.0 SVG example (JSPX) - not opening rendered SVG object in IE 6

2004-11-09 Thread Peter Lin
extra lines before ?xml .. can cause some XML parser to fail, so they should be removed. peter On Tue, 09 Nov 2004 20:53:04 -, d~l [EMAIL PROTECTED] wrote: On 9 Nov 2004 at 20:04, Peter Crowther Peter.Crowther-at-melandra wrote: Problem summary: Tomcat 5.0.24 JSP 2.0 SVG example

Re: Tomcat is Good Enough for Game Performances

2004-11-09 Thread Peter Lin
in this day, most of the servlet containers are about the same in terms of performance. What matters most is your design and implementation. there are plenty of sites getting 10million+ page views a day with tomcat. who ever told you tomcat is only for lab use is totally clueless. there's an

  1   2   3   4   5   >