RE: [squid-users] squid does not generate swap.state file ?

From: Jigar Rasalawala <jrasalawala@dont-contact.us>
Date: Thu, 24 Apr 2003 18:31:23 -0700

1. What does your cache_dir configuration look like?

   cache_dir ufs /var/cache/squid 1979 16 256

2. What are the permissions on the cache directory?

   drwxr-xr-x
   
3. Have you set cache_swap_log in squid.conf? If you have swap.state will
   be generated where instructed by this directive..

   yes, my conf says
   cache_swap_log /var/log/squid/swap.log

4. Does "squid -k parse" say anyting?
   It does not say anything, I mean conf file is correct.

I attached my squid.conf file below for your ref.

Thank you..
Jigar

************** SQUID.CONF *********************

visible_hostname 10.1.1.120
cache_dir ufs /var/cache/squid 1979 16 256
http_port 8080
request_body_max_size 0
ftp_user squid@venturiwireless.com
cache_dns_program /usr/lib/squid/dnsserver
dns_children 20
dns_defnames on
pid_filename /var/run/squid.pid
coredump_dir /var/log/squid
cache_effective_user squid
cache_effective_group squid
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
cache_swap_log /var/log/squid/swap.log
logfile_rotate 5
icp_port 3130
icp_query_timeout 100
log_icp_queries on
extension_methods SEARCH PROPPATCH
acl all src 0.0.0.0/0.0.0.0
acl hierarchy_list src 127.0.0.1
acl localhost src 127.0.0.1 10.1.1.120
acl manager proto cache_object
acl ui_deny_acl url_regex -i cgi-bin
http_access allow localhost
http_access allow hierarchy_list
miss_access allow all
http_access deny all
no_cache deny ui_deny_acl
icp_access allow hierarchy_list
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320

**************** SQUID.CONF *************************

-----Original Message-----
From: Henrik Nordstrom [mailto:hno@squid-cache.org]
Sent: Thursday, April 24, 2003 5:58 PM
To: Jigar Rasalawala; squid-users@squid-cache.org
Subject: Re: [squid-users] squid does not generate swap.state file ?

On Thursday 24 April 2003 21.31, Jigar Rasalawala wrote:
> Hi,
>
> I am running Squid-2.4STABLE4 on RedHat 7.2. When I start my squid,
> It does not generate swap.state file at all

What does your cache_dir configuration look like?

What are the permissions on the cache directory?

Have you set cache_swap_log in squid.conf? If you have swap.state will
be generated where instructed by this directive..

> What is wrong with configuration file ?

Does "squid -k parse" say anyting?

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Thu Apr 24 2003 - 19:32:11 MDT

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