[OT] Re: So many timeout values

2009-10-29 Thread Peter Crowther
2009/10/28 Christopher Schultz ch...@christopherschultz.net: Everybody ought to learn a little C at some point. It will make you really appreciate a relatively clean language like Java. ICL PLAN3 asembler, anyone? :-) More seriously, I agree with you and would add a second reason: doing a

Re: [OT] Re: So many timeout values

2009-10-29 Thread André Warnier
Peter Crowther wrote: 2009/10/28 Christopher Schultz ch...@christopherschultz.net: Everybody ought to learn a little C at some point. It will make you really appreciate a relatively clean language like Java. ICL PLAN3 asembler, anyone? :-) More seriously, I agree with you and would add a

Re: [OT] Re: So many timeout values

2009-10-29 Thread warren . pace
I was the happiest man in the world when they delivered our shiny new System/34. No more punch cards! --Original Message-- From: André Warnier To: Tomcat Users List ReplyTo: Tomcat Users List ReplyTo: Tomcat Users List Subject: Re: [OT] Re: So many timeout values Sent: Oct 29, 2009 5:08

RE: [OT] Re: So many timeout values

2009-10-29 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] Re: So many timeout values As long as we're on the [OT] subject, how about learning about the judicious and parcimonious usage of sorted data structures, on a computer with 16 Kb of RAM and punched paper cards as its only

Re: [OT] Re: So many timeout values

2009-10-29 Thread Warren Pace
On Thu, Oct 29, 2009 at 9:14 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] Re: So many timeout values As long as we're on the [OT] subject, how about learning about the judicious and parcimonious usage of sorted data

Re: [OT] Re: So many timeout values

2009-10-29 Thread Peter Crowther
2009/10/29 Caldarale, Charles R chuck.caldar...@unisys.com: Univac 1004: 961 *6-bit* bytes of core memory, programmed via squids on a plugboard.  Handled punch cards, paper tape, and printing; tape drive optional (we didn't have one).  Had a tendency to throw cards all over the room if not

RE: [OT] Re: So many timeout values

2009-10-29 Thread Caldarale, Charles R
From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther Subject: Re: [OT] Re: So many timeout values That's not even a modern stored-program computer! Just because it used relays as the logic elements? It was a stored-program computer

Re: [OT] Re: So many timeout values

2009-10-29 Thread Peter Crowther
2009/10/29 Caldarale, Charles R chuck.caldar...@unisys.com: From: peter.crowth...@googlemail.com That's not even a modern stored-program computer! Just because it used relays as the logic elements? Hmm. I started writing a response here along the lines of because it didn't keep the code in

Re: [OT] Re: So many timeout values

2009-10-29 Thread André Warnier
Warren Pace wrote: On Thu, Oct 29, 2009 at 9:14 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] Re: So many timeout values As long as we're on the [OT] subject, how about learning about the judicious and parcimonious

Re: [OT] Re: So many timeout values

2009-10-29 Thread Warren Pace
On Thu, Oct 29, 2009 at 10:30 AM, André Warnier a...@ice-sa.com wrote: Warren Pace wrote: On Thu, Oct 29, 2009 at 9:14 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] Re: So many timeout values As long as we're

Re: [OT] Re: So many timeout values

2009-10-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 10/29/2009 4:16 AM, Peter Crowther wrote: More seriously, I agree with you and would add a second reason: doing a little work in a language that is reasonably close to the metal gives an insight into how the machine actually works, which

Re: So many timeout values

2009-10-28 Thread Mohit Anchlia
Based on what I have seen is that we often get HTTP code 502 and by increasing socket timeout those errors disappear. I am not sure why that happens. Based on the feedback I got it looks like the below properties file is ok except the socket timeout piece and I should probably remove that? Here

Re: So many timeout values

2009-10-28 Thread André Warnier
Mohit Anchlia wrote: Based on the feedback I got it looks like the below properties file is ok except the socket timeout piece and I should probably remove that? Do I not recall Rainer already telling you that ? - To

Re: So many timeout values

