Re: Building big app in Visual C++ in Wine uses too many file handles in wineserver, wheee....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dan Kegel wrote:
> The wineserver is process 1247, and sure enough, ls /proc/1247 shows
> file descriptors as high as 973 in use.  The default ulimit -n is 1024,
> so it probably briefly exceeded that.
If you think that's low, on Mac OS X the default FD limit is 256! You
can only open 256 handles before the system says EMFILE.

> No idea what those ld.so errors are, though.
Anyway, recall that all loading of shared libraries is done by ld.so in
userland. I'd venture a guess that ld.so opens the file, then tries to
mmap(2) the file into memory. Key words: "opens the file". It, too is
running out of FDs. That's probably why you're getting the
dlopen(3)-related error.

Chip


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux