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/



_______________________________________________
Mldonkey-bugs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/mldonkey-bugs

Reply via email to