https://bugs.winehq.org/show_bug.cgi?id=46675
--- Comment #15 from Zebediah Figura z.figura12@gmail.com --- (In reply to tjb from comment #14)
I ran in Win7 and it looks like you are right, it was up to 2000 handles in 20 minutes, same leak rate as under wine. I guess all I can do is to try to kludge in some kind of a timestamp based stale handle recovery queue into ntdll to run it on wine.
Well, maybe. I see two better options: (a) since the program seems to be opening the same file, find some way to map multiple handles to the same fd, or (b) just raise your NOFILE limits.