cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2004-03-17 Thread hgomez
hgomez 2004/03/17 09:13:32 Modified:jk/native2/common jk_worker_lb.c Log: Remove unused vars Revision ChangesPath 1.39 +0 -4 jakarta-tomcat-connectors/jk/native2/common/jk_worker_lb.c Index: jk_worker_lb.c

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2004-03-08 Thread Kurt Miller
: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 08, 2004 6:01 PM Subject: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c > truk2004/03/08 15:01:07 > > Modified:jk/native2/common jk_worker_lb.c > Log: > Fix bug 234

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2004-03-08 Thread ax
This account does not exist - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2004-03-08 Thread truk
truk2004/03/08 15:01:07 Modified:jk/native2/common jk_worker_lb.c Log: Fix bug 23483 Only add worker to the workerTable if it is not already there. Add check for maximum workers too. Revision ChangesPath 1.38 +21 -5 jakarta-tomcat-connectors/jk/native2

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2003-03-03 Thread costin
costin 2003/03/03 23:21:00 Modified:jk/native2/common jk_worker_lb.c Log: Use the new field. Revision ChangesPath 1.32 +2 -0 jakarta-tomcat-connectors/jk/native2/common/jk_worker_lb.c Index: jk_worker_lb.c

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c jk_channel_jni.c jk_channel.c

