Report this

What is the reason for this report?

session_start() failed no space left on device (28)

Posted on August 16, 2014

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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I started deleting the session files in /tmp/ folder and now my site shows a DB connection error.  What should I do??

have you try to check your php session log?

ssh to the server

rm -rf /tmp/*

crontab -e

0 0 * * * rm -rf /var/tmp/*

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.