Question

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

Hi,

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello,

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:

https://www.digitalocean.com/community/questions/how-to-find-the-processes-that-are-consuming-the-most-server-resources

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