[squid-users] trying multiple squid instances on same machine
Amos Jeffries
squid3 at treenet.co.nz
Mon Nov 21 18:27:37 UTC 2016
On 22/11/2016 6:12 a.m., Heiler Bemerguy wrote:
>
> Is there a way to run rockstore for small files and aufs for bigger ones
> on the same machine?
That is what the min-size and max-size parameters of cache_dir are for.
<http://www.squid-cache.org/Doc/config/cache_dir>
> I think one squid instance wouldn't be optimal even
> with "if process_number" tweaks or something..
Then try it:
<http://wiki.squid-cache.org/MultipleInstances>
>
> Tried to run two squid instances, with cache_peers "linking" them.. but
> the second one can't resolve dns names, I can't figure out why..
>
> For every request it will show this on cache.log:
>
> 2016/11/21 14:01:27.650| 23,3| url.cc(371) urlParse: urlParse: Split URL
> 'http://www.ricardoeletro.com.br/Requisicao/Ajax' into proto='http',
> host='www.ricardoeletro.com.br', port='80', path='/Requisicao/Ajax'
> 2016/11/21 14:01:27.650| 14,3| Address.cc(389) lookupHostIP: Given
> Non-IP 'www.ricardoeletro.com.br': *Name or service not known*
That is *not* an error. It is level-3 debug information. Whatever your
problem was its not that.
Squid is simply testing a URL sub-string to see if it is a raw-IP or a
domain name. No DNS lookup was performed.
FYI: "Name or service not known" is the rather obscure output the OS
produces when a raw-IP test is done.
Amos
More information about the squid-users
mailing list