Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I created another post the other day but it seems like it never got past admin. So this time I'll keep it short.
Official documentation says "The library dynamically closes the least used files as needed." but my experience is that every file downloaded need to be "open" whether or not it is active (dl/ul).
Can anyone comment on this? Currently, my 25000+ files, need a max_open_files value of 25000+
question unclear (maybe the longer version would have been better).
apparently this is about torrenting.
what do you mean "25000 files" - files or torrents?
25000 torrents would bring the most advanced torrent software to its knees i should think.
otoh, you do not need to bother about the individual files each torrent consists of. the software does that.
beyond that, all torrent software has configuration options, and documentation for that.
Hi ondo, maybe the mods/admins will approve my previous post, i redacted info by replacing it with the letter X three times, might have been that that set of some alarms
Anyway, i mean maybe 100-150 torrents and they themself consist of 25000-35000 files. And as the documentation says it should handle this by deciding which files are active (dl/ul) and not keeping them "open" but in my case that does not seem to work. Because if i dl a torrent with, lets say, 75 files it will add 75 to the "open files counter" and they are never removed, even if i pull the network cable :/
Im running Debian 9.6 and rTorrent 0.9.6/0.13.6 if that helps. Would my config help?`(think its safer to put it in a separate post this time
I reinstalled the entire system a few months back but with same results.
# Get public IP address without the need of having dynamic DNS service, also works from behind NAT, through tunnel
method.insert = get_public_ip_address, simple|private, "execute.capture=bash,-c,"eval echo -n \$(dig -4 TXT +short o-o.myaddr.l.google.com @ns1.google.com)""
# The IP address reported to the tracker. (ip) This handles dynamic IP's as well.
schedule2 = ip_tick, 0, 600, "network.local_address.set=(get_public_ip_address)"
Hi ondo, maybe the mods/admins will approve my previous post, i redacted info by replacing it with the letter X three times, might have been that that set of some alarms
no, it didn't.
it is normal that your first post awaits approval.
it now shows, if you care to look at your own history.
Quote:
it should handle this by deciding which files are active (dl/ul) and not keeping them "open" but in my case that does not seem to work. Because if i dl a torrent with, lets say, 75 files it will add 75 to the "open files counter" and they are never removed, even if i pull the network cable :/
i see.
anyhow, the solution lies within rtorrent configuration, and the solution to understanding it lies in reading the documentation.
looking at this search, the first two results are what you need, i think.
Thanks, but over the years I've read the github-pages "a thousand" times and even though there are terms I don't understand (epoll) I like yo believe I understand most of the text. Any idea what could be the cause of my issue?
I agree that not every software can process 25000+ файлов, try processing files in small portions to find out what's the maximum
Thanks for the input KIOPRET but the issue isn't how many files it can handle (so far i've had 50000+ simultaneously without any problem.
It's that rTorrent doesn't seem to be "closing the connection" to files, aka marking them as inactive, like documentation (https://github.com/rakshasa/rtorrent/wiki/User-Guide) says: "The library dynamically closes the least used files as needed."
So I was wondering if anybody either has experience with rTorrent "closing" inactive files and/or sees a problem with my configuration regarding this issue?
interestingly, i once had a similar problem with trasnsmission:
Paused torrents still continued to congest the network connection.
Found out that there's a hidden setting
"The library dynamically closes the least used files as needed."
The problem seems to be what rTorrent defines to be "as needed". If that means: when it runs out of file descripters you essentially do not have "enough" files open yet for that behaviour to be activated.
So you would have to seach in the source to find when this closing of least used files will be activated.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.