# systemctl status pveproxy.service
● pveproxy.service - PVE API Proxy Server
Loaded: loaded (/lib/systemd/system/pveproxy.service; enabled)
Active: failed (Result: exit-code) since Wed 2017-01-25 02:25:15 BRT; 1 day 8h ago
Main PID: 28975 (code=exited, status=0/SUCCESS)
Jan 25 02:25:15 ns3038228 pveproxy[3331]: start failed - Unable to create new inotify object: Too many open files at /usr/share/perl...ine 389.
Jan 25 02:25:15 ns3038228 pveproxy[3331]: start failed - Unable to create new inotify object: Too many open files at /usr/share/perl...ine 389.
Jan 25 02:25:15 ns3038228 systemd[1]: pveproxy.service: control process exited, code=exited status=255
Jan 25 02:25:15 ns3038228 systemd[1]: Failed to start PVE API Proxy Server.
Jan 25 02:25:15 ns3038228 systemd[1]: Unit pveproxy.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
Did you try to restart the service? Did you do anything on the host at
2017-01-25 02:25:15?
J.
root@alcyone:~# grep --max-count 1 'unable to create new inotify object' /var/log/*
grep: /var/log/apt: Is a directory
grep: /var/log/corosync: Is a directory
grep: /var/log/fsck: Is a directory
grep: /var/log/glusterfs: Is a directory
grep: /var/log/installer: Is a directory
grep: /var/log/lxc: Is a directory
grep: /var/log/pve: Is a directory
grep: /var/log/pveproxy: Is a directory
root@alcyone:~#
root@alcyone:~# find /proc/*/fd/* -type l -lname 'anon_inode:inotify' 2>/dev/nul | wc -l
0
root@alcyone:~#
root@alcyone:~# free
total used free shared buffers cached
Mem: 32844172 32492220 351952 1369444 2184908 20876112
-/+ buffers/cache: 9431200 23412972
Swap: 32765944 600420 32165524
root@alcyone:~#
/etc/cron.daily/logrotate:
Job for pveproxy.service failed. See 'systemctl status pveproxy.service' and 'journalctl -xn' for details.
Job for spiceproxy.service failed. See 'systemctl status spiceproxy.service' and 'journalctl -xn' for details.
error: error running shared postrotate script for '/var/log/pveproxy/access.log '
run-parts: /etc/cron.daily/logrotate exited with return code 1