Waiting for processes to exit

Similar topics have been posted a lot of times but I could not find a satisfying solution. When issuing a “server -q” we always run into this issue, Java begins to generate a lot of CPU load (up to 98%) - and the final solution is a reboot of the machine.

A “nsd -kill” does not really solve the problem, some orphan processes remain, “.jsd_lock” is not deleted, the database might be corrupt and and and …

We had to face similar problems with Java and SAP XI systems, a Java update did help. Could a Java upgrade/patching probably sort out the “wait while shutting down” - situation?

We have presently implemented SuSe SLES9 SP3, Domino 6.5.6, Java 1.4.2, running on VMWare ESX 3.1 and HP DL580 G3.