Hi
you could connect the two processes that they query each othher if the data is not in thery cach dir.
Mike

Ben Sagal wrote:

Thank you,

I have now got both running (with differnt cache dirs)

Ben

On 26/09/05, dirk.duenkelmann <[EMAIL PROTECTED]> wrote:
Sorry Ben,

Neil is right: You need different cache directories in the second
configfile, too.

Dirk


-----Original Message-----
From: Neil A. Hillard [mailto:[EMAIL PROTECTED]
Sent: Monday, September 26, 2005 2:05 PM
To: squid-users@squid-cache.org
Subject: Re: AW: [squid-users] Runing 2 squids

Hi,

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.

HTH,


                             Neil.

--
Neil Hillard                    [EMAIL PROTECTED]
Westland Helicopters Ltd.       http://www.whl.co.uk/

Disclaimer: This message does not necessarily reflect the
            views of Westland Helicopters Ltd.


Reply via email to