2002-11-21 Thread mturk
mturk 2002/11/21 01:03:18 Modified:jk/native2/common jk_worker_lb.c jk_channel_jni.c jk_channel.c Log: Get rid of the one-shot worker initialization scheme. It doesn't work as it should, and it slows down the load balacer. Once when service channel will

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-10-13 Thread mturk
mturk 2002/10/13 23:30:42 Modified:jk/native2/common jk_worker_lb.c Log: Check if the worker has lb_disabled flag set, and behave like it was disabled. Revision ChangesPath 1.26 +3 -0 jakarta-tomcat-connectors/jk/native2/common/jk_worker_lb.c Index: jk

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-10-04 Thread Henri Gomez
> No, but extending one dtd would be better than reinventing everything. > I will try to make a cleanup as soon as I have time. (docs need a lot of > time). I confirm ;-) BTW, any DTD will be fine but we should take a look at what others jakarta and xml projects are using. -- To unsubscrib

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-10-03 Thread Costin Manolache
jean-frederic clere wrote: >> :-) Sorry about 'horrible'. >> >> What I meant is - the elements like and almost everything >> else have an identical meaning as the standard XHTML or docbook element. >> It's a mix of elements - to do something that is already done and >> standard and accepted. >

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-10-03 Thread jean-frederic clere
Costin Manolache wrote: > jean-frederic clere wrote: > > >>Costin Manolache wrote: >> >>>Mladen Turk wrote: >>> >>> >>> >-Original Message- >On Behalf Of Costin Manolache > >Are we documenting all those settings - and the details on >why/how :-) ? > > >>>

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-10-03 Thread Costin Manolache
jean-frederic clere wrote: > Costin Manolache wrote: >> Mladen Turk wrote: >> >> >>> -Original Message- On Behalf Of Costin Manolache Are we documenting all those settings - and the details on why/how :-) ? >>> >>>Sure, like everyone else ;). >> >> >> Ye

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-10-03 Thread jean-frederic clere
Costin Manolache wrote: > Mladen Turk wrote: > > >> >>>-Original Message- >>>On Behalf Of Costin Manolache >>> >>>Are we documenting all those settings - and the details on >>>why/how :-) ? >>> >>> >> >>Sure, like everyone else ;). > > > Yes, I know :-) > > I'll try to get over the ho

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-10-02 Thread Mladen Turk
> -Original Message- > > > > Sure, like everyone else ;). > > Yes, I know :-) > > I'll try to get over the horrible and nonstandard DTD that we > use and start documenting what I can still remember, and > anything new that I add. And I won't write any new jk code > until I finish a

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-10-02 Thread Costin Manolache
Mladen Turk wrote: > > >> -Original Message- >> On Behalf Of Costin Manolache >> >> Are we documenting all those settings - and the details on >> why/how :-) ? >> >> > > Sure, like everyone else ;). Yes, I know :-) I'll try to get over the horrible and nonstandard DTD that we use

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-10-02 Thread Mladen Turk
> -Original Message- > On Behalf Of Costin Manolache > > Are we documenting all those settings - and the details on > why/how :-) ? > > Sure, like everyone else ;). MT. -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-10-02 Thread Costin Manolache
Are we documenting all those settings - and the details on why/how :-) ? Mladen Turk wrote: > > It is disabled by default and never checked (if you don't set the > timeout=x inside the [lb]). > > >> I there any way to disable completely that timeout? >> >> Perhaps setting it to -1 or somet

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-10-02 Thread Mladen Turk
It is disabled by default and never checked (if you don't set the timeout=x inside the [lb]). > I there any way to disable completely that timeout? > > Perhaps setting it to -1 or something like that? > > This timeout disabled should be the default config.. > -- To unsubscribe, e-mail:

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-10-02 Thread Ignacio J. Ortega
> De: Mladen Turk [mailto:[EMAIL PROTECTED]] > Enviado el: 2 de octubre de 2002 17:50 I there any way to disable completely that timeout? Perhaps setting it to -1 or something like that? This timeout disabled should be the default config.. Saludos , Ignacio J. Ortega -- To unsubscribe, e-mai

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-10-02 Thread Mladen Turk
> -Original Message- > From: [EMAIL PROTECTED] > Modified:jk/native2/common jk_worker_lb.c > Log: > Introduced 3 new configuration parameters to the lb. > 1. attempts -- replaces harcoded MAX_ATTEMPTS > 2. recovery -- replaces hardcoded WAIT_BEFORE_RECOVER > 3. timeout

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-10-02 Thread mturk
mturk 2002/10/02 08:36:22 Modified:jk/native2/common jk_worker_lb.c Log: Introduced 3 new configuration parameters to the lb. 1. attempts -- replaces harcoded MAX_ATTEMPTS 2. recovery -- replaces hardcoded WAIT_BEFORE_RECOVER 3. timeout -- this one is new. The timeout if s

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-07-08 Thread mturk
mturk 2002/07/08 06:33:38 Modified:jk/native2/common jk_worker_lb.c Log: no message Revision ChangesPath 1.23 +4 -4 jakarta-tomcat-connectors/jk/native2/common/jk_worker_lb.c Index: jk_worker_lb.c ===

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-06-29 Thread mturk
mturk 2002/06/29 11:28:10 Modified:jk/native2/common jk_worker_lb.c Log: Move the worker initalization to channel, so we can skip the channels that not need that option. Revision ChangesPath 1.22 +6 -13 jakarta-tomcat-connectors/jk/native2/common/jk_worker_l

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-06-29 Thread mturk
mturk 2002/06/29 00:48:20 Modified:jk/native2/common jk_worker_lb.c Log: Serialize the calls to the workers until the first call finishes or times out. Added new config param 'timeout' setting the initialization worker timeout. Revision ChangesPath 1.21 +88 -7

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-06-22 Thread jfclere
jfclere 2002/06/22 09:57:54 Modified:jk/native2/common jk_worker_lb.c Log: Typo Submitted by: Ian Darwin ian at darwinsys.com Revision ChangesPath 1.20 +1 -1 jakarta-tomcat-connectors/jk/native2/common/jk_worker_lb.c Index: jk_worker_lb.c =

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-05-15 Thread Bernd Koecke
[EMAIL PROTECTED] wrote: > On Tue, 14 May 2002, Bernd Koecke wrote: > > >>Hi Costin, >> >>the new patch seems to work, but I'll test it more exactly tomorrow. Then I'll >>create the patches and the functional description. >> >>In short, the patched lb_worker uses an additinal flag on the other

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-05-14 Thread costin
costin 02/05/14 13:41:35 Modified:jk/native2/common jk_worker_lb.c Log: Support for customizable error message ( or redirect ) in case all workers are down Revision ChangesPath 1.15 +28 -3 jakarta-tomcat-connectors/jk/native2/common/jk_worker_lb.c Index:

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-05-14 Thread costinm
On Tue, 14 May 2002, Bernd Koecke wrote: > Hi Costin, > > the new patch seems to work, but I'll test it more exactly tomorrow. Then I'll > create the patches and the functional description. > > In short, the patched lb_worker uses an additinal flag on the other workers (e.g > worker.ajp13.loc

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-05-14 Thread Bernd Koecke
[EMAIL PROTECTED] wrote: [...] > > I'll implement the same thing in jk2, but I wait your patch for jk1. > Hi Costin, the new patch seems to work, but I'll test it more exactly tomorrow. Then I'll create the patches and the functional description. In short, the patched lb_worker uses an addi

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-05-14 Thread costin
costin 02/05/14 10:23:31 Modified:jk/native2/common jk_worker_lb.c Log: - Started to add the 'hwBalanceErr' support. - removed the config stuff - it's now in jk_config - we still check the shm head and call the config->update method. This is needed since /jkstatus will

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-05-14 Thread Bernd Koecke
[EMAIL PROTECTED] wrote: > On Tue, 14 May 2002, Bernd Koecke wrote: > > >>The '0' as lb_value is needed to determine which are the main/local-workers. If >>we don't have this special value we need an additional config-flag with a list >>of the local/main-workers like in Mathias patch. >> >>Sho

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-05-13 Thread costinm
On Tue, 14 May 2002, Bernd Koecke wrote: > The '0' as lb_value is needed to determine which are the main/local-workers. If > we don't have this special value we need an additional config-flag with a list > of the local/main-workers like in Mathias patch. > > Should I add an additional config-f

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-05-13 Thread Bernd Koecke
GOMEZ Henri wrote: >>The '0' as lb_value is needed to determine which are the >>main/local-workers. If >>we don't have this special value we need an additional >>config-flag with a list >>of the local/main-workers like in Mathias patch. >> >>Should I add an additional config-flag (I will take

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-05-13 Thread GOMEZ Henri
>The '0' as lb_value is needed to determine which are the >main/local-workers. If >we don't have this special value we need an additional >config-flag with a list >of the local/main-workers like in Mathias patch. > >Should I add an additional config-flag (I will take it from >Mathias patch) o

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-05-13 Thread Bernd Koecke
[EMAIL PROTECTED] wrote: > On Mon, 13 May 2002, Bernd Koecke wrote: > > >>Sorry, I must say it again, for my environment it is an error, if a _switched >>off_ tomcat got a request without a sessionid or with a session from another >>node. Its not necessary that this tomact-apache tandem is > >

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-05-13 Thread costinm
On Mon, 13 May 2002, Bernd Koecke wrote: > Sorry, I must say it again, for my environment it is an error, if a _switched > off_ tomcat got a request without a sessionid or with a session from another > node. Its not necessary that this tomact-apache tandem is In the current code ( in jk2 ), if

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-05-13 Thread Bernd Koecke
Mathias Herberts wrote: > [EMAIL PROTECTED] wrote: > >> costin 02/05/09 14:06:48 >> >> Modified:jk/native2/common jk_worker_lb.c Log: That's the big one. >> >> Please review ! >> >> It changes the handling of lb_value to int. I also cleaned up the logic so >> it's easier ( I hop

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-05-10 Thread costinm
Hi Mathias, Thanks for the review. Few comments: > Configure all Apache instances so they see all Tomcat instances, assign > a higher priority to local workers on each Apache, therefore local What you set is the 'level' ( or proximity, distance, etc ) - lower numbers mean closer ( and higher

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-05-10 Thread Mathias Herberts
[EMAIL PROTECTED] wrote: > > costin 02/05/09 14:06:48 > > Modified:jk/native2/common jk_worker_lb.c > Log: > That's the big one. > > Please review ! > > It changes the handling of lb_value to int. I also cleaned up the logic so > it's easier ( I hope ) to understand what's

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-05-09 Thread costin
costin 02/05/09 14:06:48 Modified:jk/native2/common jk_worker_lb.c Log: That's the big one. Please review ! It changes the handling of lb_value to int. I also cleaned up the logic so it's easier ( I hope ) to understand what's happening. "Levels" replace the 'local wo

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-05-04 Thread nacho
nacho 02/05/04 12:07:53 Modified:jk/native2/common jk_worker_lb.c Log: * Bug: the worker was lost if only there was 1 worker configured Revision ChangesPath 1.9 +4 -1 jakarta-tomcat-connectors/jk/native2/common/jk_worker_lb.c Index: jk_worker_lb.c ===

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-05-03 Thread costin
costin 02/05/03 10:49:05 Modified:jk/native2/common jk_worker_lb.c Log: Try to fix the 'default worker' case. An lbfactor of 0 means the worker is used exclusively ( as long as it's alive). Revision ChangesPath 1.5 +65 -27jakarta-tomcat-connectors/jk/nati

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-04-25 Thread costin
costin 02/04/25 12:21:58 Modified:jk/native2/common jk_worker_lb.c Log: Added some code to check the shm 'version' and update the config. Not completed. Revision ChangesPath 1.4 +173 -97 jakarta-tomcat-connectors/jk/native2/common/jk_worker_lb.c Index:

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-04-15 Thread costin
costin 02/04/15 16:47:57 Modified:jk/native2/common jk_worker_lb.c Log: Patch from Eugene Gluzberg <[EMAIL PROTECTED]> > If a tomcat goes down, it gets taken out of the "worker list" for 60 > seconds, before its retried. If all the tomcats that are being load balanced > ar

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c

2002-04-11 Thread costin
costin 02/04/11 17:23:07 Modified:jk/native2/common jk_worker_lb.c Log: Fix and test the lb worker. We'll refresh the internal fields every time a new lb worker is added ( it could happen at runtime - until now it was fixed ) Revision ChangesPath 1.2 +97 -5

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c jk_lb_worker.c

2002-03-20 Thread costin
costin 02/03/20 15:39:36 Added: jk/native2/common jk_worker_lb.c Removed: jk/native2/common jk_lb_worker.c Log: Renamed to follow the same naming scheme with the rest of the code. Revision ChangesPath 1.1 jakarta-tomcat-connectors/jk/native2/com