On Thu, Nov 11, 2004 at 06:42:44PM +0100, bruno patin wrote: >Gerrit P. Haase wrote: > >>bruno patin wrote: >> >>>something I forgot, the number of handler increases at the same speed >>>as the memory. I suspect that this resource is not released when >>>exiting setup because when doing my experiments my computer is being >>>slower and slower. >> >> >>What is the actual limit for NT? I never was aware that there is a >>limit at all. >> >> >>Gerrit > >In fact I'm a unix guy and I don't really know of what windows is >doing. My understanding is a 'black box' one seeing what happens with >the few win tools I have and the setup code. I can perhaps search a >little but I think the cygwin coder are far more better than me. That's >the reason why I'd like an advice fromm christopher Faylor that knows >certainly what could happen on nt.
I'm thinking that there is something odd about setup's handing of files in directories which have not been explicitly created in the tar archive. That's why I was asking if c:/cygwin/usr/X11R6/share/doc/Cygwin existed. It didn't seem like the tar archive was creating it specifically. I don't know why this would affect some people but not others, though. When I install cygwin from scratch in a base install + all X packages selected, I don't see this. So maybe this is a red herring. Anyway, to the end of confirming my theory, I have (I HOPE) regenerated all of the X11 files in the distribution and made sure that directory creation precedes filename creation in every case. I haven't bumped the version numbers, though, since this is purely a cosmetic change. This change will take a while to hit mirrors since many files were affected but if you check that a mirror contains files with today's date, then it is worth trying a full install to see if your problem mysteriously goes away. So, Bruno, could you periodically check: ftp://mirrors.sunsite.dk/pub/cygwin/release/X11/xorg-x11-fscl/ wait until the file xorg-x11-fscl-6.8.1.0-2.tar.bz2 shows today's date, and then try your test case again to see if it hangs? I think that setup.exe should do the right thing and download the changed files but, if it doesn't, you'll have to delete them from your disk. As far as handles are concerned, I don't think that there is any upper limit on the number that can be allocated. The only limitation is 32 bits and the amount of available memory. It seems like people are hitting this limit if they allow setup to run long enough. cgf
