<div dir="ltr">Hi<div><br></div><div>There has been a thread offlist as we have been attempting to resolve</div><div>some issues that popped up using covoar at scale with Vijay's and</div><div>Chris' recent work. It appears that the magic number is 400 executables</div><div>which can be processed before covoar dies with a SIGKILL. This </div><div>should indicate that it has hit a hard limit. </div><div><br></div><div>We have tried using ulimit to limit things. I have no idea where </div><div>exceeding limits in a process is logged. Knowing that would be</div><div>very useful if someone can point us to the right place.</div><div><br></div><div>My current suspicion is that we have hit a maximum open</div><div>files limit. I don't recall when ExecutableInfo.cc opened and</div><div>closed files before but if the DWARF support includes an open </div><div>file descriptor, then there is one left open for the entire duration</div><div>of the program run. The instance of executable information for</div><div>each executable exists for the entire program run. It wouldn't</div><div>hurt if we could close the DWARF helper file descriptor when</div><div>we have gathered all the information.</div><div><br></div><div>I am hoping gcov processing is turned off for Vijay's current</div><div>runs since that would add more open file descriptors.</div><div><br></div><div>I could be completely wrong on the limit being hit and am</div><div>open to ideas on how to figure out which one it is.</div><div><br></div><div>Vijay.. running valgrind on a run of covoar with only one</div><div>RTEMS executable would be a good start at figuring</div><div>out if there are resources allocated that could be freed</div><div>along the execution. As Chris has pointed out to me</div><div>before, I didn't really care much about clean up because</div><div>when the program ended, all the memory was freed anyway.</div><div>This is OK until you hit some limit.</div><div><br></div><div>Ideas appreciated on how to debug this enough to find</div><div>the cause.</div><div><br></div><div>Thanks.</div><div><br></div><div>--joel</div></div>