http://bugs.winehq.org/show_bug.cgi?id=23516
--- Comment #18 from Kelytha kelytharun@gmail.com 2010-12-18 16:13:17 CST --- (In reply to comment #17)
I did the recommended change to 8192, and it did stick, but I'm still having this bug with Half-Life 2 Episode 2.
I ran your script (substituting my user name, of course) while in-game (I used a TTY console and sent the results to a text file). I don't know which numbers are which, so here's my results.
496 wineserve:5566 538 Steam.exe:5582 577 hl2.exe:10140
I don't know if that means that HL2Ep2 needs an even higher ulimit number or what. This is with Closed Captions and Developer's Commentary turned on, so I don't know if that affects the numbers at all.
The first number is the process ID, the second is the number of files the process wants to open. So this indeed sounds like that HL2 Episode 2 wants to load way more resources as Left 4 Dead 2.