IDP clustering with Terracotta 3.6
Russell Beall
beall at usc.edu
Thu Dec 15 19:18:13 GMT 2011
On Dec 15, 2011, at 8:13 AM, Christopher Bongaarts wrote:
> Any tips? We have gotten 3.5.2 working more or less OK against IdP
> 2.1.3. Using 3.5.3 TC against IdP 2.3.5 has worked OK but seems to
> leave a suspicious number of uncollected objects around.
I noticed when upgrading that the number of lock objects seemed to double. I forget whether it was the TC version that did this or the IdP version, but I'm pretty sure it was TC that changed in this respect.
I alleviated this and other issues by converting the EventingMapBasedStorageService to use the Terracotta recommended ConcurrentDistributedHashMap instead of the java built-in ConcurrentHashMap. It is a simple tweak to the IdP code actually and results in a much more stable and workable TC environment. In particular I have seen in documentation that using the regular ConcurrentHashMap is a problem in a distributed environment and can be a real performance drag.
I can publish the patch for this if desired.
I currently have been staging and load testing a RedHat Linux cluster of 2.3.3 IdP nodes clustered with 3.5.1 TC.
I encountered some problems with the settings currently published and had to tweak them to get it to stabilize. In particular the setting which specifies the pause interval for the garbage collector became a real problem and I had to get rid of it:
-XX:MaxGCPauseMillis=5000
On Linux, this setting started being used with a vengeance (whereas it basically was ignored in Solaris) and my TC server would enter continuous Full GC cycles even though the heap was not full, trying to make sure that it always did its GC at 5000 ms or less. This resulted in severe unworkability because really it ended up keeping itself in one continuous stream of GC.
Regards,
Russ.
>> I suggest not bothering with an untested version and simply going with a version that is known to work.
>
> Unfortunately the Terracotta folks don't seem interested in keeping past
> versions available for download.
>
>> Regards,
>> Russ.
>>
>> On Dec 11, 2011, at 10:45 PM, raghavendra harapanahalli wrote:
>>
>>> was anyone able to setup IDP cluster with NIIF SLO version of IDP and Terracotta 3.6?
>>>
>>> TheTerracotta installation seems to have changed from its lower version whose integration has been documented in the Wiki.
>>> --
>>> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
>>
>> --
>> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
>
>
> --
> %% Christopher A. Bongaarts %% cab at umn.edu %%
> %% OIT - Identity Management %% http://umn.edu/~cab %%
> %% University of Minnesota %% +1 (612) 625-1809 %%
> --
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
More information about the users
mailing list