Re: mod_jk performance

2005-09-17 Thread Andrew Miehs
Hi Peter, That is why I mentioned it. We deliver our static content from other servers, and had originally considered hiding our TCs behind apache for 'security reasons'. After seeing the speed difference, and the fact that their isn't really a security difference if you just push all the

Re: mod_jk performance

2005-09-14 Thread Andrew Miehs
tests stressed only light JSPs or a real site ? and what is your solution for load-balancing/failover ? On Wed, 14 Sep 2005 14:50:52 +0200 Andrew Miehs <[EMAIL PROTECTED]> wrote: - To unsubscribe, e-mail: [EMAIL PRO

Re: mod_jk performance

2005-09-14 Thread Andrew Miehs
We did some comparisons between running Tomcat 5.0 standalone, or TC 5.0 and Apache 2.0 If you are ONLY delivering JSPs, we found that we could only deal with 50% of the requests when running combined Apache TC and mod_jk Andrew On Sep 14, 2005, at 2:45 PM, Lionel Farbos wrote: I use Apa

Re: mod_jk performance

2005-09-14 Thread Andrew Miehs
Apache is easier to configure, but at a 50% performance hit for pure JSP pages Andrew On Sep 14, 2005, at 2:18 PM, KEREM ERKAN wrote: Apache has better directory/file restricting and handling than Tomcat, it is more customizable and it is much user/admin friendly to configure :-) (a

Re: problems setting up tomcat on debian sarge

2005-09-13 Thread Andrew Miehs
Hi Martin, I have tomcat 5.0.25 -> 30 running on Sarge without a problem. Sun JVM 1.42r5 and greater. The orginal poster seems to have a problem with his application as manager applets etc work. I would however recommend running a 2.6 kernel Andrew On Sep 13, 2005, at 3:37 PM, Martin W

Re: Does Tomcat work on dual processor systems?

2005-09-08 Thread Andrew Miehs
Hi Asha, Asha Nallana wrote: We are using Tomcat4.1.18, JDK1.4.2, Apache1.3 and mod_jk2. And somewhere you mentioned Redhat 7.3. Isn't that VERY old? can you provide the output of uname -a ps auxw netstat -anp and probably server.xml Does this setup work? Did it ever work? or are you try

Re: Max thread/session timeouts

2005-07-21 Thread Andrew Miehs
Ouch! Thats a LOT of threads - I can't believe your box still performs well with this many threads - or have you enabled keep-alives? The number of threads really depends on your application. I have max threads set to 750, or our 32bit 2.6 Linux systems. Our thread count normally doesn't go ov

Re: Rc3.d startup scripts

2005-06-18 Thread Andrew Miehs
That really depends on the operating system. You may also want to have a look at google On Jun 17, 2005, at 8:34 PM, <[EMAIL PROTECTED]> wrote: I am trying to create a startup script for Solaris for both Tomcat 5.5.9 and Apache 2.0.52. Can anyone tell me how to do that, so that when the

Re: IE-Page not found problem

2005-06-06 Thread Andrew Miehs
Hi, IMHO the best solution is to run tcpdump (or ethereel) on the server, and log the IE users traffic (and try to limit it to only 1 user as you seem to indicate that you can easily reproduce the problem). That will show you exactly what is going on. Anything else is just speculation. Regar

Re: tomcat jsessionid

2005-05-16 Thread Andrew Miehs
Are you load balancing? or do you have two different applications on two different servers? The cookie is attached to the host name. Therefore you will have two JSESSIONIDs One cookie: hostA:JESSIONID and the other hostB:JESSIONID Or do both hosts A and B have BOTH applications? IE: Can some

Re: Tomcat taking 125 seconds to launch

2005-04-04 Thread Andrew Miehs
ation). Question is: how do I fix a possible DNS lookup problem? - Original Message - From: "Andrew Miehs" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, April 04, 2005 2:02 AM Subject: Re: Tomcat taking 125 seconds to launch hmm - sounds like

Re: Tomcat taking 125 seconds to launch

