Re: systemd claims /run out of space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Am 13.01.2014 17:54, schrieb Jameson:
> For some reason on my home server, systemd is often telling me I'm out
> of space, but I can't find a problem. Just now, I stopped httpd, and
> when I try to start it, again, systemd says I'm out of space, the
> status reports:  systemd[1]: Failed to set a watch for httpd.service's
> PID file /run/httpd/httpd.pid: No space left on device.

That error message is confusing. The inotify_add_watch() system call
returns ENOSPC. Usually, ENOSPC means "No space left on device", and the
strerror() library call translates it to that. However, in the context
of inotify_add_watch(), it means:

 ENOSPC The user limit on the total number of inotify watches was
reached or the kernel failed to allocate a needed resource.

So, it seems that you allocated many many inotify watches and need to
increase the limit.

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux