Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

cAdvisor not staring in Community Apps default configuration

Featured Replies

I am attempting to start the cAdvisor container downloaded through the Community Applications monitoring section. I haven't changed any settings for the docker from the default config. I get the following errors in the log:

 

I0403 12:36:51.843171 1 storagedriver.go:50] Caching stats in memory for 2m0s
I0403 12:36:51.843318 1 manager.go:143] cAdvisor running in container: "/docker/94b54043c31aca01be6c1bc9cea0d44c306aedf3e85cc65d00e80a0957834a3c"
W0403 12:36:51.852249 1 manager.go:151] unable to connect to Rkt api service: rkt: cannot tcp Dial rkt api service: dial tcp 127.0.0.1:15441: getsockopt: connection refused
I0403 12:36:51.867089 1 fs.go:117] Filesystem partitions: map[/dev/sdb1:{mountpoint:/rootfs/mnt/cache major:0 minor:28 fsType:btrfs blockSize:0} /dev/loop1:{mountpoint:/rootfs/etc/libvirt major:0 minor:240 fsType:btrfs blockSize:0} /dev/loop0:{mountpoint:/var/lib/docker/btrfs major:0 minor:33 fsType:btrfs blockSize:0} /dev/md1:{mountpoint:/rootfs/mnt/disk1 major:9 minor:1 fsType:xfs blockSize:0} /dev/md2:{mountpoint:/rootfs/mnt/disk2 major:9 minor:2 fsType:xfs blockSize:0} /dev/md3:{mountpoint:/rootfs/mnt/disk3 major:9 minor:3 fsType:xfs blockSize:0} /dev/md4:{mountpoint:/rootfs/mnt/disk4 major:9 minor:4 fsType:xfs blockSize:0} /dev/md5:{mountpoint:/rootfs/mnt/disk5 major:9 minor:5 fsType:xfs blockSize:0}]
I0403 12:36:51.870386 1 info.go:47] Couldn't collect info from any of the files in "/rootfs/etc/machine-id,/var/lib/dbus/machine-id"
I0403 12:36:51.870445 1 manager.go:198] Machine: {NumCores:8 CpuFrequency:3900000 MemoryCapacity:16560410624 MachineID: SystemUUID:259D1280-2980-11E6-BA3C-D05099C162B1 BootID:98c37790-c644-4824-8346-fb14e7be7b3b Filesystems:[{Device:/dev/loop0 Capacity:21474836480 Type:vfs Inodes:0 HasInodes:true} {Device:/dev/md1 Capacity:3998833471488 Type:vfs Inodes:390701824 HasInodes:true} {Device:/dev/md2 Capacity:3998833471488 Type:vfs Inodes:390701824 HasInodes:true} {Device:/dev/md3 Capacity:3999321845760 Type:vfs Inodes:390701824 HasInodes:true} {Device:/dev/md4 Capacity:3998833471488 Type:vfs Inodes:390701824 HasInodes:true} {Device:/dev/md5 Capacity:3998833471488 Type:vfs Inodes:390701824 HasInodes:true} {Device:/dev/sdb1 Capacity:525112680448 Type:vfs Inodes:0 HasInodes:true} {Device:/dev/loop1 Capacity:1073741824 Type:vfs Inodes:0 HasInodes:true}] DiskMap:map[43:0:{Name:nbd0 Major:43 Minor:0 Size:0 Scheduler:none} 9:1:{Name:md1 Major:9 Minor:1 Size:4000786976768 Scheduler:none} 9:5:{Name:md5 Major:9 Minor:5 Size:4000786976768 Scheduler:none} 8:80:{Name:sdf Major:8 Minor:80 Size:4000787030016 Scheduler:noop} 9:2:{Name:md2 Major:9 Minor:2 Size:4000786976768 Scheduler:none} 43:1792:{Name:nbd14 Major:43 Minor:1792 Size:0 Scheduler:none} 43:1152:{Name:nbd9 Major:43 Minor:1152 Size:0 Scheduler:none} 8:32:{Name:sdc Major:8 Minor:32 Size:525112713216 Scheduler:deadline} 8:96:{Name:sdg Major:8 Minor:96 Size:4000787030016 Scheduler:noop} 43:128:{Name:nbd1 Major:43 Minor:128 Size:0 Scheduler:none} 43:256:{Name:nbd2 Major:43 Minor:256 Size:0 Scheduler:none} 8:48:{Name:sdd Major:8 Minor:48 Size:4000787030016 Scheduler:noop} 8:112:{Name:sdh Major:8 Minor:112 Size:4000787030016 Scheduler:noop} 9:4:{Name:md4 Major:9 Minor:4 Size:4000786976768 Scheduler:none} 43:1280:{Name:nbd10 Major:43 Minor:1280 Size:0 Scheduler:none} 43:384:{Name:nbd3 Major:43 Minor:384 Size:0 Scheduler:none} 43:512:{Name:nbd4 Major:43 Minor:512 Size:0 Scheduler:none} 43:896:{Name:nbd7 Major:43 Minor:896 Size:0 Scheduler:none} 43:1408:{Name:nbd11 Major:43 Minor:1408 Size:0 Scheduler:none} 43:1536:{Name:nbd12 Major:43 Minor:1536 Size:0 Scheduler:none} 43:1024:{Name:nbd8 Major:43 Minor:1024 Size:0 Scheduler:none} 8:16:{Name:sdb Major:8 Minor:16 Size:525112713216 Scheduler:deadline} 8:128:{Name:sdi Major:8 Minor:128 Size:4000787030016 Scheduler:noop} 43:1920:{Name:nbd15 Major:43 Minor:1920 Size:0 Scheduler:none} 43:640:{Name:nbd5 Major:43 Minor:640 Size:0 Scheduler:none} 43:768:{Name:nbd6 Major:43 Minor:768 Size:0 Scheduler:none} 8:64:{Name:sde Major:8 Minor:64 Size:4000787030016 Scheduler:noop} 9:3:{Name:md3 Major:9 Minor:3 Size:4000786976768 Scheduler:none} 43:1664:{Name:nbd13 Major:43 Minor:1664 Size:0 Scheduler:none} 8:0:{Name:sda Major:8 Minor:0 Size:15693664256 Scheduler:noop}] NetworkDevices:[{Name:as0t0 MacAddress: Speed:10 Mtu:1500} {Name:as0t1 MacAddress: Speed:10 Mtu:1500} {Name:as0t10 MacAddress: Speed:10 Mtu:1500} {Name:as0t11 MacAddress: Speed:10 Mtu:1500} {Name:as0t12 MacAddress: Speed:10 Mtu:1500} {Name:as0t13 MacAddress: Speed:10 Mtu:1500} {Name:as0t14 MacAddress: Speed:10 Mtu:1500} {Name:as0t15 MacAddress: Speed:10 Mtu:1500} {Name:as0t2 MacAddress: Speed:10 Mtu:1500} {Name:as0t3 MacAddress: Speed:10 Mtu:1500} {Name:as0t4 MacAddress: Speed:10 Mtu:1500} {Name:as0t5 MacAddress: Speed:10 Mtu:1500} {Name:as0t6 MacAddress: Speed:10 Mtu:1500} {Name:as0t7 MacAddress: Speed:10 Mtu:1500} {Name:as0t8 MacAddress: Speed:10 Mtu:1500} {Name:as0t9 MacAddress: Speed:10 Mtu:1500} {Name:br0 MacAddress:d0:50:99:c1:62:b1 Speed:0 Mtu:1500} {Name:eth0 MacAddress:d0:50:99:c1:62:b1 Speed:1000 Mtu:1500} {Name:eth1 MacAddress:d0:50:99:c1:62:b2 Speed:0 Mtu:1500} {Name:gre0 MacAddress:00:00:00:00 Speed:0 Mtu:1476} {Name:gretap0 MacAddress:00:00:00:00:00:00 Speed:0 Mtu:1462} {Name:ip_vti0 MacAddress:00:00:00:00 Speed:0 Mtu:1364} {Name:tunl0 MacAddress:00:00:00:00 Speed:0 Mtu:1480} {Name:virbr0 MacAddress:52:54:00:a9:af:35 Speed:0 Mtu:1500} {Name:virbr0-nic MacAddress:52:54:00:a9:af:35 Speed:0 Mtu:1500}] Topology:[{Id:0 Memory:16560410624 Cores:[{Id:0 Threads:[0 4] Caches:[{Size:32768 Type:Data Level:1} {Size:32768 Type:Instruction Level:1} {Size:262144 Type:Unified Level:2}]} {Id:1 Threads:[1 5] Caches:[{Size:32768 Type:Data Level:1} {Size:32768 Type:Instruction Level:1} {Size:262144 Type:Unified Level:2}]} {Id:2 Threads:[2 6] Caches:[{Size:32768 Type:Data Level:1} {Size:32768 Type:Instruction Level:1} {Size:262144 Type:Unified Level:2}]} {Id:3 Threads:[3 7] Caches:[{Size:32768 Type:Data Level:1} {Size:32768 Type:Instruction Level:1} {Size:262144 Type:Unified Level:2}]}] Caches:[{Size:8388608 Type:Unified Level:3}]}] CloudProvider:Unknown InstanceType:Unknown InstanceID:None}
I0403 12:36:51.870963 1 manager.go:204] Version: {KernelVersion:4.9.10-unRAID ContainerOsVersion:Alpine Linux v3.4 DockerVersion:1.12.6 CadvisorVersion:v0.25.0 CadvisorRevision:17543be}

