users@glassfish.java.net

Cluster synchronisation servlet taking a LOOOONG time...

From: CS Wong <lilwong_at_gmail.com>
Date: Fri, 26 Sep 2008 19:33:39 +0800

Hi,

I've had my Glassfish cluster running for some time in production and
over time I've been adding more modules to it. I have this problem
that has been steadily getting worse over time.

When I run "asadmin start-cluster <cluster-name>", I can see in both
my instance server.log the following line:

[#|2008-09-26T19:00:43.680+0800|INFO|sun-appserver9.1|javax.ee.enterprise.system.tools.synchronization|_ThreadID=10;_ThreadName=main;|IdentityManager
Data: User:admin|#]

After a long time, then only I'd see something like the following:

[#|2008-09-26T19:22:31.521+0800|INFO|sun-appserver9.1|javax.ee.enterprise.system.tools.synchronization|_ThreadID=10;_ThreadName=main;1307.017;|SYNC010:
Synchronization completed in 1307.017 seconds.|#]

That's like 20 minutes just for the synchronization alone... and there
doesn't seem to be any logs at all about what is being done.

Eventually, the startup would still proceed, but I'm worried about
this. Is this considered normal behavior for a clustered environment?
Is there anything I can do to speed things up?

Thanks,
Wong