ForgeRock OpenAM 9.5.x


14/02/2013

It does run on Solaris 10  & GlassFish 2.1.1!

I’m a big fan of the ForgeRock suite of products for various reasons. One is the flexibility they give you when it comes to infrastructure. Since OpenAM is open you’ll find it will run on just about anything. The downside to this wonderful fact is that you have to often figure out for yourself how to make it work.   In this blog posting I am providing some OpenAM memory configuration options that I have researched and hope you find useful.

Forgerock’s site has some good tweaking advice for running their software on Tomcat but Tomcat and GlassFish are very different animals. They have completely different threading models, one uses Grizzly the other uses Catalina, one is a J2EE server while the other is a Java Servlet container. I don’t even think their kids go to the same school.

If you add to this mix the architectural differences between SPARC and x86 architectures then you could quickly run into some very confusing tuning options for OpenAM.

I have tested and verified on Oracle Solaris 10, JDK6.0.35 and GlassFish 2.1.1 patch 19 the following settings. These settings might also be of use to someone tuning in an OpenAM Intel environment.   As always, the settings are provided as-is, where-is and you use them at your own risk.   In no way are these settings warrantied but they will be a great starting place for you and your OpenAM tuning efforts.

*Note 1 – Before you start tweaking JVM settings it’s important to assign an appropriate number of threads to the Glassfish Server. Too few and you’ll be under utilizing your hardware. Too many and you’ll spend more time context switching than you will spend working.

*Note 2 – These are the settings used in one environment. Your memory settings will depend on your environments needs. (You don’t have to use 4 GB of memory.)

Turn this:

Into this:

Using this:

In closing, I’d like to thank Satadru Roy for all his help in determining these JVM options. Best of luck!

No Results