I0403 12:36:51.882253 1 factory.go:309] Registering Docker factory
W0403 12:36:51.882268 1 manager.go:247] Registration of the rkt container factory failed: unable to communicate with Rkt api service: rkt: cannot tcp Dial rkt api service: dial tcp 127.0.0.1:15441: getsockopt: connection refused

I0403 12:36:51.882271 1 factory.go:54] Registering systemd factory
I0403 12:36:51.889569 1 factory.go:86] Registering Raw factory
I0403 12:36:51.890556 1 manager.go:1106] Started watching for new ooms in manager
W0403 12:36:51.890663 1 manager.go:275] Could not configure a source for OOM detection, disabling OOM events: unable to find any kernel log file available from our set: [/var/log/kern.log /var/log/messages /var/log/syslog]
I0403 12:36:51.890999 1 manager.go:288] Starting recovery of all containers
I0403 12:36:51.936687 1 manager.go:293] Recovery completed
F0403 12:36:51.936702 1 cadvisor.go:151] Failed to start container manager: inotify_add_watch /var/lib/docker/btrfs/subvolumes/955ed28cbda2db4d867294a5ab43737aca06ef0148e4b8922fa3de2d9e740daa/sys/fs/cgroup/blkio: no space left on device

I checked and my docker image is less then the specified max size (20G).

