[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: report on obscure issues: running out of file handles with python
From:       Luke Kenneth Casson Leighton <lkcl () lkcl ! net>
Date:       2009-01-30 9:53:08
Message-ID: ced5f0f60901300153r3215c236s6da1abc467f61838 () mail ! gmail ! com
[Download RAW message or body]

On Fri, Jan 30, 2009 at 3:41 AM, Vitaliy Margolen
<wine-devel@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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic