Add a config value: Where the obj log files are written

From: Benoit Grange <ben@dont-contact.us>
Date: Mon, 17 Jun 1996 10:24:47 +0200

I have been hit by a "disk full" during cache operation
and ran into problems because:

1) The disk partition was full
2) Squid crashed (I sent the bug report) but this is not related
3) Squid started to build a 'log_clean'

    sprintf(tmp_filename, "%s/log_clean", swappath(0));
    if ((fp = fopen(tmp_filename, "a+")) == NULL) {

   but the partition was full. Squid DID NOT notice it

4) And then squid quietly renamed the *EMPTY* "log_clean" file
   in "log". The cache contents was lost.

So,

1) Please check the writes into the 'log_clean'
2) Can you add a configuration value into squid to specify where the
   object log files should be written.

--
Benoit Grange - OLEANE Network Operations Center
Support technique et operationnel Oleane :  support@oleane.net
Informations commerciales sur Oleane     :  info@oleane.net
Computers run on smoke, when the smoke goes out, computers stop working...
Received on Mon Jun 17 1996 - 01:25:35 MDT

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