At 23:29 21/05/98 -0600, you wrote:
>Mark Reynolds writes:
>
>>I had a script restart squid so often that it didn't
>>get time to rebuild the cache on startup properly.
>>
>>So now I have 2 gig of cache data which I understand
>>will disappear when I restart squid :-(
>>
>>Is it possible to recreate this file?
>
>You have two choices:
>
>	Kill squid with 'squid -ks'
>	Rotate the logs with 'squid -kr'
>
>Either command will write a new, clean log file.
>
Thanks Duane, you saved me my 2 gig :-)
a 'squid -k rotate' got them back.
I thought one of the -k options might do it, but didn't
want to try them at random.
Could this info please be added to the faq?
I also looked around for info on what each of the command
line options did, with not alot of success.
While many of these are pretty simple, some are a bit cryptic.
Usage: squid [-hsvzCDFRUVY] [-f config-file] [-[au] port] [-k signal]
       -a port   Specify ASCII port number (default: 3128).
       -b        Buffer log output (default is unbuffered).
       -f file   Use given config-file instead of
                 /usr/local/squid/etc/squid.conf
       -h        Print help message.
       -i        Disable IP caching.
       -k reconfigure|rotate|shutdown|interrupt|kill|debug|check
                 Send signal to running copy and exit.
       -s        Enable logging to syslog.
       -u port   Specify ICP port number (default: 3130), disable with 0.
       -v        Print version.
       -z        Zap disk storage -- deletes all objects in disk cache.
       -C        Do not catch fatal signals.
       -D        Disable initial DNS tests.
       -F        Foreground fast store rebuild.
       -R        Do not set REUSEADDR on port.
       -U        Unlink expired objects on reload.
       -V        Virtual host httpd-accelerator.
       -Y        Only return UDP_HIT or UDP_MISS_NOFETCH during fast reload. 
regards,                        +--------------------------+
            Mark Reynolds       |  Phone  08 9474 1211     |
+-------------------------------|  Fax    08 9474 4772     |
|  Reynolds Technology Pty Ltd  |  Pager  08 9480 5884     |
|  8 Preston Street Como 6152   |  http://www.rts.com.au/  |      
|  PO Box 120 Como 6952         |  Mailto:mark@rts.com.au  |
|  Western Australia            +--------------------------+
+----------------------------------+
PS The following message are auto deleted 
 o "It doesn't work, please fix urgently", with no other details.
 o Unsolicited email including jokes, virus warnings, chain letters.
Received on Fri May 22 1998 - 01:24:10 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:40:19 MST