YunoHost-Apps / peertube_ynh

Federated (ActivityPub) video streaming platform using P2P for YunoHost
https://joinpeertube.org/fr/
GNU Affero General Public License v3.0
87 stars 27 forks source link

After upgrading to 4.1.0 from 4.0.0, performance is heavily degraded #321

Closed TILvids closed 2 years ago

TILvids commented 2 years ago

After upgrading to 4.1.0 from 4.0.0, performance is heavily degraded. The only solution I've been able to find so far is to do a hard-reboot of the server, which appears to bring performance back to normal for a few hours, before it eventually is degraded again. This is exhibited by extraordinarily long load-times for pages to load, which is immediately resolved after rebooting (for a time). It is also making it hard to post links to videos on social media as thumbnails don't get properly pulled (likely due to degraded performance).

fflorent commented 2 years ago

Try to upgrade to version 4.1.1 which fixes performance issues.

https://github.com/Chocobozzz/PeerTube/blob/develop/CHANGELOG.md#v411

Keep us if this works or not.

TILvids commented 2 years ago

Ok, will try that update tonight and report back. Thanks.

TILvids commented 2 years ago

Well, not great. The upgrade failed.

https://paste.yunohost.org/raw/lecorivudu

TILvids commented 2 years ago

Paging @yalh76 since he seems to generally know what happened when things break. :)

TILvids commented 2 years ago

Digging through the output of 'journalctl -eu peertube' makes me think it is similar to this PeerTube issue https://github.com/Chocobozzz/PeerTube/issues/1204

I'm getting a bunch of warnings about "message": "could not create unique index \"actor_url\"" and duplicate keys, which makes me wonder if something is timing out before the service can start back up during installation?

TILvids commented 2 years ago

I'm going to close this issue and start a new one, since this is no longer about performance.