My high-level problem is my build tool (Maven) which became suddenly very slow on a Solaris 10 environment. A build which was taking 8 minutes now takes 50 minutes.
I narrowed this problem down to a maven plugin repeatedly calling
Runtime.getRuntime().exec("env");
This makes the JVM (version 1.6.0_22) invoking "env" command on the OS.
Each one of this calls takes approximately 1.5 second versus a few milliseconds on other Solaris 10 machines.
A reboot of the machine helped once and things became normal again for a couple of weeks. Now it's gone bad again and reboot doesn't help.
Thanks