nginx /tmp full
Hi,
Today our server did something strange, but i solved. I make the post for one question and maybe will be helpfull to other user.
Suddenly, the server make a error 500, after that, i restart all services but varnish cache don't restart. When i go to check the varnish configuration, the script says: no space left in /tmp/
I check with df -h and /tmp have around 2GB free (32% of space).
I remove all session* in /tmp and all in /tmp/nginx_client and now all works perfectly, with a 90% empty in /tmp
-
Hello, I think your /tmp disk inode was full and due to that you were getting the error. You can check disk inode through df -i command Also you can setup following cron to cleanup /tmp directory 0 */1 * * * /usr/sbin/tmpwatch -am 1 /tmp/nginx_client0 -
Hello :) Yes, it sounds like the inode usage was at 100%. If this happens again, check with this command: df -i
Thank you.0
Please sign in to leave a comment.
Comments
2 comments