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

From: Michal Mihalik <michal.mihalik@dont-contact.us>
Date: Mon, 26 Sep 2005 14:35:41 +0200

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 <dirk.duenkelmann@more-projects.de> wrote:
>
>
>>Sorry Ben,
>>
>>Neil is right: You need different cache directories in the second
>>configfile, too.
>>
>>Dirk
>>
>>
>>
>>
>>>-----Original Message-----
>>>From: Neil A. Hillard [mailto:hillardn@whl.co.uk]
>>>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 hillardn@whl.co.uk
>>>Westland Helicopters Ltd. http://www.whl.co.uk/
>>>
>>>Disclaimer: This message does not necessarily reflect the
>>> views of Westland Helicopters Ltd.
>>>
>>>
>>>
Received on Mon Sep 26 2005 - 06:36:11 MDT

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