• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

[CPANEL TIP] If you run out of space check this route first

purplehead

Chevereto Member
I got an “out of space” error and my site could not be opened.

The error screen said the server had no space left. When I checked in the console using:

Code:
df -h

the main disk still had space, which matched cPanel. But then I checked inode usage with:

Code:
df -ih

This showed the real issue: /tmp was at 100% inode usage. So the server was not out of normal disk space; it had run out of available file entries in the temporary filesystem.

MariaDB/MySQL was trying to create temporary SQL files in /tmp, but /tmp was a small separate/loop-mounted filesystem with too few inodes.

Fix:

I created a new MariaDB temp directory on the main disk:

Code:
mkdir -p /var/lib/mysqltmp
chown mysql:mysql /var/lib/mysqltmp
chmod 750 /var/lib/mysqltmp

This gave it the correct owner and restricted permissions:

Code:
drwxr-x--- 2 mysql mysql ... /var/lib/mysqltmp

Then I edited:

Code:
/etc/my.cnf

and added this under [mysqld]:

Code:
tmpdir=/var/lib/mysqltmp

Then I rebooted the server and checked it worked with:

Code:
mysql -e "SHOW VARIABLES LIKE 'tmpdir';"
df -ih /tmp

It worked! 15 minute panic over! 🙂
 
Back
Top