Feb. 1, 2025
4:21 p.m.
On 2025-02-01 15:23:31 +0000 (+0000), Stephen J. Turnbull wrote: [...]
Another thing that is strange about this site is that it should be possible to hit that runner with a SIGUSR1 and restart it. This works for me, but on that system the stuck runner exits, but does not restart. [...]
- I haven't tried to reproduce the Python 3.10 + Mailman 3.3.6 configuration and test SIGUSR1 in that configuration yet. Seems unlikely, waiting for the proverbial "round tuit". [...] Any ideas would be welcome, including general debugging advice. [...]
It's a bit of hacking, but in other Python-based daemons I work on we've implemented a debug signal handler that can produce tracebacks or thread dumps from the running process. Finding out what the interpreter is executing at a particular point in time can provide some useful insight into where the underlying bug might be hiding.
-- Jeremy Stanley