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: [email protected]
> 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