report on obscure issues: running out of file handles with python under wine

Luke Kenneth Casson Leighton lkcl at lkcl.net
Fri Jan 30 03:53:08 CST 2009


On Fri, Jan 30, 2009 at 3:41 AM, Vitaliy Margolen
<wine-devel at kievinfo.com> wrote:
> Luke Kenneth Casson Leighton wrote:
>> also note it's file descriptors not file handles
> There are no such thing as "handle" in *NIX world. The only thing matter is
> a file descriptor. But it's for files, directories, devices, etc.
>
> Wine takes care of all the handles internally (one of the main tasks for
> wineserver). Wineserver has a really big handle limit:
> #define MAX_HANDLE_ENTRIES  0x00ffffff

 ahh, then... not being funny or anything, but this might be a
problem.  bug-for-bug compatibility would imply having to bring that
limit down to match what nt does. ... actually.... is there a second
location where there are handle / filedescriptor limits? the reports i
read seemed to indicate that there was a filedescriptor limit of 2048
and a handle limit that was far in excess of that (just like wine)

> I really doubt you overrunning that.

 i'm not, and neither is the application - that's the point.

 ... but on windows, the application _is_ hitting the limit (of 2048)
and is gracefully throwing errors.

 l.



More information about the wine-devel mailing list