httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dragon <dra...@crimson-dragon.com>
Subject Re: [users@httpd] mod_gzip
Date Tue, 01 May 2007 19:19:27 GMT
Grant Peel wrote:
>Hi all,
>
>I have added mod_gzip to my apache config a few weeks back.
>
>Yesterday, the server pretty much locked up due to no disk space 
>left on the root filesystem.
>
>It appears that with mod_gzip turned on, hundreds of *.wrk files are 
>left in the /tmp dir, eventually filling it up.
>
>Does anyone know of a fix for this?
>
---------------- End original message. ---------------------

I don't know anything about mod_gzip but I do have one suggestion 
that will work.

A brute force approach would be to use a cron job to delete the 
temporary files. A small shell script or Perl script that checks to 
see if the files are older than a certain time and deletes those that 
are would be pretty easy to write.

Having said that, it would be nice if that module cleaned up after 
itself when it is done with a file.

Dragon

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message