DreamHost, mod_gzip and A Full /tmp

Update: This was written in october 2006 and I don’t know if DreamHost still has this problem since I’m no longer a customer.

Sometimes the /tmp directories on DreamHost’s web servers gets filled up. That makes mod_gzip choke and start serving corrupt data. I’ve been in touch with the support and they say that they are aware of the problem but that their current strategy is to clean /tmp manually (WTF!). I ended up disabling mod_gzip with the following in a .htaccess file:

<ifmodule mod_gzip.c>
  mod_gzip_on No
</ifmodule>