I believe the timeout is related to NIO hickups, and there were plenty in the Sun implementation. See if you can get 1.4.2 working and if the error still occurs.
FIlip ----- Original Message ----- From: "Joachim Martin" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, September 08, 2004 11:06 AM Subject: Re: session replication slow/problems in 5.0.28 Hi Filip, SunOS 5.6 (from uname -a; not sure what that corresponds to) java version "1.4.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92) Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode) I didn't realize I was using 1.4.0- I also have 1.4.2_04 available, and tried it quickly, but I got an unsatisfied link error on librt.so.1 (strange). I added a simple page to the /jsp-examples/ webapp, it just puts an Integer in session and increments on each request. I take down servers and make sure that the hitcount keeps on going up. Works great except for the timeout. Thanks --Joachim Filip Hanik - Dev wrote: >ok, you want to find out what is taking so long, are you storing megabyte size stuff >in your session? >The socket is timing out cause it is not receiving an acknowledgement from the other >server. >Also, what OS and JDK are you on, if you are on linux, you will need to set >LD_ASSUME_KERNEL=2.4 because of known NIO issues > >Filip > >----- Original Message ----- >From: "Joachim Martin" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Wednesday, September 08, 2004 10:42 AM >Subject: session replication slow/problems in 5.0.28 > > >Hello, > >I have successfully gotten replication working. However, every 5-10 >hits or so, the request takes forever, and I see the following in the log: > >Sep 8, 2004 11:33:38 AM org.apache.catalina.cluster.tcp.SocketSender >waitForAck >WARNING: Wasn't able to read acknowledgement from server[/x.x.x.x:56831] >in 15000 ms. Disconnecting socket, and >trying again. > >Is there a fix or workaround for this? > >Thanks --Joachim > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
