You are not logged in.

#1 2016-04-23 20:14:06

audiomuze
Member
Registered: 2014-03-31
Posts: 103

systemctl bug?

Following a frwesh install of Arch on a 16GB ext4 formatted flash drive I get this when stopping a service:

# systemctl stop roonserver
Failed to add /run/systemd/ask-password to directory watch: No space left on device

Any idea what's causing it?


Linux user #338966

Offline

#2 2016-04-23 20:47:58

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,868
Website

Re: systemctl bug?

A full /run?

df -h

Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2016-04-23 21:41:46

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: systemctl bug?

If /run is full something is seriously broken as it is a tmpfs and usually (at least here) is always almost empty.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#4 2016-04-25 08:58:11

audiomuze
Member
Registered: 2014-03-31
Posts: 103

Re: systemctl bug?

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
dev             7.8G     0  7.8G   0% /dev
run             7.8G  744K  7.8G   1% /run
/dev/sdj2        14G  2.1G   11G  16% /
tmpfs           7.8G   12K  7.8G   1% /dev/shm
tmpfs           7.8G     0  7.8G   0% /sys/fs/cgroup
tmpfs           7.8G     0  7.8G   0% /var/tmp
tmpfs           7.8G   20K  7.8G   1% /var/log
tmpfs           7.8G     0  7.8G   0% /tmp
/dev/sdi1        56G   26G   31G  46% /mnt/ssd
tmpfs           7.8G  4.0K  7.8G   1% /mnt/ssd/RAATServer/Logs
tmpfs           7.8G   72K  7.8G   1% /mnt/ssd/RoonServer/Logs
/dev/sdg1       2.7T  2.7T   27G 100% /mnt/parity2
/dev/sdf1       2.7T  2.7T   27G 100% /mnt/parity1
tmpfs           7.8G   48M  7.8G   1% /mnt/ssd/RoonServer/Temp
/dev/sdj1       511M   26M  486M   6% /boot
/dev/sde        2.8T  165G  2.6T   6% /mnt/btrfs5
/dev/sdc        2.8T  2.2T  551G  81% /srv/btrfs3
/dev/sdd        2.8T  2.0T  751G  74% /srv/btrfs4
/dev/sdb        2.8T  2.7T   82G  98% /srv/btrfs2
/dev/sda        2.8T  2.7T  113G  96% /srv/btrfs1
tmpfs           1.6G     0  1.6G   0% /run/user/1000

I've defined a few locations as tmpfs in /etc/fstab (booting from a USB flash drive and want to minimise unnecessary writes to it):

tmpfs      /var/log			tmpfs     defaults            	0    0                 
tmpfs      /var/tmp			tmpfs     defaults            	0    0
tmpfs      /tmp				tmpfs     defaults            	0    0
tmpfs      /mnt/ssd/RAATServer/Logs	tmpfs     defaults              0    0
tmpfs      /mnt/ssd/RoonServer/Logs	tmpfs     defaults              0    0
tmpfs      /mnt/ssd/RoonServer/Temp	tmpfs     defaults              0    0

Googling:

Failed to add /run/systemd/ask-password to directory watch: No space left on device

shows many hits mentioning systemctl bug?

Last edited by audiomuze (2016-04-25 09:03:24)


Linux user #338966

Offline

#5 2016-04-25 12:39:56

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: systemctl bug?

If you really think its a systemctl bug go ahead and do a proper bug report. Otherwise, there is the following (using your google search query exactly): http://serverfault.com/questions/663824 … -available and similar ones on serverfalt. There is also this one http://askubuntu.com/questions/154255/h … fy-watches which relates to inotify watches; a likely solution imo. Please don't take offence to this, but it might help to actually try and do something with your google searches, instead of telling us that you searched it. smile

Last edited by JohnBobSmith (2016-04-25 12:40:38)


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#6 2016-04-25 14:40:14

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: systemctl bug?

audiomuze wrote:

I've defined a few locations as tmpfs in /etc/fstab (booting from a USB flash drive and want to minimise unnecessary writes to it):

For debugging you can try without all the tmpfs mounts and see if the problem goes away, if it does then add one thing at a time until the problem comes back.

On the other hand, I wouldn't worry too much about the extra writes, specially if you are using something like btrfs or f2fs. I'd say you will run out of free space or get bored of slow speeds before the flash drive kicks the bucket.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB