Re: AW: [squid-users] Runing 2 squids

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Mon, 26 Sep 2005 15:05:39 +0200

On 26.09 13:04, Neil A. Hillard wrote:
> dirk.duenkelmann wrote:
> >>Is it possible to run two copies of squid concurrently (same executable
> >> + cache etc, just different config files)?
> > Yes, it is:
> >
> > squid -f configfile
>
> To answer your original question - no it's not. You can run multiple
> instances with different configs but you must ensure that pid_filename
> is different for each instance and that they have different cache_dir
> settings. They _cannot_ share a cache_dir.

right, but you could run one as "master" (operates the cache_dir) and another
one as "slave" (zero cache_dir, will use "master" as parent or neighbour).

Buit the question is, why do you want such configuration. Maybe you could
solve something just by proper configuration of one squid server...

I hope I'm not politically incorrect...

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"Two words: Windows survives." - Craig Mundie, Microsoft senior strategist
"So does syphillis. Good thing we have penicillin." - Matthew Alton
Received on Mon Sep 26 2005 - 07:05:42 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Oct 01 2005 - 12:00:04 MDT