taggartsoftware / albumdownload

https://albumdownload.ctaggart.com
Other
2 stars 2 forks source link

Downloading very large album crashes Chrome, system and window manager on Linux #48

Open ninas opened 3 months ago

ninas commented 3 months ago

Hi there, I'm running Arch Linux using Gnome Window Manager. I tried to download an album with 1013 files in it, which crashed Chrome, locked up my system and even killed my window manager. Looking at logs, this was due to the number of open files the extension tried to created: Aug 02 14:16:15 nina dbus-broker-launch[27096]: ERROR sockopt_get_peerpidfd @ ../dbus-broker-36/src/util/sockopt.c +244: Too many open files I upped the open file limit and reran Chrome with debug flags (I've attached that log). ulimit -Sc unlimited; google-chrome-stable --enable-logging --v=1 Again, the system crashed due to too many open files, taking some time for gnome to be able to come back online. I've included the system logs for that period as well. Obviously this is partially a Linux issue (since downloading files shouldn't be able to do this), but it also means I can't use your extension. Is it possible to create a zip file? Or else do downloads in smaller batches. I imagine that suddenly opening 1000s of files is trying for any operating system.

journalctl_output_crash.log chrome_debug_log_ulimit_unlimited.log

yocum137 commented 1 month ago

I am also having this same issue on Fedora 40 with Chrome 128.0.6613.119 (Official Build) (64-bit)