-
Notifications
You must be signed in to change notification settings - Fork 6
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
Some videos download as overweight (giant) files that (1) are not appropriate for schools, and (2) crash Calibre-Web with "502 Bad Gateway" #37
Comments
Perhaps not directly related (?) but here are 2 other/additional "502 Bad Gateway" problems also needing to be investigated and understood — on the road to robust international resiliency — in support of teachers/students worldwide living in very challenging environments: 💯
|
This is due to excessive RAM usage. I guess implementing a handler for cases like this would be practical unless we limit big-size downloads pre-checking video formats. |
@EMG70 FYI — @deldesir is working very hard to investigate:
|
All noted. Thanks. |
Let's keep this ticket open as work progresses around: Much better community documentation is emerging below — telling "Grandma Gardeners" (a.k.a. Curricular Content experts) how to take the law into their own hands (installing the videos they truly need) — appropriately compressed to their needs: |
EXAMPLE: The button "Download to IIAB" was used to download 23m44s video https://youtu.be/sqoOzGMqCQU which eventually downloaded into Calibre-Web (about 6min later... depending on the IIAB's Internet bandwidth of course!)
HOWEVER: Clicking either of the 2 blue buttons below [ "WEBM (4.7GB)" or "Watch in Browser - webm" ] at https://box/live/book/222 appears to cause a serious crash of... all of Calibre-Web? (or some core piece of its infra?)
QUESTION: @deldesir what is your technique for bringing NGINX and/or Calibre-Web back to life in these "502 Bad Gateway" situations? (It appears you have a technique to restart some service[s] that does not require a full system reboot?!)
CONTEXT: Just FYI this problem occurred with the latest code (from https://github.com/iiab/calibre-web) installed on a high-powered Ubuntu Server 22.04 VM with 8GB RAM, plenty of disk, and the following kernel...
The text was updated successfully, but these errors were encountered: