You have an awful lot of processes accessing the same temporary file. Maybe you are opening an SQLite connection, creating a transaction that requires a temporary file (see https://sqlite.org/tempfiles.html) and never completing that transaction. And then go on to fork off a bunch of subprocesses that inherit the open file descriptors (see https://sqlite.org/howtocorrupt.html)