testdasi Posted June 21, 2016 Share Posted June 21, 2016 Is there any way to find out how much RAM each of my dockers is using? Unlike VM which I assign a fix amount of RAM, I have no idea how much RAM I need to reserve for dockers. So for example, crashplan says officially it requires 1GB per 1TB data. However, I read a review saying it's more like 500MB for 90GB. I have 1.5TB => projecting to about 8GB of RAM. Quote Link to comment
Leifgg Posted June 21, 2016 Share Posted June 21, 2016 I have configured CrashPlan to use max 3 GB and that is enough for my 9 TB Quote Link to comment
testdasi Posted June 21, 2016 Author Share Posted June 21, 2016 I have configured CrashPlan to use max 3 GB and that is enough for my 9 TB How did you configure? And how did you know Crashplan only uses 3GB? Quote Link to comment
Leifgg Posted June 21, 2016 Share Posted June 21, 2016 I have configured CrashPlan to use max 3 GB and that is enough for my 9 TB How did you configure? And how did you know Crashplan only uses 3GB? Check this thread to set max memory usage. http://lime-technology.com/forum/index.php?topic=33864.msg454520#msg454520 Quote Link to comment
testdasi Posted June 21, 2016 Author Share Posted June 21, 2016 Check this thread to set max memory usage. http://lime-technology.com/forum/index.php?topic=33864.msg454520#msg454520 Thanks, I'll check it out tonight. However, it still doesn't let me know how much RAM is actually used by the docker. Quote Link to comment
Leifgg Posted June 21, 2016 Share Posted June 21, 2016 Check this thread to set max memory usage. http://lime-technology.com/forum/index.php?topic=33864.msg454520#msg454520 Thanks, I'll check it out tonight. However, it still doesn't let me know how much RAM is actually used by the docker. Nope, CrashPlan doesn’t let you know how much it uses. The sign when it’s running out of memory is that the backup never get ready and it’s starting all over again, and again... I think that there are other ways to get the resource usage, can check when I get back home… Quote Link to comment
Leifgg Posted June 21, 2016 Share Posted June 21, 2016 Check this thread to set max memory usage. http://lime-technology.com/forum/index.php?topic=33864.msg454520#msg454520 Thanks, I'll check it out tonight. However, it still doesn't let me know how much RAM is actually used by the docker. Nope, CrashPlan doesn’t let you know how much it uses. The sign when it’s running out of memory is that the backup never get ready and it’s starting all over again, and again... I think that there are other ways to get the resource usage, can check when I get back home… You can try the Netdata and cAdvisor Docker containers. These can be used to monitor CPU and RAM usage. I have them installed but haven’t had much time to play with them. Quote Link to comment
Squid Posted June 21, 2016 Share Posted June 21, 2016 Check this thread to set max memory usage. http://lime-technology.com/forum/index.php?topic=33864.msg454520#msg454520 Thanks, I'll check it out tonight. However, it still doesn't let me know how much RAM is actually used by the docker. Nope, CrashPlan doesn’t let you know how much it uses. The sign when it’s running out of memory is that the backup never get ready and it’s starting all over again, and again... I think that there are other ways to get the resource usage, can check when I get back home… You can try the Netdata and cAdvisor Docker containers. These can be used to monitor CPU and RAM usage. I have them installed but haven’t had much time to play with them. Or even CA's resource monitor will tell you how much RAM an app is using. Without setting any memory limitations, any particular docker app has access and can use if it wants all available RAM in the machine (ie: every thing not specifically allocated to a VM) To limit the memory usage of any docker app to a specific size, add this to the extra parameters section of the app: -m 1024m will limit the app to only allow it to use 1G memory (I use this on NZBGet as during an unpacking operation it can and will use every iota of memory available to it, which tends to trash the entries that cache_dirs creates) Quote Link to comment
testdasi Posted June 22, 2016 Author Share Posted June 22, 2016 Or even CA's resource monitor will tell you how much RAM an app is using. Without setting any memory limitations, any particular docker app has access and can use if it wants all available RAM in the machine (ie: every thing not specifically allocated to a VM) To limit the memory usage of any docker app to a specific size, add this to the extra parameters section of the app: -m 1024m will limit the app to only allow it to use 1G memory (I use this on NZBGet as during an unpacking operation it can and will use every iota of memory available to it, which tends to trash the entries that cache_dirs creates) Kudos Squidman! I didn't know CA has resouce monitoring. Quote Link to comment
Squid Posted June 22, 2016 Share Posted June 22, 2016 Or even CA's resource monitor will tell you how much RAM an app is using. Without setting any memory limitations, any particular docker app has access and can use if it wants all available RAM in the machine (ie: every thing not specifically allocated to a VM) To limit the memory usage of any docker app to a specific size, add this to the extra parameters section of the app: -m 1024m will limit the app to only allow it to use 1G memory (I use this on NZBGet as during an unpacking operation it can and will use every iota of memory available to it, which tends to trash the entries that cache_dirs creates) Kudos Squidman! I didn't know CA has resouce monitoring. Two options there. Either click on resource monitor to display all containers (and optionally go to cadvisor) or click the icon of an installed app and it'll show up for that app only. Sent from my LG-D852 using Tapatalk Quote Link to comment
flaggart Posted June 24, 2016 Share Posted June 24, 2016 root@TOWER:~# docker stats openvpn-as Nginx ownCloud Guacamole CONTAINER CPU % MEM USAGE/LIMIT MEM % NET I/O Guacamole 4.89% 545.1 MB/16.73 GB 3.26% 608.2 MB/1.152 GB Nginx 0.04% 42.55 MB/16.73 GB 0.25% 50.43 MB/51.86 MB openvpn-as 0.08% 185.7 MB/16.73 GB 1.11% 0 B/0 B ownCloud 0.02% 112 MB/16.73 GB 0.67% 12.97 MB/41.39 MB 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.