[SQU] Logfile Rotation.

From: Palmer J.D.F. <J.D.F.Palmer@dont-contact.us>
Date: Tue, 2 Jan 2001 15:46:52 -0000


I am running 2 caches, My main cache is running squid 2.2 stable 5 on
RedHat 6.0 2.2.17 kernel.

I have just rebuilt my backup cache which is now running squid 2.2 stable 5
with RieserFS and Async-IO (16 threads) on RedHat 6.2 with 2.2.17 kernel.

I have an entry on both machines in the rc.local file which runs squid on
boot up. The problem is that on the rebuilt machine the logfile rotation
command (squid -k rotate) does not work unless I kill the squid processes
and restart squid.
By this I mean I kill the instance of squid that is started up at boot time.
Once I have restarted it manually it works fine, and I don't have to kill it
This command works on the older machine, from boot up.

>From the squid.conf file I see that async-IO requires squid to send
different term signals to the process in order to rotate the files, could
async-IO be part of my problem?

Can anyone shed any light onto this for me, I'd be very grateful.



Jezz Palmer.
Internet Systems Officer.
Library and Information Services
University of Wales, Swansea
Singleton Park
Tel 01792 513260

 -----Original Message-----
From: Marcos Ferreira da Silva [mailto:markin@nanet.com.br]
Sent: 02 January 2001 14:36
To: Martin Brooks; squid-users@ircache.net
Subject: Re: [SQU] ftp and squid

Correct me if I'm wrong.
If I use url_regex, I will lock all with the words mp3.

I want lock only files like <music.mp3>, not sites or other related links.

> See the url_regex option for http access rules.

Marcos Ferreira da Silva
Uberlāndia - MG - Brazil

To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Jan 02 2001 - 08:49:09 MST

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