[squid-users] Re: empty swap directory

From: richard lucassen <mailinglists_at_lucassen.org>
Date: Tue, 22 Oct 2013 21:35:39 +0200

On Tue, 22 Oct 2013 11:43:05 -0600
Alex Rousskov <rousskov_at_measurement-factory.com> wrote:

> > I just upgraded from 2.7 to 3.1.19. It runs fine, but
> > the /var/spool/squid3/ directory is empty. A "squid3 -z" tells it
> > has created the swap directories, but in fact the dir remains empty:
> >
> > # squid3 -z
> > 2013/10/22 19:20:50| Creating Swap Directories
> >
> > # ls -al /var/spool/squid3/
> > total 8
> > drwxr-xr-x 2 proxy proxy 4096 2013-10-20 12:18 .
> > drwxr-xr-x 10 root root 4096 2013-10-22 17:19 ..
> >
> > Did I miss something somewhere? Maybe the answer is somewhere on the
> > net, but the search parameters cause a lot of noise.
>
> Perhaps you do not have any cache_dir directives in your squid.conf?
> Modern Squids do not cache on disk by default...

Ok, that explains quite a lot :)
 
> If my guess is wrong, please post your cache_dir lines and the entire
> squid-z output if possible.

Indeed there are no cache_dir lines in the conf file. I copied the old
squid.conf and with some tweaks the squid3 works like a charm, but the
only thing I was missing is a populated cache directory. And if no such
a directory is needed, I won't create one, I think I don't need it
here (just a few workstations here).

One thing I noticed is that squid3 is much faster than 2.7, although I
read somewhere on the net that 2.7 is slightly faster than squid3.

One other question, I'm certainly not a squid guru: I'd like to use
squid/squidGuard on an internal ipv4 network and provide ipv6 sites to
ipv4-only clients, let's call it an "ipv6-to-ipv4 converter". Is that
possible? Same search problem: the search parameters cause a lot of
noise.

Thnx for your time and answer!

R.

-- 
___________________________________________________________________
It is better to remain silent and be thought a fool, than to speak
aloud and remove all doubt.
+------------------------------------------------------------------+
| Richard Lucassen, Utrecht                                        |
+------------------------------------------------------------------+
Received on Tue Oct 22 2013 - 19:35:47 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 23 2013 - 12:00:06 MDT