Today there were some problems with my site: php file uploads weren't handling properly, and none of the passenger-wsgi python scripts were executing. I contacted my webhost, and they said that the server's tmp directory had reached a "disk space shortage" and that they fixed the problem.
The same thing started happening a couple minutes later, to which they replied similarly that the problem is now fixed.
I haven't had a problem since, but I'm quite worried this is going to be an ongoing thing. They sent me:
We unfortunately cannot guarantee that the issue will happen again because a new user may abuse /tmp but we do usually resolve these issues within 10 or 15 minutes of them being detected from our monitoring system.
I'm on shared hosting, so this isn't completely unexpected, but it's still rather unsettling. Is there anything I can do in this case? Is there any way I can at least know when it's going to happen - perhaps checking the used space in tmp along with the total allowed space with PHP?
This isn't the first problem I've had with them, and I've only used them for about 2 weeks now, so I'm considering the 45 money back guarantee and finding another host. I haven't, however, been to find a good php/python host that either supports M2Crypto and other Python modules I use or would allow me to install them myself. Should I stick with them or jump ship and find another web host?
Easy one : if you host allows this, get your PHP scripts to use upload_tmp_dir a custom tmp directory for uploads.
That way, it will depend on up your hosting space only !