Gentoo Archives: gentoo-user

From: William Kenworthy <billk@×××××××××.au>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: [gentoo-user] lxc filling /dev
Date: Mon, 17 Feb 2020 00:58:08
Message-Id: f4716b6c-0b57-5f8c-c377-28a3608d8888@iinet.net.au
1 What would cause an lxc instance to leak memory filling /dev?  Of
2 course, when it gets to 100% things ... stop! - but only for that lxc
3 instance.
4
5 The host is an odroid N2 with a gentoo-sources kernel and a gentoo arm
6 (aarch64) userland running 6 gentoo based lxc instances.
7
8 2 ~ # lxc-attach -n mail -- bash -c "df -h"
9 Filesystem                      Size  Used Avail Use% Mounted on
10 /dev/root                       115G   45G   64G  42% /
11 none                            492K  320K  172K  66% /dev
12 mfsmaster.san.localdomain:9421   17T  7.5T  8.9T  46% /usr/portage
13 none                            1.8G     0  1.8G   0% /dev/shm
14 tmpfs                           350M  148K  349M   1% /run
15 cgroup_root                      10M     0   10M   0% /sys/fs/cgroup
16 n2 ~ #
17
18 du and ls -al do not give any clues, the host /dev is normal and all
19 running lxc instances do it, but at different rates
20
21
22 BillK

Replies

Subject Author
Re: [gentoo-user] lxc filling /dev Rich Freeman <rich0@g.o>