Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Spinning loop in VBE_Poll causes master to kill child on CLI timeout #2295
In VBE_Poll() there is a loop that deletes old dynamic backends after a cooling period. This loop bugs out and becomes a kind of long running spinlock when the backend to be cleaned has a non-zero n_conn (due to very slow backend fetch). This causes the CLI thread to spin in a tight loop, possibly for a very long time, causing the master process to kill the child on CLI timeout.
PR and test case will follow.