2005-04-04 Thread Andrew Miehs
hmm - sounds like a dns lookup causing a problem Andrew On Apr 4, 2005, at 11:03 AM, t.n.a. wrote: Michael Mehrle wrote: The configuration is a modified version of appfuse 1.5 (struts and hibernate) - so this should give you a good idea of how it is structured. FYI: on my development machine

Re: Altering default HTTP header fields for serving static content

2005-03-02 Thread Andrew Miehs
If you really want the browser not to cache images, you are better off putting a timestamp on the end of the requests - as no-cache does not convince every browser all of the time... ie: http://localhost/image.gif?78927842303 On Mar 2, 2005, at 6:46 AM, <[EMAIL PROTECTED]> wrote: Is there a way

Re: Load balancing SSL sessions

2005-02-22 Thread Andrew Miehs
, www.mysite.com resolves to two or more IP addresses. Filip Andrew Miehs wrote: We use F5 BigIPs, but they are probably overkill for your application - The cisco probably will be as well. A 'Cheap' software solution might be to work with redirects, and 2 separate IP addresses. ie: ssl1.mysi

Re: Load balancing SSL sessions

2005-02-22 Thread Andrew Miehs
We use F5 BigIPs, but they are probably overkill for your application - The cisco probably will be as well. A 'Cheap' software solution might be to work with redirects, and 2 separate IP addresses. ie: ssl1.mysite.com and ssl2.mysite.com - You will need 2 ssl keys though for this to work. Does

Re: Meaning of threads

2005-01-25 Thread Andrew Miehs
Using the worker-mpm or fork-mpm, apache does the same nasty thing with threads and keep-alive, although I believe that when its starts running out of threads it stops offering keep-alives - and to make matters worse - for each connection you now have 2 threads - one for apache and one for tomcat

Re: AW: Meaning of threads

2005-01-24 Thread Andrew Miehs
On Jan 24, 2005, at 11:09 PM, Steffen Heil wrote: Hi the number of threads will depend on the size of your machine, but to support many concurrent users, you will want to turn off keep alive connections, as these will have the opposite effect. Wouldn't it make more sense to enable keep alive connec

Re: Meaning of threads

2005-01-24 Thread Andrew Miehs
I would also consider turning of keepalive. Unfortunately tomcat (and apache) both setup one thread per connection. You may be able to use squid as a reverse proxy if you are having load/ number of connection/ thread problems depending on your application Andrew On Jan 24, 2005, at 10:11 PM, Fil

Re: [OT] HTTP Sniffers

2004-12-15 Thread Andrew Miehs
Pardon my ignorance, but what about tcpdump or snoop??? And if you have problems with those, have a look at ethereel Andrew Didier McGillis wrote: Considering this is a pretty knowledgable group is there a good free HTTP Sniffer application I can use, I need to see what the HTTP headers are r

Re: Connection Timeout

2004-11-08 Thread Andrew Miehs
Does anyone know any way that I can tell tomcat to kill the 'thread' if it isn't back in a ready state within 30 seconds? (waiting for new requests) Thanks Andrew On 05.11.2004, at 16:20, Phillip Qin wrote: Byte recv and byte sent? -Original Message----- From: Andrew Miehs

Re: Doubts with tomcat

2004-11-08 Thread Andrew Miehs
Tomcat starts 5 connector threads, plus the other internal threads that it uses for its own house keeping. Andrew On 08.11.2004, at 08:29, Michael Echerer wrote: 1) When I start tomcat with above server.xml , it creates 9 process with same output on shell. it is I configured tomcat to run with

Re: Connection Timeout

2004-11-05 Thread Andrew Miehs
Hi Phillip, S506331 ms17 KB0 KBx.x.2.24www.x.comGET /x//img/x/Image.gif HTTP/1.1 Regards Andrew On 05.11.2004, at 16:20, Phillip Qin wrote: Byte recv and byte sent? -Original Message- From: Andrew Miehs [mailto:[EMAIL PROTECTED] Sent: November 5, 2004 10:18 AM To

Re: Connection Timeout

