Re: Log Rotating Script/Utility

From: Graham Toal <gtoal@dont-contact.us>
Date: Sun, 8 Jun 1997 22:12:10 -0500 (CDT)

> Squid already has built-in log rotate function, but it doesn't
> support compression.

That sparked an oblique thought: in a database project I worked on some
years ago, we retrofitted compression to the data completely transparently
and made a big win in disk space. I can't see any reason why cached files
on a squid server can't be compressed too, and decompressed on the fly as
they're read from disk. This would only apply to compressible files - graphics
probably excepted - but it would be an interesting statistic to know how
much of the data in a squid cache is compressible. Anyone have an inactive
cache image they can compress to see what savings they get?

I guess it would screw up free-space calculations a little. Probably
not totally trivial to add but still worth considering.

Graham
PS I know the 'correct' way to do this is to use a compressing file-system
layer on top of the real filesystem, but most of us don't have that luxury
available.
Received on Sun Jun 08 1997 - 20:17:00 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:29 MST