YouROK / TorrServer

Torrent stream server
GNU General Public License v3.0
1.34k stars 178 forks source link

Многократные записи в логе error adding connection: don't want conns #340

Closed infoman2001 closed 5 months ago

infoman2001 commented 5 months ago

через curl установлена последняя версия torrserver. При просмотре фильма многократная ошибка в логах - "don't want conns [github.com/anacrolix/torrent client.go:867]". До 500 записей в минуту. При этом всё работает - кино показывает) Подскажите, можно ли решить эту проблему?

Версия Linux: Linux 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux)

Строка запуска - DAEMON_OPTIONS="--port 53777 --logpath /opt/torrserver/torrserver.log --path /opt/torrserver --httpauth"

Config:

[Unit]
Description = TorrServer - stream torrent to http
Wants = network-online.target
After = network.target

[Service]
User = torrserver
Group = torrserver
Type = simple
NonBlocking = true
EnvironmentFile = /opt/torrserver/torrserver.config
ExecStart = /opt/torrserver/TorrServer-linux-amd64 $DAEMON_OPTIONS
ExecReload = /bin/kill -HUP ${MAINPID}
ExecStop = /bin/kill -INT ${MAINPID}
TimeoutSec = 30
#WorkingDirectory = /opt/torrserver
Restart = on-failure
RestartSec = 5s
#LimitNOFILE = 4096

[Install]
WantedBy = multi-user.target

Status:

● torrserver.service - TorrServer - stream torrent to http
     Loaded: loaded (/etc/systemd/system/torrserver.service; enabled; vendor preset: enabled)
     Active: active (running) since Mon 2024-01-01 21:22:08 MSK; 2 days ago
   Main PID: 13943 (TorrServer-linu)
      Tasks: 6 (limit: 1085)
     Memory: 223.3M
     CGroup: /system.slice/torrserver.service
             └─13943 /opt/torrserver/TorrServer-linux-amd64 --port 53777 --logpath /opt/torrserver/torrserver.log --path /opt/torrserver --httpauth

Jan 04 11:04:24 v19.vd.ru TorrServer-linux-amd64[13943]: [2024-01-04 11:04:24 +0300 NIL] error adding connection: don't want conns [github.com/anacrolix/torrent client.go:867]
Jan 04 11:05:23 v19.vd.ru systemd-journald[12474]: Suppressed 451 messages from torrserver.service
Jan 04 11:05:23 v19.vd.ru TorrServer-linux-amd64[13943]: [2024-01-04 11:05:23 +0300 NIL] error adding connection: don't want conns [github.com/anacrolix/torrent client.go:867]
Jan 04 11:05:23 v19.vd.ru TorrServer-linux-amd64[13943]: [2024-01-04 11:05:23 +0300 NIL] error adding connection: don't want conns [github.com/anacrolix/torrent client.go:867]
Jan 04 11:06:23 v19.vd.ru systemd-journald[12474]: Suppressed 460 messages from torrserver.service
Jan 04 11:06:23 v19.vd.ru TorrServer-linux-amd64[13943]: [2024-01-04 11:06:23 +0300 NIL] error adding connection: don't want conns [github.com/anacrolix/torrent client.go:867]
Jan 04 11:06:23 v19.vd.ru TorrServer-linux-amd64[13943]: [2024-01-04 11:06:23 +0300 NIL] error adding connection: don't want conns [github.com/anacrolix/torrent client.go:867]
Jan 04 11:07:23 v19.vd.ru systemd-journald[12474]: Suppressed 467 messages from torrserver.service
Jan 04 11:07:23 v19.vd.ru TorrServer-linux-amd64[13943]: [2024-01-04 11:07:23 +0300 NIL] error adding connection: don't want conns [github.com/anacrolix/torrent client.go:867]
Jan 04 11:07:23 v19.vd.ru TorrServer-linux-amd64[13943]: [2024-01-04 11:07:23 +0300 NIL] error adding connection: don't want conns [github.com/anacrolix/torrent client.go:867]
tsynik commented 5 months ago

Исправлено в мастере in 098eabcb

чт, 4 янв. 2024 г., 11:12 infoman2001 @.***>:

через curl установлена последняя версия torrserver (Linux 5.4.0-169-generic #187 https://github.com/YouROK/TorrServer/pull/187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux) При просмотре фильма многократная ошибка в логах - don't want conns [ github.com/anacrolix/torrent client.go:867]. До 500 записей в минуту.

● torrserver.service - TorrServer - stream torrent to http Loaded: loaded (/etc/systemd/system/torrserver.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2024-01-01 21:22:08 MSK; 2 days ago Main PID: 13943 (TorrServer-linu) Tasks: 6 (limit: 1085) Memory: 223.3M CGroup: /system.slice/torrserver.service └─13943 /opt/torrserver/TorrServer-linux-amd64 --port 53777 --logpath /opt/torrserver/torrserver.log --path /opt/torrserver --httpauth

Jan 04 11:04:24 v1936214.hosted-by-vdsina.ru TorrServer-linux-amd64[13943]: [2024-01-04 11:04:24 +0300 NIL] error adding connection: don't want conns [github.com/anacrolix/torrent client.go:867] Jan 04 11:05:23 v1936214.hosted-by-vdsina.ru systemd-journald[12474]: Suppressed 451 messages from torrserver.service Jan 04 11:05:23 v1936214.hosted-by-vdsina.ru TorrServer-linux-amd64[13943]: [2024-01-04 11:05:23 +0300 NIL] error adding connection: don't want conns [github.com/anacrolix/torrent client.go:867] Jan 04 11:05:23 v1936214.hosted-by-vdsina.ru TorrServer-linux-amd64[13943]: [2024-01-04 11:05:23 +0300 NIL] error adding connection: don't want conns [github.com/anacrolix/torrent client.go:867] Jan 04 11:06:23 v1936214.hosted-by-vdsina.ru systemd-journald[12474]: Suppressed 460 messages from torrserver.service Jan 04 11:06:23 v1936214.hosted-by-vdsina.ru TorrServer-linux-amd64[13943]: [2024-01-04 11:06:23 +0300 NIL] error adding connection: don't want conns [github.com/anacrolix/torrent client.go:867] Jan 04 11:06:23 v1936214.hosted-by-vdsina.ru TorrServer-linux-amd64[13943]: [2024-01-04 11:06:23 +0300 NIL] error adding connection: don't want conns [github.com/anacrolix/torrent client.go:867] Jan 04 11:07:23 v1936214.hosted-by-vdsina.ru systemd-journald[12474]: Suppressed 467 messages from torrserver.service Jan 04 11:07:23 v1936214.hosted-by-vdsina.ru TorrServer-linux-amd64[13943]: [2024-01-04 11:07:23 +0300 NIL] error adding connection: don't want conns [github.com/anacrolix/torrent client.go:867] Jan 04 11:07:23 v1936214.hosted-by-vdsina.ru TorrServer-linux-amd64[13943]: [2024-01-04 11:07:23 +0300 NIL] error adding connection: don't want conns [github.com/anacrolix/torrent client.go:867]

— Reply to this email directly, view it on GitHub https://github.com/YouROK/TorrServer/issues/340, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAL2YVRYJP6YPNJO6RMXR4DYMZP67AVCNFSM6AAAAABBMRMNC2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3DKMJZG4YTIMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

tsynik commented 5 months ago

TorrServer-linux-amd64.zip

avengermsoft commented 5 months ago

А исправления для aarch64 где взять?