http://bugs.winehq.org/show_bug.cgi?id=25015
--- Comment #8 from Dan Kegel dank@kegel.com 2011-06-17 10:22:04 CDT --- Aw, peachy. I'm on the new ubuntu with the hard limit of 4096, and an overnight run of lotro's pmb-based installer still hangs, this time after downloading 2.3GB out of 10 or so. The app still redraws properly, and says "4 hours 12 minutes remaining", but does not respond when you press on the 'stop' or 'pause' buttons. The log shows
err:winediag:FILE_CreateFile Too many open files, ulimit -n probably needs to be increased err:seh:setup_exception_record stack overflow 924 bytes in thread 0009 eip 7bc3d2ef esp 00a70f94 stack 0xa70000-0xa71000-0xc70000
Several hours after the hang started, "lsof | grep wineser | wc -l" shows 4030. "lsof | grep PMB | wc -l" shows 229.
Killing, then running the app again lets it resume.
You can watch the action with the command watch "lsof -n > lsof.txt && grep PMB < lsof.txt | wc -l && grep lotrohigh < lsof.txt | wc -l && grep wineser < lsof.txt | wc -l"
In a few minutes, I watched this climb to 368 1794 1821
More investigation to follow...