One Django website was freezing about every HOUR with no indication in logs what
the problem was. I was seeing CPU utilization spike to 100%.
I removed these switches below and it seemed to have fixed the problem.
--master
--enable-threads
--pcre-jit
--thunder-lock
Is there some problem with threads or something? What is weirder is that
everything has been fine for MONTHS. I didn't change anything so not sure
why this week uWSGI started blowing up.
Here is my system info:
uWSGI version: 2.0.19.1
Django version: 2:2.2.12-1ubuntu0.7
on Ubuntu 20.04 LTS with following Linux kernel:
Linux server 5.4.0-1030-aws #31-Ubuntu SMP Fri Nov 13 11:40:37 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Sincerely,
Chris