Encountering Internal Server Error & Request Timeout

Hi everyone, good day.

Problem: When every time we are importing data in our ERP site, we always received pop-up message “Internal Server Error” or “Request Timeout”.

Action Taken: We increased the RAM, vCPUs and Memory.

  • CPU-Optimized / 16 GB / 8 vCPUs
  • 50 GB Disk + 100 GB

Concern: We are still encountering the same issues after increasing RAM, vCPUs and Memory. We already performed performance tuning for Gunicorn Workers. Is there anything that we are still missing to do?


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

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.

Hi @GienVicencio,

It seems like the process of importing data is actually taking too much time or memory that it’s hitting the limits configured. This doesn’t mean it’s reaching the limits of the droplet but the limits set for the application.

I’ll recommend doing a little more tuning to your Gunicorn Workers such as increasing the memory they can take and the execution time. For instance to increase the workers memory limit, you should be able to use post_worker_init

To check the other limits which you can set, please visit the following link GuniCorn Workers Config

Regards, KDSys