anacrolix / anacrolix/torrent

How to limit goroutines?

Open
#839 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
6.1k
Forks
690
Avg merge
3d 10h
Merged PRs (30d)
12

Description

In some machines with bad disk, when p2p distribute big file and p2p process is full with pagecache(use cgroup limit memory), p2p process will create many goroutines and threads(as most of goroutines are in syscall write/read status and write/read is slow). This will result high load.

So does torrent support limit goroutines?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.