Skip to main content

The filesystem “/var/tmp” mounted at “/var/tmp” reached “warn” status because you currently use 82.88% of its available inodes.

Comments

2 comments

  • monkey64
    Just to update... It was PHP writing session files to /tmp which caused the issue. As a workaround, I ran the following to remove sess_* files older than 1 day: find /tmp/systemd-private*php-fpm.service* -name sess_* ! -mtime -1 -exec rm -f '{}' \;
    After that, I changed the session.save_path to the default (/var/cpanel/php/sessions/ea-php74). CPanel have a script to clean user php session (/usr/local/cpanel/scripts/clean_user_php_sessions) which runs periodically via CRON. Now the sessions are stored in the right place, I'm hoping that they should get removed by the script.
    0
  • cPRex Jurassic Moderator
    Hey there! On my personal system I see that PHP 7.4 has this configured as the default: session.save_path = "/var/cpanel/php/sessions/ea-php74" so if that as set to something else, that change was likely made to the server at some point. With the changes you've implemented I would expect the server to work well.
    0

Please sign in to leave a comment.