-
Out Of Memory detected on my server - docker failed > stop,start helped
Actually I am running my daily backup routine using https://forums.unraid.net/topic/97958-rsync-incremental-backup/ at 0300 which might take some time. I am not sure what changed since it was fine running the whole last year, I guess it is related to some dockers file amounts / cache files, which might result in the user scripts heavy RAM load while comparing and creating hard links or userscripts logging. # backup source to destination backup_jobs=( # source # destination "/boot" "/mnt/user/Backups/_Unraid/boot" "/mnt/cache/appdata" "/mnt/user/Backups/_Unraid/appdata" "/mnt/cache/domains" "/mnt/user/Backups/_Unraid/domains" "/mnt/user/D1234" "/mnt/user/Backups/_Unraid/D1234" "/mnt/user/f1234" "/mnt/user/Backups/_Unraid/f1234" ) # keep backups of the last X days keep_days=30 # keep multiple backups of one day for X days keep_days_multiple=1 # keep backups of the last X months keep_months=24 # keep backups of the last X years keep_years=5 # keep the most recent X failed backups keep_fails=3 # rsync options which are used while creating the full and incremental backup rsync_options=( # --dry-run --numeric-ids # do not map uid/gid to user/group name --archive # same as --recursive --links --perms --times --group --owner --devices --specials --human-readable # output numbers in a human-readable format --itemize-changes # output a change-summary for all updates --exclude="[Tt][Ee][Mm][Pp]/*" # exclude dirs with the name "temp" or "Temp" or "TEMP" --exclude="[Tt][Mm][Pp]/*" # exclude dirs with the name "tmp" or "Tmp" or "TMP" --exclude="/mnt/fotos_videos/immich/photos/encoded-video" --exclude="/mnt/fotos_videos/immich/photos/thumbs" --exclude="/mnt/cache/appdata/jellyfin/artist" --exclude="/mnt/cache/appdata/jellyfin/cache" --exclude="/mnt/cache/appdata/photoprism/cache" --exclude="/mnt/cache/appdata/photoprism/sidecar" --exclude="/mnt/cache/appdata/*krusader/home/.local/share/Trash" # --exclude="Cache/*" # exclude dirs with the name "Cache" )
-
Out Of Memory detected on my server - docker failed > stop,start helped
@Michael_P thanks again. I will further monitor, but it seems it occasionally happens every 3 days or so. Besides 32GB RAM I also have the 2x1 TB SSD-Cache Pool. Thinking about adding another 32GB RAM, but when I look at the dashboard, I often see enough free RAM.... ==> Is it somehow possible to send any kind of notification or regularly sending RAM usage by using a cron job or only at a certain trashold ? (running also HomeAssistant with mqtt + nodered....) I might go to limiting RAM Available in the beginning... so in case of excessive RAM usage, I might receive errors or log info within the containers itself instead of failing whole docker process, correct? I read somewhere else that it might be useful to enable a SWAP file. Would you recommend that ? ==> Would it be helpful to make use of SWAP ? by "disk instead of RAM" you mean changing the config in Jellyfin itself? there I have set the cache directorires (i.e. for transcoding) already to a config subfolder which should be on cache (ssd) already. ==> or might there be something else to configure?
-
Out Of Memory detected on my server - docker failed > stop,start helped
Hi @Michael_P , thanks for your feedback. Took me some days because lot's of things going on here :-D as far as I can see there were no passwords or so in the log. It does not help me , but maybe it helps to identify the issue or next steps to investigate. ps -auxf.txt
-
Out Of Memory detected on my server - docker failed > stop,start helped
Hi , I had an out of memory message the second time within a few weeks, so I am posting my diagnostics as suggested by the FixCommonProblems plugin and asking for support. - Before downloading the diagnostics file, I stopped and restarted docker via settings. But I did not rebooted, yet. Honestly private life kept me busy so I was not able to maintain and configure my machine using the same amount of time, like I invested when setting up unraid and configured it the last two years. So any help in finding the (root) cause of that issue is highly appreciated. BR, T cloudii-diagnostics-20250518-2218.zip
-
rsync Incremental Backup
Hi Marc, thanks for the great script. I am still struggling with some of my messy folders from various (backup) locations from my pre-unraid past. However, your script is helping a lot, to maintain simple and accessible backups. Is there an option or a flag to pin or keep a specific backup to ensure it won't be pruned during the cleanup phase? Cheers, c
AfterWorkDYIadmin
Members
-
Joined
-
Last visited