Nginxが起動しなくなりました。nginx.service failed because a configured resource limit was exceeded
# systemctl start nginx.service
Job for nginx.service failed because a configured resource limit was
exceeded. See "systemctl status nginx.service" and "journalctl -xe"
for details.
# systemctl status nginx.service
● nginx.service - nginx - high performance web server Loaded:
loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset:
disabled)
Active: failed (Result: resources) since
# journalctl -xe
-- The result is failed.
-- systemd[1]: Failed to start Cleanup of Temporary Directories.
-- Subject: Unit systemd-tmpfiles-clean.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
# systemctl status systemd-tmpfiles-clean.service
● systemd-tmpfiles-clean.service - Cleanup of Temporary Directories
Loaded: loaded
(/usr/lib/systemd/system/systemd-tmpfiles-clean.service; static;
vendor preset: disabled) Active: failed (Result: start-limit) since
日付; 1 day 2h ago
Docs: man:tmpfiles.d(5)
man:systemd-tmpfiles(8) Process: 12692 ExecStart=/usr/bin/systemd-tmpfiles --clean (code=exited,
status=0/SUCCESS) Main PID: 12692 (code=exited, status=0/SUCCESS)日付 systemd[1]: Starting Cleanup of Temporary Directories...
日付 systemd[1]: Starting Cleanup of Temporary Directories...
# less /usr/lib/systemd/system/systemd-tmpfiles-clean.service
・編集した覚えはないので、多分デフォルトのままだと思います
[Unit] Description=Cleanup of Temporary Directories
Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8)
DefaultDependencies=no Conflicts=shutdown.target
After=systemd-readahead-collect.service
systemd-readahead-replay.service local-fs.target time-sync.target
Before=shutdown.target[Service] Type=oneshot ExecStart=/usr/bin/systemd-tmpfiles --clean
IOSchedulingClass=idle
環境
・Nginx
・CentOS7