Trouble accessing files - Errno 24 (Too many open files)

From TheoryOrg
Jump to navigation Jump to search

The reference implementation of BitTorrent keeps all the files being downloaded open. This can cause trouble with some of the larger multi-file torrents, which can have hundreds or thousands of component files. When the number exceeds the OS limit, the OS refuses to allow them all to be opened, preventing BitTorrent from accessing them.

To solve this problem, either increase the OS limit (ulimit, /proc/sys/fs/file-max), or use an implemention that limits the number of files it has open at any one time.

Last edit: Thu, 22 Jan 2004 20:56:39 -0800
Revisions: 3