Ok here is what is going on.
Seams like the problem is not with the tomcat replication but with the
damned JK balancer. :(
When the 2nd tomcat node is shutdown, the balancer resend all the
request pending to the other node. (BUT, without the parameter.)
I sent 50 request to each node (or so)
: WAS: tomcat 5.0.16 Replication
Ok here is what is going on.
Seams like the problem is not with the tomcat replication but with the
damned JK balancer. :(
When the 2nd tomcat node is shutdown, the balancer resend all the
request pending to the other node. (BUT, without the parameter.)
I sent 50
://balance.sourceforge.net on unix only
Filip
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 6:09 AM
To: Tomcat Users List
Subject: Re: WAS: tomcat 5.0.16 Replication
Ok here is what is going on.
Seams like the problem
reproduce this.
do you by any chance have the test program you have and would email it to
me?
Filip
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 11:56 AM
To: Tomcat Users List
Subject: Re: WAS: tomcat 5.0.16 Replication
I understand
This is the kind of behaviour that I really
cannot understand. Makes archiving a pain and is
totally inconsiderate.
At 8:23 am -0500 2004/01/13, [EMAIL PROTECTED] wrote:
Still checking to make sure it ain't on my side (MVC or such)
Jean-Philippe Bélanger
CGI
[25kB of inessential quote]
And your reply is better?
I'm trying to get that replication thing working with Filip. If there is
something imcompatible with his code that make this behavior happens. I
will try and find it before giving him the job. He's not the only one
that has to work with this. I'm offering my help. I'm
PROTECTED]
Sent: Tuesday, January 13, 2004 3:42 PM
To: Tomcat Users List
Subject: Re: WAS: tomcat 5.0.16 Replication
And your reply is better?
I'm trying to get that replication thing working with Filip
Well then... Sorry about misunderstanding.
I'll try to remove my thousand of quotes now! :P and keep only the last one
Jean-Philippe Bélanger
CGI
Ralph Einfeldt wrote:
He didn't critique that you posted, just how.
He doesn't like posts with quotes that are not
needed. (That's the attitude of
:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 11:56 AM
To: Tomcat Users List
Subject: Re: WAS: tomcat 5.0.16 Replication
I understand that. Here more info...
I make a servlet request that does this:
while ( i 25 ) {
if ( request.getParameters(xxx) == null ) {
System.out.println(param
]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 9:24 AM
Subject: Re: WAS: tomcat 5.0.16 Replication
I've tried to replicate the problem with a simple servlet. outside of
our MVC architecture (controller). and seams like I can't.
I've put traces in our controller on the doPost
[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 9:24 AM
Subject: Re: WAS: tomcat 5.0.16 Replication
I've tried to replicate the problem with a simple servlet. outside of
our MVC architecture (controller). and seams like I can't.
I've put traces in our controller on the doPost method writing
if you have a test case for me I can take a look and see what happens
Filip
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 11:12 AM
To: Tomcat Users List
Subject: Re: WAS: tomcat 5.0.16 Replication
That's the catch. Everything
, 2004 12:05 PM
To: 'Tomcat Users List'
Subject: RE: tomcat 5.0.16 Replication
Hrmmm, perhaps I should reboot using the non-SMP kernel and try it. I'll
have to do that when I get back to the servers.
-Original Message-
From: Steve Nelson [mailto:[EMAIL PROTECTED]
Sent: Friday, January 09
You will notice the improvement under load.
of course, get latest from cvs first
Filip
-Original Message-
From: Steve Nelson [mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 12:05 PM
To: 'Tomcat Users List'
Subject: RE: tomcat 5.0.16 Replication
Hrmmm, perhaps I should reboot
it works for
you
You will notice the improvement under load.
of course, get latest from cvs first
Filip
-Original Message-
From: Steve Nelson [mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 12:05 PM
To: 'Tomcat Users List'
Subject: RE: tomcat 5.0.16 Replication
Hrmmm, perhaps I
PM
To: Tomcat Users List
Subject: Re: WAS: tomcat 5.0.16 Replication
Been working on testing the new modules and came across something weird.
Wondering if you got any idea on the cause/problem while I continue
investigating
Scenario:
- one web page login in a user. receive 3 parameters (user
replicated, I am working on that right now
Filip
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 11:29 AM
To: Tomcat Users List
Subject: Re: WAS: tomcat 5.0.16 Replication
Been working on testing the new modules and came across something weird
can you check the logs, if there is an uncaught exception, the ACK will
never get sent
Filip
-Original Message-
From: Steve Nelson [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 11:39 AM
To: 'Tomcat Users List'
Subject: RE: WAS: tomcat 5.0.16 Replication
I had an instance
request parameters. Also in this release, the
principal is not being replicated, I am working on that right now
Filip
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 11:29 AM
To: Tomcat Users List
Subject: Re: WAS: tomcat 5.0.16 Replication
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 11:56 AM
To: Tomcat Users List
Subject: Re: WAS: tomcat 5.0.16 Replication
I understand that. Here more info...
I make a servlet request that does this:
while ( i 25
, January 08, 2004 6:43 PM
To: Tomcat Users List
Subject: RE: tomcat 5.0.16 Replication
ok guys,
good news. The 100% cpu is totally my fault. I messed up on that one.
I was registering OP_WRITE as an interest
this is not good :)
checking in the working code in 15 min, some more regression tests
PROTECTED]
Sent: Thursday, January 08, 2004 6:43 PM
To: Tomcat Users List
Subject: RE: tomcat 5.0.16 Replication
ok guys,
good news. The 100% cpu is totally my fault. I messed up on that one.
I was registering OP_WRITE as an interest
this is not good :)
checking in the working code in 15 min, some
I will be implementing some performance improvements today.
I'll let you know how it goes
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 4:33 AM
To: Tomcat Users List
Subject: Re: tomcat 5.0.16 Replication
Hurray for Fillip! :)
I'll
Hanik [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 6:43 PM
To: Tomcat Users List
Subject: RE: tomcat 5.0.16 Replication
ok guys,
good news. The 100% cpu is totally my fault. I messed up on that one.
I was registering OP_WRITE as an interest
this is not good :)
checking
I don't seem to need the ld_assume_kernel thing. What are the symptoms when
it is required?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 12:33 PM
To: Tomcat Users List
Subject: Re: tomcat 5.0.16 Replication
Just tried the CVS head
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 10:33 AM
To: Tomcat Users List
Subject: Re: tomcat 5.0.16 Replication
Just tried the CVS head and everything works with any CPU going crazy!
only if ld_assume_kernel is set to 2.4
One more question
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 12:33 PM
To: Tomcat Users List
Subject: Re: tomcat 5.0.16 Replication
Just tried the CVS head and everything works with any CPU going crazy!
only if ld_assume_kernel is set to 2.4
One more question for you
Now that's really very strange. I am running RH9 and everything seems to go
through just fine.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 12:56 PM
To: Tomcat Users List
Subject: Re: tomcat 5.0.16 Replication
The replication
interesting, mine doesn't work at all unless I set the LD_ASSUME_KERNEL
what VM (version and name) are you using?
Filip
-Original Message-
From: Steve Nelson [mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 10:59 AM
To: 'Tomcat Users List'
Subject: RE: tomcat 5.0.16 Replication
To: Tomcat Users List
Subject: RE: tomcat 5.0.16 Replication
interesting, mine doesn't work at all unless I set the LD_ASSUME_KERNEL
what VM (version and name) are you using?
Filip
-Original Message-
From: Steve Nelson [mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 10:59 AM
]
Sent: Friday, January 09, 2004 10:59 AM
To: 'Tomcat Users List'
Subject: RE: tomcat 5.0.16 Replication
Now that's really very strange. I am running RH9 and everything seems to go
through just fine.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Friday, January
)
-Original Message-
From: Steve Nelson [mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 11:05 AM
To: 'Tomcat Users List'
Subject: RE: tomcat 5.0.16 Replication
sun JDK 1.4.2 for Linux
Kernel 2.4.20-8smp
Tomcat 5.0.16 with catalina-cluster.jar from CVS head
Hrmmmare yours
(build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
same on both
-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 1:56 PM
To: Tomcat Users List
Subject: RE: tomcat 5.0.16 Replication
[EMAIL PROTECTED] bin]# uname
Hrmmm, perhaps I should reboot using the non-SMP kernel and try it. I'll
have to do that when I get back to the servers.
-Original Message-
From: Steve Nelson [mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 2:04 PM
To: 'Tomcat Users List'
Subject: RE: tomcat 5.0.16 Replication
09, 2004 12:05 PM
To: 'Tomcat Users List'
Subject: RE: tomcat 5.0.16 Replication
Hrmmm, perhaps I should reboot using the non-SMP kernel and try it. I'll
have to do that when I get back to the servers.
-Original Message-
From: Steve Nelson [mailto:[EMAIL PROTECTED]
Sent: Friday
. Will let you know how it goes
also, try asynchronous replication, does it still go to 100%?
Filip
-Original Message-
From: Steve Nelson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 12:08 PM
To: 'Tomcat Users List'
Subject: RE: tomcat 5.0.16 Replication
Okay, did that got
, try asynchronous replication, does it still go to 100%?
Filip
-Original Message-
From: Steve Nelson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 12:08 PM
To: 'Tomcat Users List'
Subject: RE: tomcat 5.0.16 Replication
Okay, did that got this
BEGIN TO RECEIVE
SENT:Default 1
]
Sent: Thursday, January 08, 2004 12:25 PM
To: Tomcat Users List
Subject: Re: tomcat 5.0.16 Replication
More content for you Filip.
I've checked and followed the code of the listen event in
ReplicationListener.java
Here's what happening:
selector.select(timeout) - return immediatly with one
To: Tomcat Users List
Subject: Re: tomcat 5.0.16 Replication
More content for you Filip.
I've checked and followed the code of the listen event in
ReplicationListener.java
Here's what happening:
selector.select(timeout) - return immediatly with one SelectorKey available
That key is not Acceptable
]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 11:46 AM
To: Tomcat Users List
Subject: Re: tomcat 5.0.16 Replication
The only changes in the ReplicationListener class is the try catch that
was added.
the code logic is the same. Weird enough. So it's probably elsewhere
that something
: Thursday, January 08, 2004 2:54 PM
To: Tomcat Users List
Subject: RE: tomcat 5.0.16 Replication
another code change was, that I am now accepting keys for OP_READ and
OP_WRITE. before it was only OP_READ,
but for synchronous replication I need both.
this is good info, I just got RH9 installed
Filip
-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 6:43 PM
To: Tomcat Users List
Subject: RE: tomcat 5.0.16 Replication
ok guys,
good news. The 100% cpu is totally my fault. I messed up on that one.
I was registering OP_WRITE as an interest
I was having random problems with clustering when starting up. Mostly it had
to do with Timing out
when the manager was starting up. I built the CVS version and it solved that
problem. But it has caused
some serious performance problems.
First a little background.
I have 2 servers, dual
: Wednesday, January 07, 2004 6:51 AM
To: '[EMAIL PROTECTED]'
Subject: tomcat 5.0.16 Replication
I was having random problems with clustering when starting up. Mostly it had
to do with Timing out
when the manager was starting up. I built the CVS version and it solved that
problem. But it has caused
not successfully ran tomcat clustering on RH9, I use RH8.
I also don't have a RH9 machine at home yet, so I can't develop for it
Filip
-Original Message-
From: Steve Nelson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 6:51 AM
To: '[EMAIL PROTECTED]'
Subject: tomcat 5.0.16
: Wednesday, January 07, 2004 11:43 AM
To: Tomcat Users List
Subject: Re: tomcat 5.0.16 Replication
Currently running tomcat 5.0.16 with the CVS HEAD of the replication module.
This is under redhat 9. So far so good.
What kind of problem did you encounter under rh9?
Jean-Philippe Bélanger
Filip
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 1:43 PM
To: Tomcat Users List
Subject: Re: tomcat 5.0.16 Replication
Currently running tomcat 5.0.16 with the CVS HEAD of the replication module.
This is under redhat 9. So far so good.
What kind
]
Sent: Wednesday, January 07, 2004 11:43 AM
To: Tomcat Users List
Subject: Re: tomcat 5.0.16 Replication
Currently running tomcat 5.0.16 with the CVS HEAD of the replication module.
This is under redhat 9. So far so good.
What kind of problem did you encounter under rh9?
Jean-Philippe Bélanger
Filip
PROTECTED]'
Subject: tomcat 5.0.16 Replication
I was having random problems with clustering when starting up. Mostly it had
to do with Timing out
when the manager was starting up. I built the CVS version and it solved that
problem. But it has caused
some serious performance problems.
First a little
Hanik [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 1:58 PM
To: Tomcat Users List
Subject: RE: tomcat 5.0.16 Replication
100% cpu can mean that you have a multicast problem, try to run
java -cp tomcat-replication.jar MCaster
download the jar from http://cvs.apache.org/~fhanik
: tomcat 5.0.16 Replication
Okay, did that got this
BEGIN TO RECEIVE
SENT:Default 1
RECEIVED:Default 1 FROM /10.0.0.110:
SENT:Default 2
BEGIN TO RECEIVE
RECEIVED:Default 2 FROM /10.0.0.110:
SENT:Default 3
BEGIN TO RECEIVE
RECEIVED:Default 3 FROM /10.0.0.110:
SENT:Default 4
BEGIN TO RECEIVE
executable. Sounds
like
alot of the load may be in system calls.
-Steve
-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 2:47 PM
To: Tomcat Users List
Subject: RE: tomcat 5.0.16 Replication
I'll try to get an instance going today. Will let you
the the java executable. Sounds
like
alot of the load may be in system calls.
-Steve
-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 2:47 PM
To: Tomcat Users List
Subject: RE: tomcat 5.0.16 Replication
I'll try to get an instance going today
Nelson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 3:03 PM
To: 'Tomcat Users List'
Subject: RE: tomcat 5.0.16 Replication
Okay, I reverted back to the 5.0.16 version and now I don't have the high
CPU ute.
But it takes almost 60 seconds for the Manager to request the session
you should do
export LD_ASSUME_KERNEL=2.4.1
not
export set LD_ASSUME_KERNEL=2.4.1
in regular bash shell
-Original Message-
From: Steve Nelson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 1:38 PM
To: 'Tomcat Users List'
Subject: RE: tomcat 5.0.16 Replication
Heh, now
Ends up doing the same thing.
The variable was set. I checked it with an echo.
-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 4:05 PM
To: Tomcat Users List
Subject: RE: tomcat 5.0.16 Replication
you should do
export LD_ASSUME_KERNEL
: Saturday, January 03, 2004 8:07 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: tomcat 5.0.16 Replication
it will come out in the next release.
Filip
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 31, 2003 9:41 AM
To: Tomcat-user
: tomcat 5.0.16 Replication
I built the latest CVS branch for the clustering module and replaced my
catalina-cluster.jar.
Seams like everything is synchronous as stated.
I had another unrelated problem with a IFRAME that IE seams to load before
the server (tomcat) ends the request. So even
it will come out in the next release.
Filip
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 31, 2003 9:41 AM
To: Tomcat-user
Subject: tomcat 5.0.16 Replication
The new tomcat 5.0.16 replication seams to work odly.
From what I've read from
The new tomcat 5.0.16 replication seams to work odly.
From what I've read from the documentation and the mailing list, the clustering is
supposed to be done synchronously.
Right?
Well that's not what's happening on my end, the client receives the response before
the whole replication thing
61 matches
Mail list logo