My JAVA Application runs smoothly on AWS but on DO it freezes


I have a JAVA application for a CRM we use, it has a DB size of about 2GB and is hosted on a Managed DB with DO. My application works fine when the load is limited to 2-3 users but when the load goes up, the application freezes on the login screen and doesn’t even log in.

The same application works with about 300 users simultaneously without freezing on AWS based windows hosting for TOMCAT.

On DigitalOcean I am running Ubuntu with TOMCAT.

Any ref. or suggestions will be helful.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.


It sounds like that the server might be running low on resources, I could suggest starting with checking the server resources utilization. You can do that by following the steps here:

As your database is running on a separate instance, I could suggest checking the resource utilization for your managed database instance as well.

Also I would recommend enabling logging for your application and checking your error log, it is possible that in there you would find more information on why the application is freezing.

Let me know how it goes. Regards, Bobby