trying to play unplayable videos starts long running PHP processe #330
Labels
0. Needs triage
Pending approval or rejection. This issue is pending approval.
bug
Something isn't working
performances
Performances issues and optimisations
Describe the bug
After playing a video fails, there are PHP processes running for a long time.
The processes cause very high IO load. The process ids change permanently.
The duration the processes run, depents on the size of the file and the number failed trys to play a video. Closing browser-tab does not stop running processes.
When only a single file was accessed:
4GB mkv -> 25 seconds @350 MByte/s
8GB mkv -> 50 seconds @350 MByte/s
Disabling files_videoplayer does not change anything. When disabling viewer, files is downloaded instead of playing it.
To Reproduce
Get an unsupported video file.
Try to play it in browser. -> "Fehler beim Laden #filename#"
Check processes on server
Expected behavior
When playing a video fails, this does not cause significant server load.
Server
Archlinux (kernel 5.3.13-arch1-1)
php-fpm 7.3.12
Apache/2.4.41
Nextcloud 17.0.2
Viewer 1.2.0
Desktop (please complete the following information):
Browser log
The text was updated successfully, but these errors were encountered: