CentOS: how to fix error Job for nginx.service failed because a configured resource limit was exceeded


CentOS: how to fix error Job for nginx.service failed because a configured resource limit was exceeded

[root@tutorialspots ~]# service nginx start
Redirecting to /bin/systemctl start nginx.service
Job for nginx.service failed because a configured resource limit was exceeded. S
ee "systemctl status nginx.service" and "journalctl -xe" for details.

How to fix it ?

Check devices:

[root@tutorialspots /]# df -h
Filesystem           Size  Used Avail Use% Mounted on
/dev/mapper/vg-root  109G   39G   65G  38% /
devtmpfs             7.6G     0  7.6G   0% /dev
tmpfs                7.7G     0  7.7G   0% /dev/shm
tmpfs                7.7G  8.6M  7.7G   1% /run
tmpfs                7.7G     0  7.7G   0% /sys/fs/cgroup
/dev/sdb1            1.8T   26G  1.7T   2% /mnt/store
/dev/sda2            485M  157M  303M  35% /boot
/dev/mapper/vg-tmp   976M  960M     0 100% /tmp
tmpfs                1.6G     0  1.6G   0% /run/user/0

You see folder /tmp is full, now delete some files in this. Now you can start service nginx.

Leave a Reply