MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length



SMF - Just Installed!

Author Topic: Warning: session_start(): open(/tmp/sess44, O_RDWR) failed: No space left  (Read 4531 times)

0 Members and 1 Guest are viewing this topic.

Offline Dipak Bhoi

  • MilesWeb Team Member
  • Full Member
  • ***
  • Posts: 208
  • Karma: +5/-0
    • View Profile
    • MilesWeb Internet Services
Hi guys,

When accessing the WordPress site showing an error like as bellow :-

Warning: session_start(): open(/tmp/sess_e90cd8d93e27dd54644, O_RDWR) failed: No space left on device (28) in /home/dipak/public_html/wp-content/plugins/dipak-contact-form/dipakcontactform.php on line 10

Website is showing this error due to no space left in your session storage directory. Generally it is /tmp directory. Directory /tmp store the all session files. Then check the disk size of /tmp directory. To check follow the following commands.

[root@server]# df -h

Please check the output of command.

Filesystem            Size    Used  Avail  Use% Mounted on
/dev/sda5                         139G   75G    57G  58%   /
/dev/sda3                         2.0G   1.9G      0  100%   /tmp
/dev/sda1                       190M   18M  163M  10%  /boot
tmpfs                               2.0G     0       2.0G   0%   /dev/shm

In above output it shows that the /tmp partition has been 100% full. To Find and remove the unnecessary files run the below commands.

[root@server]#cd /tmp
[root@server /tmp]#find -type f -exec rm -f {} \;

This command find the unnecessary executable files and deletes them from /tmp directory. Now WordPress site should working fine.

Enjoy !!!

« Last Edit: April 09, 2014, 12:15:44 AM by Dipak Bhoi » - 30-Day Money Back
cPanel Web Hosting - cPanel Hosting in India.
Grab a Free SSL for your website.  WordPress Optimized Solution.

MilesWeb Hosting Forum