-
Notifications
You must be signed in to change notification settings - Fork 135
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
memory leak #648
Comments
very likely this is caused by rtorrent request queue. there maybe a bug. I replace it with p-queue, and everythink looks fine. |
@trim21 I'm running rtorrent using the following command: docker run -it --rm -v ./volumes/config:/config -v ./volumes/data:/Users/ffactory/data --user 1000:1001 -p 0.0.0.0:6881:5000 -e HOME=/config jesec/rtorrent edit: |
looks like there are more than one memory leak bug... |
how many torrents do you have in rtorrent? and "it quickly starts consuming upwards of 16 GB of memory", how quickly? |
@trim21 the number of threads keeps rising (currently 2.9k) Within 5 seconds of starting the server, it's already at 4 GB, after total 30 seconds it's at 9 GB and the number of threads approaches 1k. After killing both Edit: I should note, I'm using a MacBook Pro with Apple silicon. On my VPS (Ubuntu 20, x86) I'm using flood with zero problems. |
I don't have Apple silicon, I can't help with this... |
I'm happy to help investigate this if you have any clues. 🙂 |
does this happened if you are not using developing startup? for example: There maybe some incompatible between apple silicon and tsx(esbuild) |
Running |
Then I think this is caused by tsx/esbuild... and I have no clue about how to fix it 😥 please just use production build. |
@trim21 okay, I'll do that. Thanks for your efforts. |
Type: Bug Report
Your Environment
node --version
: 18.16.0npm --version
name and version
Summary
memory leak in event source handler
Expected Behavior
Current Behavior
Possible Solution
Steps to Reproduce
request dis-connect
"/activity-stream"
many time (about 1000)you will find memory leaked, and web UI stop working
Context
The text was updated successfully, but these errors were encountered: