<div dir="ltr">Hello,<div><br></div><div>I have a similar configuration: two SMP squids running on the same OEL host.</div><div><br></div><div>They were built with different configurations: with different installation path prefixes and different names of binary files: <font face="monospace">squid </font>and <font face="monospace">squid.user</font> and they listen to different ports.</div><div>They are launched from two different services:<font face="monospace"> squid.service</font> and <font face="monospace">squid.user.service</font> with the service <font face="monospace">Type=forking</font>:</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><font face="monospace">ExecStart=/usr/sbin/squid -sYC</font><div><font face="monospace">ExecStart=/sbin/squid.user  -f /etc/squid.user/squid.conf</font></div></blockquote><div>I have not experienced any troubles with this configuration yet.</div><div><br></div><div><i>> Please be aware that "squid -n ..." is a REQUIREMENT for running</i></div><i>multiple Squid instances on the same machine regardless of what features<br>are used.</i><div><br></div><div>Could you please tell me if I should use the <font face="monospace">-n</font> option in the <font face="monospace">ExecStart </font>strings?</div><div>The arguments of the options should be the service names?</div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font face="monospace">ExecStart=/usr/sbin/squid -sYC -n squid.service</font><div><font face="monospace">ExecStart=/sbin/squid.user -f /etc/squid.user/squid.conf -n squid.user.service</font></div><div><br></div></blockquote><br class="gmail-Apple-interchange-newline"></div><div><br></div><div>Kind regards,</div><div>    Ankor.</div><div><br><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div> </div></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">чт, 6 мар. 2025 г. в 04:07, Amos Jeffries <<a href="mailto:squid3@treenet.co.nz">squid3@treenet.co.nz</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 6/03/25 13:16, Lubos Uhliarik wrote:<br>
> <br>
> In the end, we discovered that a customer was running two Squid <br>
> instances on the same<br>
> machine—one SMP instance with 16 workers and one single-process <br>
...<br>
> <br>
> The fix is simple—just specify a service name using the -n Squid <br>
> parameter for<br>
> one of the Squid instances.<br>
> <br>
<br>
Please be aware that "squid -n ..." is a REQUIREMENT for running <br>
multiple Squid instances on the same machine regardless of what features <br>
are used.<br>
<br>
There are a very large number of possible error signs that may (or not) <br>
be visible if it is omitted.<br>
<br>
<br>
Cheers<br>
Amos<br>
<br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
<a href="https://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">https://lists.squid-cache.org/listinfo/squid-users</a><br>
</blockquote></div>