boypt / simple-torrent

☁️ Simple Torrent: a self-hosted remote torrent client (rebranded from Cloud Torrent)
GNU Affero General Public License v3.0
1k stars 312 forks source link

Runaway CPU usage with cloud-torrent #102

Open supriyo-biswas opened 3 years ago

supriyo-biswas commented 3 years ago

I'm using cloud-torrent v1.2.12 and have been observing a runaway CPU usage, where the program would consume 30-40% CPU right away, even when the program has been just started and no torrents have been submitted to it.

Is there a way to understand why this issue is occurring and troubleshoot this issue? I've tried configuring CPUQuota= through systemd, but that causes cloud-torrent to take very long and/or become unresponsive when downloading a torrent.

Salamandar commented 3 years ago

Same here. I'm on Armbian (machine is Helios64), and Simple-torrent is using 150% CPU while traffic is only 150kB/s. CPU usage is similar when traffic is ~12MB/s.

stilobique commented 3 years ago

I'm try this service, same issue. I'm on Windows 10. Nothing is download and the apps is running to be ready.

Glide01 commented 3 years ago

same here, Docker installation is used, CPU usage is fucking high, almost 100%, The original Cloud-Torrent is normal.

supriyo-biswas commented 3 years ago

@boypt do you need any information to troubleshoot this issue? Although I'm not a golang expert, would be happy to help with any experimentation or tests that might be needed.

boypt commented 3 years ago

@supriyo-biswas I can reproduce the mentioned high cpu usage scenario, but I think it's caused from anacrolix/torrent side, I will try debug it

ishfx commented 3 years ago

Any updates on this issue ? Thanks in advance.

D35P4C1T0 commented 3 years ago

I can confirm I'm facing this issue on my side. It might be something in the config file

llego commented 2 years ago

Can also confirm really high CPU usage.

johnpc commented 2 years ago

This is still an issue for me. Docker installation, maxes out my raspberry pi 4.