Open calebzulawski opened 1 year ago
This will occur if something is persisting the child process values rather than using them immediately. This used to occur before a few script changes I made. I was able to check the number of open files using procfs to debug/verify fixes.
I suspect this only happens during dependency detection (and not regular compilation) because a greater percentage of time is spent loading headers. This is pretty easily fixed with
ulimit
but it might be good to limit the number of detection processes (it's currently limited to the task limit, which I would have thought would be sufficient).