Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3FS and live streaming #3660

Closed
ghost opened this issue Jan 29, 2021 · 1 comment
Closed

S3FS and live streaming #3660

ghost opened this issue Jan 29, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 29, 2021

Describe the current behavior
Lives are unreadable if S3FS is used like described at https://docs.joinpeertube.org/admin-remote-storage
Extreme lag to show any webpage for any client during a live attempt.
CPU used at ~70% (50% system + 20% user).

Steps to reproduce:
Start a live on an instance using S3FS as described at https://docs.joinpeertube.org/admin-remote-storage

Describe the expected behavior
In my nginx conf, I unquoted the line :
client_body_temp_path /var/www/peertube/storage/nginx/;
and expected lives would be temporary saved there (not using any S3 mouted directories).
It seems that storage/streaming-playlists (using S3FS) is used to save these files.
Even when it's a "permanent" live (not saved), it uses streaming-playlists, what I don't find intuitive.
And I noticed there still files in the directory of the video ID. I don't understand why, as it is a "permanent" live and anyway PeerTube don't show any video at it's URL (live currently offline).

Additional information
I just migrated from S3QL to S3FS.
Live transcoding is deactivated.
Before this migration, lives hardly worked with S3QL, where my nginx acted as proxy to S3 bucket. But S3QL drained too much CPU.

Please note that anything else seems to work very well, better than with S3QL.

  • PeerTube instance:

  • Browser name, version and platforms on which you could reproduce the bug: All

  • Link to browser console log if relevant:

  • Link to server log if relevant (journalctl or /var/www/peertube/storage/logs/):

@Chocobozzz
Copy link
Owner

Thanks for the issue, merging in #3661

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant