http://bugs.winehq.org/show_bug.cgi?id=19861
--- Comment #36 from Dan Kegel dank@kegel.com 2010-06-11 08:51:00 --- I feel strongly that we should print a single warning to the winediag channel in this case, as the patch does, so that the user can complain to whoever packaged his Wine, or raise the limit on his own in the meantime.
Wine seems to use two fd's per file handle in some situations as a result of a recent commit, and this causes some real applications to explode even on Ubuntu, where the fd limit is already set fairly high. The failures are mysterious and annoying enough that they merit a +winediag message.
The exact message should probably be more generic, though, since not all systems have the same mechanism for raising the limit.