casperse Posted October 10, 2021 Author Share Posted October 10, 2021 Sorry @mgutt to bother you once again and opening this older thread again.....But the problem is now only for the "Docker" I am experiencing some very strange Docker problems and I have a hard time finding out what docker is causing this: There is no high usage in the tmp RAM drives: du -h --max-depth=3 /tmp Could this be the reason? Using the cache path for the docker.img? Some docker installed must be causing this just don't know wich one or why? ps aux | awk '{print $6/1024 " MB\t\t" $11}' | sort -n 16.582 MB python 17.3125 MB /usr/sbin/smbd 17.5234 MB /usr/bin/python 19.043 MB /usr/local/emhttp/plugins/controlr/controlr 19.8828 MB /usr/bin/python 24.8672 MB /usr/sbin/libvirtd 25.1602 MB /usr/sbin/smbd 26.8789 MB /usr/bin/php 31.8672 MB docker 32.1836 MB docker 33.1055 MB /usr/lib/plexmediaserver/Plex 33.3242 MB node 36.3906 MB Plex 36.7695 MB Plex 38.0781 MB python 42.3008 MB php-fpm: 44.6875 MB /usr/libexec/Xorg 46.6641 MB php-fpm: 50.2266 MB Plex 50.8242 MB containerd 53.9688 MB php-fpm: 55.1719 MB /usr/sbin/Xvnc 58.2305 MB python3 63.3789 MB /usr/bin/node 65.7617 MB node 77.293 MB python3 77.332 MB photoprism 100.305 MB /usr/bin/dockerd 147.938 MB /app/Jackett/jackett 166.316 MB /usr/lib/plexmediaserver/Plex 184.473 MB /app/radarr/bin/Radarr 189.133 MB /usr/bin/mariadbd 191.445 MB /app/radarr/bin/Radarr 191.871 MB /usr/local/sbin/shfs 193.797 MB /usr/lib/plexmediaserver/Plex 259.641 MB mongod 281.68 MB /usr/bin/node 305.422 MB /opt/ombi/Ombi 321.5 MB /usr/bin/mariadbd 360.402 MB python 382.773 MB python 386.188 MB python 433.527 MB python 484.84 MB /system/EmbyServer 608.957 MB python 688.418 MB /app/lidarr/bin/Lidarr 696.168 MB mono 782.914 MB python 1237.76 MB /usr/bin/qemu-system-x86_64 2181.66 MB /usr/bin/qemu-system-x86_64 3288.1 MB /usr/bin/qemu-system-x86_64 4347.03 MB /usr/bin/qemu-system-x86_64 8444.67 MB /usr/bin/qemu-system-x86_64 8507.56 MB /usr/bin/qemu-system-x86_64 Quote Link to comment
casperse Posted October 10, 2021 Author Share Posted October 10, 2021 (edited) docker ps -s I think I found the "Troublemaker" but how can it do this? Already did the: --cpus=2 --memory=3G --log-opt max-size=50m --log-opt max-file=1 --restart unless-stopped --user 99:100 Also stopping the docker dosent help? UPDATE: I deleted the docker and the Docker memory went back to normal But shouldnt the parameter: --memory=3G prevent this? How can it still use +17G? Edited October 10, 2021 by casperse Quote Link to comment
mgutt Posted October 11, 2021 Share Posted October 11, 2021 11 hours ago, casperse said: Docker memory This is not related to the RAM. It's the usage size of the docker.img (virtual disk). Next time check inside of the docker.img for huge files. It's mounted at /var/lib/docker Quote Link to comment
casperse Posted October 11, 2021 Author Share Posted October 11, 2021 Stupid me! I thought it was RAM since it is located under RAM usage So something in the docker "leaks" and fills up the virtual disk - and that was why all my dockers was crashing! So maybee there is a way to fix this docker? (The settings was minimal so must be the docker configuration?) Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.