After running for several hours, the openfire server always has a 100% CPU usage

We found that after running for several hours, the openfire server always has a 100% CPU usage.

my openfire server die.

You should try profiling the server to see what it is doing when the CPU races. That isn’t much information to go ont.