Could someone help me out here?:)

I installed it over the weekend and found I needed to increase "inotify max_user_watches". If you install the app Tips and Tweaks, there is a simple option in there to increase it from the default (If it doesn't state the default, click on the help button. I think it is 524288). The higher the number, the more ram is going to be consumed. My understanding is the default uses roughly 512MB of ram.

  • Author
22 hours ago, DoeBoye said:

I installed it over the weekend and found I needed to increase "inotify max_user_watches". If you install the app Tips and Tweaks, there is a simple option in there to increase it from the default (If it doesn't state the default, click on the help button. I think it is 524288). The higher the number, the more ram is going to be consumed. My understanding is the default uses roughly 512MB of ram.

 What number did you increase it to get it to work?  524288 seems to be on the high end already...

3 hours ago, MrChunky said:

What number did you increase it to get it to work?  524288 seems to be on the high end already...

 

I doubled it, but I have a ridiculous amount of ram in my system :P. I actually searched for a "recommended" value to input, and couldn't find anything. If ram is not quite as plentiful, maybe try adding a 100k at a time until it works....

  • Author
On 4/4/2017 at 7:37 PM, DoeBoye said:

 

I doubled it, but I have a ridiculous amount of ram in my system :P. I actually searched for a "recommended" value to input, and couldn't find anything. If ram is not quite as plentiful, maybe try adding a 100k at a time until it works....

I did 524288x1.5 and everyhting works well now. Thanks for the help!

9 hours ago, MrChunky said:

I did 524288x1.5 and everyhting works well now. Thanks for the help!

 

Glad to hear it! and my pleasure :)!

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.