2004-11-05 Thread Andrew Miehs
Hi Phillip, The request is for example a 10K image. Regards Andrew On 05.11.2004, at 16:11, Phillip Qin wrote: My guess is the request was serviced by Tomcat, and took that much "time". What did your request column tell? A huge request, file upload? -Original Message----- From: An

Connection Timeout

2004-11-05 Thread Andrew Miehs
Dear List, In /manager/status, I occasionally see connections where the status is 'S' and the time column is huge! > 1 ms. Does this mean that the request is still being processed by tomcat? or is this a request waiting to be picked up - ie: chunked? If so, is there any way I can set a

Re: Huge tomcat memory footprint

2004-11-03 Thread Andrew Miehs
Hi Anand, We currently have a similar problem. Under load the JVM consumes more and more memory. (We are using tomcat 5.0 and Sun JVM 1.4.2 and linux (debian sarge)) In our case it looks as if the Garbage Collector is not getting enough time to free memory - but this is still very much a guess.

Re: Tomcat in a High Traffic Environment

2004-10-29 Thread Andrew Miehs
On 29.10.2004, at 19:08, Peter Lin wrote: if you're looking for better client performance I would explore other areas first. 1. use gzip compression - this can reduce the html to 1/10th the size. your mileage will vary. This is being looked at - loadbalancer vrs tomcat 2. caching results on the we

Re: Tomcat in a High Traffic Environment

2004-10-29 Thread Andrew Miehs
Hi Peter, I am not using keep-alives to keep session persistence, but was rather hoping for better client performance. Using keep-alives saves creating a tcp connection for each request - and thereby saving 3 tcp packets (and roundtrip times) per request. Andrew On 29.10.2004, at 17:53, Peter L

Re: Tomcat in a High Traffic Environment

2004-10-29 Thread Andrew Miehs
Hi Filip, Is this how you disable keep-alive on tomcat? maxKeepAliveRequests="1" or is there another switch that I am missing.. On 29.10.2004, at 17:49, Filip Hanik - Dev wrote: turn off keep alive - To unsubscribe, e-mail

Re: extraordinarily stupid question

2004-10-29 Thread Andrew Miehs
mv $TOMCAT_HOME/server/webapps/manager $TOMCAT_HOME/server/webapps/newmanager On 29.10.2004, at 17:45, joon yoo wrote: After I install tomcat 5.0, the tomcat management page is on http://tomcat:8080 How can this management page be obscured/moved to a different url and then, how can a redirector

Re: Tomcat in a High Traffic Environment

2004-10-29 Thread Andrew Miehs
27;m wrong. remy can provide a better description of what happens in the case a browser wants to use keep alive. peter On Fri, 29 Oct 2004 17:20:18 +0200, Andrew Miehs <[EMAIL PROTECTED]> wrote: Hi Peter, The load balancer is an F5 and we are doing can do the balancing based on JSESSIONID.

Re: Tomcat in a High Traffic Environment

2004-10-29 Thread Andrew Miehs
Hi Yoav, I have not read the Servlet Spec, so please pardon my ignorance. (Definitely do not mean to offend). What I still haven't had clearly answered is: User A sends request (with keepalive) to tomcat. Tomcat assigns request to thread (T1). Tomcat sends result back. Is thread T1 now kept res

Re: Tomcat in a High Traffic Environment

2004-10-29 Thread Andrew Miehs
r HttpAnalyze to generate statistics. I would look at the peak and average concurent requests. once you know that, it will be easier to determine if 14 servers are sufficient. peter On Fri, 29 Oct 2004 16:53:26 +0200, Andrew Miehs <[EMAIL PROTECTED]> wrote: Dear List, I am new to the list and ha

Tomcat in a High Traffic Environment

2004-10-29 Thread Andrew Miehs
Dear List, I am new to the list and have a few questions about Tomcat 5.0. We are attempting to use tomcat in a High Traffic, many simultaneous Internet user environment. I have about 8000 simultaneous users, and plan on using 14 web servers. These servers connect via CORBA to a group of backend