http://bugs.winehq.org/show_bug.cgi?id=25015
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2010-11-03 09:53:06 CDT --- It's the wineserver that's running out of fds, not the client. No evidence of Wine bug though.(In reply to comment #2)
If it turns out to really be a ulimit problem, see https://bugs.launchpad.net/ubuntu/+bug/663090 for a request to raise the default ulimit on ubuntu (and why it's hard),
It shouldn't be hard to raise the hard limit.
And note that it's the wineserver that's running out of fds, so checking the handles open in the client is not very meaningful.