I used strace to attach to a process briefly. The process created 90 threads. When I found the offending thread, I had to tediously search for the parent thread
strace
strace -f to trace child process that's fork()ed.
strace -f
fork()