session_start(): open failed: No space left on device (28)

  • Posted September 15, 2014

I occasionally receive this error on my sites. I’ve checked the /tmp/ folder and it’s not even close to full.

hero@vps [~]# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        30G   16G   13G  57% /
none            504M     0  504M   0% /dev/shm
/usr/tmpDSK     2.0G  587M  1.3G  31% /tmp

At the same time, some other site has the following error: Fatal error: Call to a member function get() on a non-object in /home/memeflor/public_html/index.php on line 105

Sometimes they will just back to normal by itself. But the error will happen again some other times. Does anyone have any advise on this? Thanks.

Hero Wijayadi


I notice that your Apache DocumentRoot is in the user’s home directory /home/memeflor/public_html/ Are you using cPanel by any chance? If so, check to see if you have user quotas enabled.

Submit an 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.

Hi asb, Yes I’m using WHM/CPanel.

If so, check to see if you have user quotas enabled.

Sorry I’m not to clear about this part. I do have packages (which include the disk quota and bandwidth limit) set for each user. And so what does this relate to my problem? Could you please elaborate on this?