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, w

Re: [OT] Re: So many timeout values

2009-10-29 Thread Warren Pace
On Thu, Oct 29, 2009 at 10:30 AM, André Warnier wrote: > Warren Pace wrote: >> >> On Thu, Oct 29, 2009 at 9:14 AM, Caldarale, Charles R >> wrote: >>>> >>>> From: André Warnier [mailto:a...@ice-sa.com] >>>> Subject: Re: [OT] Re: So

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 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

Re: [OT] Re: So many timeout values

2009-10-29 Thread Peter Crowther
2009/10/29 Caldarale, Charles R : >> 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 main memory", then

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

Re: [OT] Re: So many timeout values

2009-10-29 Thread Peter Crowther
2009/10/29 Caldarale, Charles R : > 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 handled properly. > >  

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 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 us

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

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 André Warnier
Peter Crowther wrote: 2009/10/28 Christopher Schultz : 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 little wo

[OT] Re: So many timeout values

2009-10-29 Thread Peter Crowther
2009/10/28 Christopher Schultz : > 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 little work in a language that

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 wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Mohit, > > On 10/28/2009 2:29 PM, Mohit Anchlia wrote: >> Regarding recovery_options: Is there a default v

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
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 wrote: > On 28.10.2009 19:29, Mohit Anchlia wrote: >> Thanks a lot! >> >> Would this work with 1.2.27? > > Remove the escalat

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 http://tomcat.apache.org/connectors-doc/refe

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 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 ti

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 unsubscr

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 i

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 > worker.

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 o

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 actua

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 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 timeouts. But >>> it's

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

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,