Question

Encountering Internal Server Error & Request Timeout

Posted March 3, 2020 179 views
Server Optimization

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?

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.

×
1 answer

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

Submit an Answer