New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
take my memory rtorrent! take it! #921
Comments
Confirming: |
Might be an issue with ulimit being set, or you have 32bit kernel without physical address extension enabled. |
Gentoo amd64. I really can't figure it out beyond it being a casting issue or an issue with the command type itself (the type is void?). |
Try calling ulimit from from within rtorrent, should be something like |
2173240K - mmap ulimit -a in the instance is returning the same... looks like it's capped at the old 32bit limit but the executable is 64bit... |
OK - so even though rtorrent holds onto file descriptors it doesn't actually use them accroding to the memory mapping... There's 5768 open descriptors (the limit) but only 77 files are mmap'd... This is a libtorrent bug - can you transfer the issue @rakshasa ? |
Probably it's related to this one. |
Those file descriptors also get used as socket connections, so 5000 is not unusual. You did not post the results of the 'ulimit -a' call, and if it as you say it is capped at 32 bits then you need to solve that, it's not an issue with the client. |
Have you tried lowering the number of allowed descriptors? |
Closing this as it seems an issue with the setup, not the client. |
No matter what I try I can't seem to get rtorrent to use my ram...
I've tried both:
max_memory_usage = 14000M
pieces.memory.max.set = 128000M
But it won't do a damn thing... Is there some bizarre hard limit of 2624M or something?
EDIT: I have 32G of RAM...
The text was updated successfully, but these errors were encountered: