By regijorges
Hi, our Wordpress installation is getting this issue and returning this message:
Can’t create/write to file ‘/tmp/#sql_1f98_0.MYI’ (Errcode: 28)
Can someone help with this?
Kind regards
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!
By default the /tmp directory is writable by all and files in this directory are usually deleted on reboot. This error could indicate one of the following:
I would recommend first rebooting your droplet. This should clear most if not all of the contents of /tmp and get rid of any hanging processes. If this does not resolve the issue, make sure the permissions and ownership of /tmp is correct.
It is most probably the system is ran out of inodes. In my case PHP sessions are the issue. Check the inodes by run df -i Solution : rm -rf /var/lib/php/sessions/ mkdir /var/lib/php/sessions/ && chmod 1733 /var/lib/php/sessions/ Another reference: http://www.queryadmin.com/1634/bash-script-delete-php-session-files-free-inodes/
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.