Troubleshooting
Troubleshooting Common Issues
Below is the most common errors you may encounter.
It is by no means exhaustive.
If you cannot find the issue below, please submit a support ticket.
PermGen Out of Memory Error
PermGen only applies to JDK < 8. To fix this error, add below to JAVA_OPTS:
export JAVA_OPTS="-XX:PermSize=128M -XX:MaxPermSize=128M"
Out of Memory Error (JDK 8)
For JDK 8, try adding below to JAVA_OPTS and restarting the instance:
export JAVA_OPTS="-XX:MetaspaceSize=128M"
Port in Use
A port in use error occurs when an instance was not properly stopped. Be sure the instance is stopped. If needed use 'top -u' to kill user session.
Refused to Connect on Port XXXX
Refused to connect errors occur when an instance is was not fully stopped and connected to connect again on the same port. Be sure the instance is stopped. If needed use 'top -u' to kill user session.
...started a thread..memory leak
This is an application-level error.
Your service is not ready for use....
Check that you have provisioned via Servers > CoffeeCP > Instances
{something went wrong.....}
This is a CoffeeCP-specific error (all such errors will show json error as above). Email support for any such errors.
If you need assistance at any time, let us know.