[Bug 19861] Wine should warn when ulimit -n needs raising

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jun 11 05:56:45 CDT 2010


--- Comment #28 from Octavian Voicu <octavian.voicu at gmail.com>  2010-06-11 05:56:44 ---
(In reply to comment #27)
> If breaking applications is a security of some kind - let be it. I just
> would like to repeat once again, that's not only Wine who is potentially
> affected, any application that uses a lot of file handles will break, and
> most likely without any message.

We are trying to provide Windows compatibility, and Windows seems to support
between 512 and 2048 open files. On the other hand, just running notepad opens
70 files:

$ wine notepad &
[1] 10762
$ ls -l /proc/`pidof wineserver`/fd | wc -l

But Windows' limit is per-application. In Wine's case all open files go through
wineserver, so running more applications means more open files. That's why Wine
needs more open files than most applications.

Actually, VMware added this to my /etc/security/limits.conf file:

# Automatically generated by the VMware Installer - DO NOT REMOVE
*               hard    nofile          4096

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list