2009-10-28 Thread Rainer Jung
On 28.10.2009 17:29, Mohit Anchlia wrote: Based on what I have seen is that we often get HTTP code 502 and by increasing socket timeout those errors disappear. I am not sure why that happens. Based on the feedback I got it looks like the below properties file is ok except the socket timeout

Re: So many timeout values

2009-10-28 Thread Mohit Anchlia
Thanks a lot! Would this work with 1.2.27? Regarding recovery_options: Is there a default value it's set to? On the link http://tomcat.apache.org/connectors-doc/reference/workers.html it doesn't have option 7 Regarding ping_mode: What happens when Cping returns error for ping_mode C? Does it

Re: So many timeout values

2009-10-28 Thread Rainer Jung
On 28.10.2009 19:29, Mohit Anchlia wrote: Thanks a lot! Would this work with 1.2.27? Remove the escalation parameter, I guess that's the only 1.2.28 special param. Regarding recovery_options: Is there a default value it's set to? On the link

Re: So many timeout values

2009-10-28 Thread Mohit Anchlia
Thanks. I couldn't find what option retry_options 7 in http://tomcat.apache.org/connectors-doc/reference/workers.html is for. On Wed, Oct 28, 2009 at 11:37 AM, Rainer Jung rainer.j...@kippdata.de wrote: On 28.10.2009 19:29, Mohit Anchlia wrote: Thanks a lot! Would this work with 1.2.27?

Re: So many timeout values

2009-10-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 10/28/2009 2:29 PM, Mohit Anchlia wrote: Regarding recovery_options: Is there a default value it's set to? On the link http://tomcat.apache.org/connectors-doc/reference/workers.html it doesn't have option 7 That's because 7 isn't a

Re: So many timeout values

2009-10-28 Thread Mohit Anchlia
I actually have worked on C but didn't read the line about bit mask. Sorry. On Wed, Oct 28, 2009 at 12:44 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 10/28/2009 2:29 PM, Mohit Anchlia wrote: Regarding recovery_options:

Re: So many timeout values

2009-10-27 Thread Rainer Jung
On 26.10.2009 23:40, Mohit Anchlia wrote: I read about timeouts but I still have following questions: 1. From 1.2.28 onwards, if I don't set the ping_mode then the request will still be sent to the BE node from workers.list even if that node is down? Forwarding http requests to a node or

Re: So many timeout values

2009-10-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 10/26/2009 6:40 PM, Mohit Anchlia wrote: Christopher in one of his earlier replies mentioned that we don't have failover set. I am not sure why he said that because we have worker.list and also we have loadbalancer set in our

Re: So many timeout values

2009-10-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 10/25/2009 12:12 PM, Mohit Anchlia wrote: I also trying to understand cpong, prepost and all other timeouts. But it's confusing in terms of which one should be used and which ones can be left alone. We currently have following values, do

Re: So many timeout values

2009-10-26 Thread Rainer Jung
On 26.10.2009 16:19, Christopher Schultz wrote: On 10/25/2009 12:12 PM, Mohit Anchlia wrote: I also trying to understand cpong, prepost and all other timeouts. But it's confusing in terms of which one should be used and which ones can be left alone. We currently have following values, do you

Re: So many timeout values

2009-10-26 Thread Mohit Anchlia
thanks I'll read that and let you know if I have any questions. On Mon, Oct 26, 2009 at 9:21 AM, Rainer Jung rainer.j...@kippdata.de wrote: On 26.10.2009 16:19, Christopher Schultz wrote: On 10/25/2009 12:12 PM, Mohit Anchlia wrote: I also trying to understand cpong, prepost and all other

Re: So many timeout values

2009-10-26 Thread Mohit Anchlia
I read about timeouts but I still have following questions: 1. From 1.2.28 onwards, if I don't set the ping_mode then the request will still be sent to the BE node from workers.list even if that node is down? 2. Does socket_timeout mean how long the socket connection will be kept open? So it

So many timeout values

2009-10-25 Thread Mohit Anchlia
Apache 2.2.11 I also trying to understand cpong, prepost and all other timeouts. But it's confusing in terms of which one should be used and which ones can be left alone. We currently have following values, do you see any problem? worker.host2533.type=ajp13 worker.host2533.port=8009