I've recently ran into a deployment issue with a call to Mac.getInstance("HmacSHA1")
.
It can take up to 10 minutes to execute that single call on this specific server, whilst on other machines its execution is instant.
CPU usage also spikes during the call.
Here's a bit of details on the server:
- OS: CentOS 5.6 Final (kernel 2.6.35.8-16, i686);
- JVM: Sun's JDK 1.6.0_25 (32bit);
- CPU: Intel Core2 Duo CPU ([email protected]);
- Mem: 2GB of RAM;
- Dedicated physical server.
Any clues on what might be the problem here?