CHBMB Posted December 21, 2015 Share Posted December 21, 2015 cadvisor container will show container sizes and help narrow it down. I test a lot of containers and am not seeing this problem myself although I was suspicious at one point I may have been. Succumb to marketing you have Marketing? What google? It works and it's extremely lightweight, what's not to like.... [emoji6] Quote Link to comment
Squid Posted December 21, 2015 Share Posted December 21, 2015 Suspicious at one point I may have been Quote Link to comment
CHBMB Posted December 21, 2015 Share Posted December 21, 2015 Suspicious at one point I may have been I do keep posting the same advice in this thread to be fair.... Quote Link to comment
Squid Posted December 21, 2015 Share Posted December 21, 2015 Suspicious at one point I may have been I do keep posting the same advice in this thread to be fair.... It was a dumb joke that may have been only funny to myself. Don't worry about it Quote Link to comment
JonathanM Posted December 21, 2015 Share Posted December 21, 2015 Suspicious at one point I may have been I do keep posting the same advice in this thread to be fair.... It was a dumb joke that may have been only funny to myself. Don't worry about it ;D (Don't worry Squid, it was funny) (I don't think CHBMB has awakened yet) Quote Link to comment
CHBMB Posted December 21, 2015 Share Posted December 21, 2015 Suspicious at one point I may have been I do keep posting the same advice in this thread to be fair.... It was a dumb joke that may have been only funny to myself. Don't worry about it ;D (Don't worry Squid, it was funny) (I don't think CHBMB has awakened yet) Someone please explain.... I get the Yoda thing but after that..... lost. Quote Link to comment
JonathanM Posted December 21, 2015 Share Posted December 21, 2015 Suspicious at one point I may have been I do keep posting the same advice in this thread to be fair.... It was a dumb joke that may have been only funny to myself. Don't worry about it ;D (Don't worry Squid, it was funny) (I don't think CHBMB has awakened yet) Someone please explain.... I get the Yoda thing but after that..... lost. Squid just thought it was funny that conciously or not you posted in yoda voice during all the marketing buzz for force awakens. Nothing deep or hidden that I can see, but maybe I missed it. Quote Link to comment
CHBMB Posted December 21, 2015 Share Posted December 21, 2015 Suspicious at one point I may have been I do keep posting the same advice in this thread to be fair.... It was a dumb joke that may have been only funny to myself. Don't worry about it ;D (Don't worry Squid, it was funny) (I don't think CHBMB has awakened yet) Someone please explain.... I get the Yoda thing but after that..... lost. Squid just thought it was funny that conciously or not you posted in yoda voice during all the marketing buzz for force awakens. Nothing deep or hidden that I can see, but maybe I missed it. Oh I see it myself now! You're right, read my post in a Yoda voice and it does make me sound like a tool! lol [emoji38] Quote Link to comment
Cessquill Posted December 21, 2015 Share Posted December 21, 2015 (Don't worry Squid, it was funny) (I don't think CHBMB has awakened yet) Someone please explain.... I get the Yoda thing but after that..... lost. I'd love to, but nope - no idea. I figured you were both in on something that I wasn't. In seriousness, I looked at cadvisor but found it quite daunting and uninstalled for now. I'll try again at some point. Whilst the filling up of dockers isn't really unRAID's fault (I appreciate that by opening up fenced-off environments to third parties one is no longer completely in control), it would be nice if clearer reporting of docker usage could be available somewhere down the line. It's a concept that is not yet fully mature, and it would appear that diagnostic tools would be valuable. Sure, being sensible and pragmatic is the logical way to go, but progress is down to the unreasonable man! That being said, an old PC had Windows 7 eat up all of my RAM with svchost.exe for 5 days last week (I was waiting to see if it free'd up the memory), so it's not just the new kids playing fast and dirty with resources. Funny how Windows doesn't warn you of low memory when it's the one using it all Quote Link to comment
CHBMB Posted December 21, 2015 Share Posted December 21, 2015 cadvisor is only two pages and requires no setup at all. Go to the webui and click docker containers, scroll down and it lists all your containers and their sizes. Quote Link to comment
bonienl Posted December 21, 2015 Share Posted December 21, 2015 Suspicious at one point I may have been I do keep posting the same advice in this thread to be fair.... It was a dumb joke that may have been only funny to myself. Don't worry about it ;D (Don't worry Squid, it was funny) (I don't think CHBMB has awakened yet) Someone please explain.... I get the Yoda thing but after that..... lost. Squid just thought it was funny that conciously or not you posted in yoda voice during all the marketing buzz for force awakens. Nothing deep or hidden that I can see, but maybe I missed it. Oh I see it myself now! You're right, read my post in a Yoda voice and it does make me sound like a tool! lol [emoji38] “Happens to every guy sometimes this does” Quote Link to comment
jevans04 Posted December 21, 2015 Share Posted December 21, 2015 cadvisor container will show container sizes and help narrow it down. cadvisor was useless in resolving this issue for me. The sizes reported in cadvisor never changed while the docker image continued to fill up. Quote Link to comment
CHBMB Posted December 21, 2015 Share Posted December 21, 2015 cadvisor container will show container sizes and help narrow it down. cadvisor was useless in resolving this issue for me. The sizes reported in cadvisor never changed while the docker image continued to fill up. Really? That's interesting, might have to look into that.... Like I say, I've not been affected by this issue.. Quote Link to comment
JonathanM Posted December 21, 2015 Share Posted December 21, 2015 cadvisor container will show container sizes and help narrow it down. cadvisor was useless in resolving this issue for me. The sizes reported in cadvisor never changed while the docker image continued to fill up. Really? That's interesting, might have to look into that.... Like I say, I've not been affected by this issue.. In theory that should be easy to test. dockexec into the container, and dd if=/dev/urandom of=bigfile.test bs=1M count=100 then check cadvisor for a 100MB bump in that container. Quote Link to comment
kamhighway Posted December 21, 2015 Share Posted December 21, 2015 @CHBMB, I tried using cadvisor to figure out which container was growing. cadvisor always reported all of my containers remaining the same size even as the utilization of docker.img grew by GBs/day. If there is a way to use cadvisor to figure out which container is the problem, please tell us how to use it. Quote Link to comment
CHBMB Posted December 21, 2015 Share Posted December 21, 2015 You read the previous three replies? Quote Link to comment
kamhighway Posted December 21, 2015 Share Posted December 21, 2015 Yes I have read the replies. You made this recommendation in the past and several of us have tried it and reported that it did not help. Since you repeated your recommendation again, I thought maybe there's a way to use cadvisor that I have not figured out so I thought I'd ask you. Quote Link to comment
CHBMB Posted December 21, 2015 Share Posted December 21, 2015 Ah sorry, I don't really monitor this thread. But it has not got my interest piqued. So I'm going to have a look at how best to work out container sizes, now I've seen the reports that cadvisor doesn't work.. Quote Link to comment
CHBMB Posted December 21, 2015 Share Posted December 21, 2015 In theory that should be easy to test. dockexec into the container, and dd if=/dev/urandom of=bigfile.test bs=1M count=100 then check cadvisor for a 100MB bump in that container. Creating a 100mb file in a container does indeed show no increase in docker size using cadvisor, nor with docker images Both of which report the virtual size, rather than the on disk size from what I can tell.... Having a quick look around at what's written there doesn't seem to be an easy way to determine the on disk size... Quote Link to comment
kamhighway Posted December 21, 2015 Share Posted December 21, 2015 @CHBMB TRURL and BRiT have said that we should be posting about this topic in the support forums for the containers causing the problem. I think we would all be happy to do that if we could figure out which containers are causing the problem. BRiT's suggestion that we start with a clean slate and enable one container at a time until we find the problem will not identify the problem containers unless the trigger for the problem occurs during the 12 hour period you are testing the container. Just because a container runs fine for 12 hours does not mean there is no problem. I think the approach you are taking is a better one. If we could isolate which container has ballooned in size we can then take the discussion to the right support thread and focus on figuring out how to properly configure the containers to avoid the problem. Quote Link to comment
trurl Posted December 21, 2015 Share Posted December 21, 2015 How about something along these lines? docker exec PlexMS du -sh --exclude=config --exclude=media Quote Link to comment
binhex Posted December 21, 2015 Share Posted December 21, 2015 I would suggest either using the command line script I posted a dozen or so posts back, or if the growth of the image file is relatively quick then use the classic I.T. trick of divide and conquer, so shutdown half your dockers, if growth continues then you know the problem is with the half you have running, if it doesn't continue then the issue is with the half shutdown, simply keep doing this until you fund the troublesome docker. Quote Link to comment
trurl Posted December 21, 2015 Share Posted December 21, 2015 I would suggest either using the command line script I posted a dozen or so posts back, or if the growth of the image file is relatively quick then use the classic I.T. trick of divide and conquer, so shutdown half your dockers, if growth continues then you know the problem is with the half you have running, if it doesn't continue then the issue is with the half shutdown, simply keep doing this until you fund the troublesome docker. In reply #84? Quote Link to comment
binhex Posted December 21, 2015 Share Posted December 21, 2015 I would suggest either using the command line script I posted a dozen or so posts back, or if the growth of the image file is relatively quick then use the classic I.T. trick of divide and conquer, so shutdown half your dockers, if growth continues then you know the problem is with the half you have running, if it doesn't continue then the issue is with the half shutdown, simply keep doing this until you fund the troublesome docker. In reply #84? Lol yeah that's the one, damn this thread moves quickly :-) Quote Link to comment
JustinAiken Posted January 10, 2016 Share Posted January 10, 2016 - Running all the containers listed in my sig (except for Crashplan) - Get docker disc space warnings - Install cAdvisor, not much help - No prunable images lying around - No files at all in any running container's /tmp dir - No large files found other than the JDK: $ find /var/lib/docker/btrfs -type f -size +50000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }' /var/lib/docker/btrfs/subvolumes/2fc900c39351bb8332117d23522c747aad386dde51e5a84f0c732644a589dc40/usr/lib/jvm/java-8-oracle/jre/lib/amd64/libjfxwebkit.so: 55M /var/lib/docker/btrfs/subvolumes/2fc900c39351bb8332117d23522c747aad386dde51e5a84f0c732644a589dc40/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar: 63M /var/lib/docker/btrfs/subvolumes/76d5ba319f723928c3c589f2ffb858ff9f83e927a4e97a2e98f5ca36e6ac99a9/usr/lib/jvm/java-8-oracle/jre/lib/amd64/libjfxwebkit.so: 55M /var/lib/docker/btrfs/subvolumes/76d5ba319f723928c3c589f2ffb858ff9f83e927a4e97a2e98f5ca36e6ac99a9/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar: 63M /var/lib/docker/btrfs/subvolumes/88392dc0830b3019a7cc463efcc2e672b606ed78b8e634bfaafeef1117eeda28/usr/lib/jvm/java-8-oracle/jre/lib/amd64/libjfxwebkit.so: 55M /var/lib/docker/btrfs/subvolumes/88392dc0830b3019a7cc463efcc2e672b606ed78b8e634bfaafeef1117eeda28/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar: 63M /var/lib/docker/btrfs/subvolumes/3dcabb14efd0ef17360f36536bd95ebb281a5756025a6eff5b8a92bc6f7c25f5-init/usr/lib/jvm/java-8-oracle/jre/lib/amd64/libjfxwebkit.so: 55M /var/lib/docker/btrfs/subvolumes/3dcabb14efd0ef17360f36536bd95ebb281a5756025a6eff5b8a92bc6f7c25f5-init/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar: 63M /var/lib/docker/btrfs/subvolumes/3dcabb14efd0ef17360f36536bd95ebb281a5756025a6eff5b8a92bc6f7c25f5/usr/lib/jvm/java-8-oracle/jre/lib/amd64/libjfxwebkit.so: 55M /var/lib/docker/btrfs/subvolumes/3dcabb14efd0ef17360f36536bd95ebb281a5756025a6eff5b8a92bc6f7c25f5/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar: 63M - Stopped all dockers, scrubbed: scrub status for 68dfcede-36b4-42de-8f9c-50d73af3884a scrub started at Sun Jan 10 15:57:21 2016 and finished after 00:11:24 total bytes scrubbed: 15.56GiB with 0 errors 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.