This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Too many open files


"Larry Hall (RFK Partners, Inc)" wrote:
> At 06:28 PM 2/26/2002, Kirk Erickson wrote:
> >I love cygwin.  I've had no problems at home (running under XP),
> >but I'm experiencing a problem reported earlier by Benoit Rochefort
> >
> >http://sources.redhat.com/ml/cygwin/2002-02/msg00791.html
> >
> >under Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2.
> >I can reproduce by doing a
> >
> >         find . -type l
> >
> >in my home directory.  The find hangs, and even if I kill it,
> >subsequent commands fail:
> >
> >[kirke@BAG HINTS]$ cat HINTS
> >cat: HINTS: Too many open files
> >
> >I've attached cygcheck output.

> >   386k 1998/02/26 C:\WINNT\cygwinb19.dll - os=4.0 img=1.0 sys=4.0
> >                   "cygwinb19.dll" v0.0 ts=1998/2/25 2:22
> 
> Get rid of the DLL above.  Never mix Cygwin DLL versions.

I saw the same failure after removing this.
Also, I scratch installed Windows 2000, and redid the Cygwin install
from scratch (nothing but setup.exe).

Its apparent that directory entries relative to my HOME directory
are corrupt:

[kirke@BAG .backup]$ ls -l big*
ls: big-2002-0228-1555: No such file or directory
-rw-r--r--    1 kirke    Administ      547 Nov  9  2000
big-2001-0108-1137
-rw-r--r--    1 kirke    Administ      568 Jan 16  2001
big-2002-0212-1443
-rw-r--r--    1 kirke    Administ      532 Nov  1  2000
bigd-2001-0108-1137
-rw-r--r--    1 kirke    Administ      529 Jan 16  2001
bigd-2002-0212-1443
[kirke@BAG .backup]$ pwd
/cygdrive/z/private/kirke/scripts/.backup

This directory lives on a server managed by our IS group.  I've
requested
they do a 'chkdsk /f' to clean up.

I guess find is leaking descriptors when it encounters bad directory
entries.

kirk

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]