Re: [squid-users] How to install Two Squids on the same FreeBSD box?

From: Joe Cooper <joe@dont-contact.us>
Date: Sat, 01 Jun 2002 17:00:18 -0500

Edgard Haddad wrote:
> Hi Joe,
>
> I need to run identical Squids on the same machine. The machine is a
> Compaq 4 x P3 550 MHZ. Currently one process of Squid is filling up one
> processor while serving arround 150 req/s. Whynot take advantadge of
> that powerfull machine by filling up another processor since the ip
> stack is still 25% used only.
> As I understand from you, I can run another copy of the same binary?
> -I don't need any object cahing (I compiled it with nulldisk option)
> -The same squid.conf can be used
> -I will add another IP address as an alias on the NIC (no need to assign
> another port)
>
> So I assume I have to:
> - copy the squid.conf and assign the copy another ip address and pid
> filename
> - use another squid.sh for starting the same binary another time).
> Anything else I shall do?

Choose different logfiles as well. Make sure all of your second
squid.sh calls to Squid use the second configuration file (including for
things like reconfigures, etc.).

Other than that, nothing comes to mind. I've done this on a couple of
machines with good results.

-- 
Joe Cooper <joe@swelltech.com>
Web caching appliances and support.
http://www.swelltech.com
Received on Sat Jun 01 2002 - 16:01:51 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:23 MST