mldonkey-bugs
[Top][All Lists]
Advanced

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

[Mldonkey-bugs] [bug #15504] Too many open files for directory incoming/


From: pango
Subject: [Mldonkey-bugs] [bug #15504] Too many open files for directory incoming/files
Date: Sat, 28 Jan 2006 02:23:04 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050927 Galeon/1.3.20 (Debian package 1.3.20-1)

Follow-up Comment #6, bug #15504 (project mldonkey):

That unix32_exists.patch does nothing; Sys.file_exists is not supposed to
open a file descriptor (it uses stat(), see
http://camlcvs.inria.fr/cgi-bin/cvsweb/ocaml/byterun/sys.c?rev=HEAD), so
you'll just be closing already closed descriptors (which is a noop, thanks to
Unix32 for testing that).

@Elliot : mldonkey manages a fixed size pool of descriptors for local files;
When the pool is fully used and a descriptor is needed the oldest opened one
is automatically closed and reused (FIFO policy). So there's no upper limit
to the number of files that can be shared, just efficiency dropping slowly
(as more open() and close() will be done).

That bug means that either the number of descriptors needed to computed
wrongly from the start, or that there's a descriptors leak somewhere...



    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=15504>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]