This morning I found that most of my sites are either blank or having some error message such as this: Warning: session_start(): open(/tmp/sess_8c125544dd7a170503b284e020e59e09, O_RDWR) failed: No space left on device (28) in /home/betaedel/public_html/system/library/session.php on line 11
Trying to googling around the web for answer, and apparently most people say about /tmp is full. But from what I see here, it’s not really full yet Device Size Used Available Percent Used Mount Point /dev/vda1 30G 15G 14G 51% / /usr/tmpDSK 1.2G 341M 795M 31% /tmp
Honestly I’m total newbie for the unix commands. I’m using Cpanel/WHM on CentOS 6.4, hoping that by Cpanel I dont have to deal much with console commands. Any help or info is much appreciated. Regards,
Hero Wijayadi
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I started deleting the session files in /tmp/ folder and now my site shows a DB connection error. What should I do??
ssh to the server
rm -rf /tmp/*
crontab -e
0 0 * * * rm -rf /var/tmp/*
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.