Hi fjl,
No external API calls, no heavy computations, just standard queries and filesystem operations (weasyprint). I looked through the logs and there generating PDfs using Weasyprint is taking longer than before even though it hasn't been touched in weeks. Can you tell me if I've ran out of workers at any point in the past few days?
Something like this has happened before on PA when other apps on the shared server spike load or cause transient issues — any chance of checking recent server/load balancer/MySQL host activity for my instance?
Also, incase it's helpful here are the logs after I restarted it:
2026-03-04 11:49:47 Wed Mar 4 11:49:47 2026 - *** /etc/uwsgi/www.mcdconstruction.app.ini has been touched... grace them all !!! ***
2026-03-04 11:49:47 ...gracefully killing workers...
2026-03-04 11:49:47 Gracefully killing worker 1 (pid: 3834)...
2026-03-04 11:49:47 Gracefully killing worker 2 (pid: 3837)...
2026-03-04 11:49:47 Gracefully killing worker 6 (pid: 3849)...
2026-03-04 11:49:47 Gracefully killing worker 4 (pid: 3843)...
2026-03-04 11:49:47 Gracefully killing worker 12 (pid: 3867)...
2026-03-04 11:49:47 Gracefully killing worker 9 (pid: 3858)...
2026-03-04 11:49:47 Gracefully killing worker 7 (pid: 3852)...
2026-03-04 11:49:47 Gracefully killing worker 11 (pid: 3864)...
2026-03-04 11:49:47 Gracefully killing worker 5 (pid: 3846)...
2026-03-04 11:49:47 Gracefully killing worker 8 (pid: 3855)...
2026-03-04 11:49:47 Gracefully killing worker 10 (pid: 3861)...
2026-03-04 11:49:47 Gracefully killing worker 3 (pid: 3840)...
2026-03-04 11:50:24 worker 3 buried after 37 seconds
2026-03-04 11:50:24 worker 9 buried after 37 seconds
2026-03-04 11:50:24 worker 10 buried after 37 seconds
2026-03-04 11:50:25 worker 2 buried after 38 seconds
2026-03-04 11:50:25 worker 4 buried after 38 seconds
2026-03-04 11:50:25 worker 8 buried after 38 seconds
2026-03-04 11:50:25 worker 12 buried after 38 seconds
2026-03-04 11:50:26 worker 5 buried after 39 seconds
2026-03-04 11:50:27 worker 1 buried after 40 seconds
2026-03-04 11:50:57 *** Starting uWSGI 2.0.28 (64bit) on [Wed Mar 4 11:50:28 2026] ***
2026-03-04 11:50:57 compiled with version: 11.4.0 on 16 January 2025 20:41:13
2026-03-04 11:50:57 os: Linux-6.8.0-1043-aws #45~22.04.1-Ubuntu SMP Wed Nov 12 16:16:28 UTC 2025
2026-03-04 11:50:57 nodename: green-liveweb46
2026-03-04 11:50:57 machine: x86_64
2026-03-04 11:50:57 clock source: unix
2026-03-04 11:50:57 pcre jit disabled
2026-03-04 11:50:57 detected number of CPU cores: 4
2026-03-04 11:50:57 current working directory: /home/xDev
2026-03-04 11:50:57 detected binary path: /usr/local/bin/uwsgi
2026-03-04 11:50:57 *** dumping internal routing table ***
2026-03-04 11:50:57 [rule: 0] subject: path_info regexp: \.svgz$ action: addheader:Content-Encoding:gzip
2026-03-04 11:50:57 *** end of the internal routing table ***
2026-03-04 11:50:57 chdir() to /home/xDev/
2026-03-04 11:50:57 your processes number limit is 6144
2026-03-04 11:50:57 your memory page size is 4096 bytes
2026-03-04 11:50:57 detected max file descriptor number: 123456
2026-03-04 11:50:57 building mime-types dictionary from file /etc/mime.types...
2026-03-04 11:50:57 1516 entry found
2026-03-04 11:50:57 lock engine: pthread robust mutexes
2026-03-04 11:50:57 thunder lock: disabled (you can enable it with --thunder-lock)
2026-03-04 11:50:57 uwsgi socket 0 bound to UNIX address /var/sockets/www.mcdconstruction.app/socket fd 7
2026-03-04 11:50:57 Python version: 3.12.8 (main, Jan 16 2025, 12:10:47) [GCC 11.4.0]
2026-03-04 11:50:57 PEP 405 virtualenv detected: /home/xDev/apps/...
2026-03-04 11:50:57 Set PythonHome to /home/xDev/apps/...
2026-03-04 11:50:57 Python main interpreter initialized at 0x73f6bc5fec70
2026-03-04 11:50:57 python threads support enabled
2026-03-04 11:50:57 your server socket listen backlog is limited to 100 connections
2026-03-04 11:50:57 your mercy for graceful operations on workers is 60 seconds
2026-03-04 11:50:57 setting request body buffering size to 65536 bytes
2026-03-04 11:50:57 mapped 2172664 bytes (2121 KB) for 12 cores
2026-03-04 11:50:57 *** Operational MODE: preforking ***
2026-03-04 11:50:57 initialized 214 metrics
2026-03-04 11:50:57 INFO Loaded 5 event sources in 2 groups, with 3 model mappings [calendars.registry.load_event_sources:302]
2026-03-04 11:50:57 WSGI app 0 (mountpoint='') ready in 28 seconds on interpreter 0x73f6bc5fec70 pid: 1 (default app)
2026-03-04 11:50:57 *** uWSGI is running in multiple interpreter mode ***
2026-03-04 11:50:57 spawned uWSGI master process (pid: 1)
2026-03-04 11:50:57 spawned uWSGI worker 1 (pid: 10647, cores: 1)
2026-03-04 11:50:57 spawned 2 offload threads for uWSGI worker 1
2026-03-04 11:50:57 spawned uWSGI worker 2 (pid: 10650, cores: 1)
2026-03-04 11:50:57 spawned 2 offload threads for uWSGI worker 2
2026-03-04 11:50:57 spawned uWSGI worker 3 (pid: 10653, cores: 1)
2026-03-04 11:50:57 spawned 2 offload threads for uWSGI worker 3
2026-03-04 11:50:57 spawned uWSGI worker 4 (pid: 10656, cores: 1)
2026-03-04 11:50:57 spawned 2 offload threads for uWSGI worker 4
2026-03-04 11:50:57 spawned uWSGI worker 5 (pid: 10659, cores: 1)
2026-03-04 11:50:57 spawned 2 offload threads for uWSGI worker 5
2026-03-04 11:50:57 spawned uWSGI worker 6 (pid: 10662, cores: 1)
2026-03-04 11:50:57 spawned 2 offload threads for uWSGI worker 6
2026-03-04 11:50:57 spawned uWSGI worker 7 (pid: 10665, cores: 1)
2026-03-04 11:50:57 spawned 2 offload threads for uWSGI worker 7
2026-03-04 11:50:57 spawned uWSGI worker 8 (pid: 10668, cores: 1)
2026-03-04 11:50:57 spawned 2 offload threads for uWSGI worker 8
2026-03-04 11:50:57 spawned uWSGI worker 9 (pid: 10671, cores: 1)
2026-03-04 11:50:57 spawned 2 offload threads for uWSGI worker 9
2026-03-04 11:50:57 spawned uWSGI worker 10 (pid: 10674, cores: 1)
2026-03-04 11:50:57 spawned 2 offload threads for uWSGI worker 10
2026-03-04 11:50:57 spawned uWSGI worker 11 (pid: 10677, cores: 1)
2026-03-04 11:50:57 spawned 2 offload threads for uWSGI worker 11
2026-03-04 11:50:57 spawned uWSGI worker 12 (pid: 10680, cores: 1)
2026-03-04 11:50:57 metrics collector thread started
2026-03-04 11:50:57 spawned 2 offload threads for uWSGI worker 12
2026-03-04 11:50:57 *** Starting uWSGI 2.0.28 (64bit) on [Wed Mar 4 18:50:23 2026] ***
2026-03-04 11:50:57 compiled with version: 11.4.0 on 16 January 2025 20:41:13
2026-03-04 11:50:57 os: Linux-6.8.0-1043-aws #45~22.04.1-Ubuntu SMP Wed Nov 12 16:16:28 UTC 2025
2026-03-04 11:50:57 nodename: green-liveweb46
2026-03-04 11:50:57 machine: x86_64
2026-03-04 11:50:57 clock source: unix
2026-03-04 11:50:57 pcre jit disabled
2026-03-04 11:50:57 detected number of CPU cores: 4
2026-03-04 11:50:57 current working directory: /home/xDev
2026-03-04 11:50:57 detected binary path: /usr/local/bin/uwsgi
2026-03-04 11:50:57 *** dumping internal routing table ***
2026-03-04 11:50:57 [rule: 0] subject: path_info regexp: \.svgz$ action: addheader:Content-Encoding:gzip
2026-03-04 11:50:57 *** end of the internal routing table ***
2026-03-04 11:50:57 chdir() to /home/xDev/
2026-03-04 11:50:57 your processes number limit is 6144
2026-03-04 11:50:57 your memory page size is 4096 bytes
2026-03-04 11:50:57 detected max file descriptor number: 123456
2026-03-04 11:50:57 building mime-types dictionary from file /etc/mime.types...
2026-03-04 11:50:57 1516 entry found
2026-03-04 11:50:57 lock engine: pthread robust mutexes
2026-03-04 11:50:57 thunder lock: disabled (you can enable it with --thunder-lock)
2026-03-04 11:50:57 uwsgi socket 0 bound to UNIX address /var/sockets/www.mcdconstruction.app/socket fd 3
2026-03-04 11:50:57 Python version: 3.12.8 (main, Jan 16 2025, 12:10:47) [GCC 11.4.0]
2026-03-04 11:50:57 PEP 405 virtualenv detected: /home/xDev/apps/...
2026-03-04 11:50:57 Set PythonHome to /home/xDev/apps/...
2026-03-04 11:50:57 Python main interpreter initialized at 0x701d07a58c70
2026-03-04 11:50:57 python threads support enabled
2026-03-04 11:50:57 your server socket listen backlog is limited to 100 connections
2026-03-04 11:50:57 your mercy for graceful operations on workers is 60 seconds
2026-03-04 11:50:57 setting request body buffering size to 65536 bytes
2026-03-04 11:50:57 mapped 2172664 bytes (2121 KB) for 12 cores
2026-03-04 11:50:57 *** Operational MODE: preforking ***
2026-03-04 11:50:57 initialized 214 metrics
2026-03-04 11:50:57 INFO Loaded 5 event sources in 2 groups, with 3 model mappings [calendars.registry.load_event_sources:302]
2026-03-04 11:50:57 WSGI app 0 (mountpoint='') ready in 29 seconds on interpreter 0x701d07a58c70 pid: 1 (default app)
2026-03-04 11:50:57 *** uWSGI is running in multiple interpreter mode ***
2026-03-04 11:50:57 gracefully (RE)spawned uWSGI master process (pid: 1)
2026-03-04 11:50:57 spawned uWSGI worker 1 (pid: 85, cores: 1)
2026-03-04 11:50:57 spawned 2 offload threads for uWSGI worker 1
2026-03-04 11:50:57 spawned 2 offload threads for uWSGI worker 2
2026-03-04 11:50:57 spawned uWSGI worker 2 (pid: 88, cores: 1)
2026-03-04 11:50:57 spawned uWSGI worker 3 (pid: 91, cores: 1)
2026-03-04 11:50:57 spawned 2 offload threads for uWSGI worker 3
2026-03-04 11:50:57 spawned uWSGI worker 4 (pid: 94, cores: 1)
2026-03-04 11:50:57 spawned 2 offload threads for uWSGI worker 4
2026-03-04 11:50:57 spawned uWSGI worker 5 (pid: 97, cores: 1)
2026-03-04 11:50:57 spawned 2 offload threads for uWSGI worker 5
2026-03-04 11:50:57 spawned uWSGI worker 6 (pid: 100, cores: 1)
2026-03-04 11:50:57 spawned 2 offload threads for uWSGI worker 6
2026-03-04 11:50:57 spawned uWSGI worker 7 (pid: 103, cores: 1)
2026-03-04 11:50:57 spawned 2 offload threads for uWSGI worker 7
2026-03-04 11:50:57 spawned uWSGI worker 8 (pid: 106, cores: 1)
2026-03-04 11:50:57 spawned 2 offload threads for uWSGI worker 8
2026-03-04 11:50:57 spawned uWSGI worker 9 (pid: 109, cores: 1)
2026-03-04 11:50:57 spawned 2 offload threads for uWSGI worker 9
2026-03-04 11:50:57 spawned uWSGI worker 10 (pid: 112, cores: 1)
2026-03-04 11:50:57 spawned 2 offload threads for uWSGI worker 10
2026-03-04 11:50:57 spawned uWSGI worker 11 (pid: 115, cores: 1)
2026-03-04 11:50:57 spawned 2 offload threads for uWSGI worker 11
2026-03-04 11:50:57 spawned 2 offload threads for uWSGI worker 12
2026-03-04 11:50:57 spawned uWSGI worker 12 (pid: 118, cores: 1)