Closed tuckerburgin closed 3 years ago
hi @tuckerburgin, it's a known issue. Please try to follow this to turn it off. Cheers. https://github.com/Amber-MD/pytraj/issues/1498#issuecomment-558360392
Aha, I see! Thanks for your help. Silly me, I searched old issues for "pytraj.energy_analysis.lie" but not for just "LIE"!
great.
I searched old issues for "pytraj.energy_analysis.lie" but not for just "LIE"!
I could not search the old thread either (wrong keyword I guess) so I have to browse the old issues. :D
I am trying to use pytraj.energy_analysis.lie to analyze a large number of short trajectory files. After exactly 506 calls to the function, I am consistently met with the following traceback:
Note that the OS I'm working with has a soft limit on open files set to 1024:
So perhaps at a rate of two pipes per function call (stderr and stdour) plus a few other files here and there, that can explain the problem.
It seems that the stdout/stderr pipes set up by wurlitzer.py are not being properly closed at the end of their usefulness. I have attempted find a solution to this issue myself, but with no luck, so I'm submitting this issue in the hopes that someone with more experience working with pipes will be able to resolve it (or else suggest a workaround!)
Thanks!