WinPooh32 / peerstohttp

Simple torrent proxy to http stream controlled over REST-like api
GNU General Public License v3.0
46 stars 10 forks source link

3 more concurrent downloads cause problems #13

Open chaos369 opened 3 years ago

chaos369 commented 3 years ago

Hi, I had been downloading 3 different files separately at the same time. It printed as follow

2020/12/17 10:15:14 http: Accept error: accept tcp 116.102.186.113:443: accept4: too many open files; retrying in 5ms 2020/12/17 10:15:14 http: Accept error: accept tcp 116.102.186.113:443: accept4: too many open files; retrying in 10ms 2020/12/17 10:15:14 http: Accept error: accept tcp 116.102.186.113:443: accept4: too many open files; retrying in 20ms 2020/12/17 10:15:14 http: Accept error: accept tcp 116.102.186.113:443: accept4: too many open files; retrying in 40ms

2020-12-17T10:16:02+0800 NONE torrent.go:1831: disallowing data download 2020-12-17T10:16:02+0800 NONE torrent.go:1831: disallowing data download 2020-12-17T10:16:02+0800 NONE torrent.go:1831: disallowing data download 2020-12-17T10:16:02+0800 NONE torrent.go:1831: disallowing data download 2020-12-17T10:16:02+0800 NONE torrent.go:1831: disallowing data download 2020-12-17T10:16:02+0800 NONE torrent.go:1831: disallowing data download 2020-12-17T10:16:02+0800 NONE torrent.go:1831: disallowing data download 2020-12-17T10:16:02+0800 NONE torrent.go:1831: disallowing data download 2020-12-17T10:16:02+0800 NONE torrent.go:1831: disallowing data download 2020-12-17T10:16:02+0800 NONE torrent.go:1831: disallowing data download 2020-12-17T10:16:02+0800 NONE torrent.go:1831: disallowing data download

chaos369 commented 3 years ago

Sorry, it's the problem of Max open files setting, forget it.

omgbox commented 1 year ago

Sorry, it's the problem of Max open files setting, forget it.

can you explain the fix so other people understand this also please.

is this with peerstohttp ? Max open files setting , where users can find it and edit.