Hi, >What do you use to balance the load between the apaches ?
-We are using the mod_jk to load balance between apaches. The load is not high during the other week days but only twice in a week. >Some things you have to keep in mind: >- mod_jk isn't perfect in balancing the load for one Apache > The workers don't know enough of each other to do a good job. >- mod_jk is even worse in doing a good job in balancing the load > on seperate apaches on different machines. The worker know even > less (or nothing) about the other workers in the other apache > instances. -First of all, I need to know what are you basing your thoughts/conclusions on ? I need more details on why it isn't good enough. -How can we inform the each worker about other workers. It seems we need also the amount of sessions logged on each tomcats during this time. Any way to find this bare minimal changes, say with a jsp page ? >Do you use sticky sessions ? >When you see high load on the 2 instances do they have a proportional >number of sessions (or is each sessions causing more load than usual) ? -Yes, we are using sticky sessions. Yes the 2 instances are proportional (not from the session count, but from the database connections each has and both are observed above 400 connections)and other instances are cool enough this time. But, apache reach their max client connections and other tomcats are sitting their with not much load and seems that this load is directed to the already clogged up tomcats (Just a thought, not sure!!!) and site does not respond well under these conditions and lead us to kill these specific tomcats with high thread counts. But my point is why direct all the load to a specific tomcat and not distribute it evenly ? Then, what worth is the load balancer for. This is not understood well from the load balancer settings or either mod_jk is not intelligent at all or better make it intelligent / replace it. Comments??? Arnab Chakravarty > -----Original Message----- > From: Arnab Chakravarty [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 13, 2003 10:07 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Production Issues > > > 4 Solaris boxes - Each Box has 1 Apache - 3 Tomcats making 4 > apaches and 12 tomcats in all. Please see the enclosed image. > Problem: On a given day of a week, there is lot load on 2 > tomcats 4_3 and 1_1 and in this sequence. The load balancer > setting provided in the worker.properties is: > For Apache 1 - 4_3, 4_2, ...., 1_2, 1_1 > For Apache 2 - 1_1, 1_2, ...., 4_2, 4_3 > For Apache 3 - 4_3, 4_2, ...., 1_2, 1_1 > For Apache 4 - 1_1, 1_2, ...., 4_2, 4_3 --------------------------------------------------------------------- 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]
