[squid-users] Could compile squid with --enable-storeio

Sekar Duraisamy sekarit at gmail.com
Mon Sep 17 13:10:09 UTC 2018


Thanks Amos. It works.

On Fri, Sep 7, 2018 at 10:38 PM, Amos Jeffries <squid3 at treenet.co.nz> wrote:
> On 8/09/18 4:13 AM, Sekar Duraisamy wrote:
>> Thanks for your prompt reply.
>>
>> I could see the below message on cache.log even after removed
>> cache_dir  from squid.conf
>>
>> "2018/09/07 02:48:35| Set Current Directory to
>> /opt/squid/squid3527/var/cache/squid"
>>
>> Is this normal or I need to do anything else when i restart the squid?
>
>
> That "cache" in that path is OS terminology from the FHS standard
> (<http://www.pathname.com/fhs/pub/fhs-2.3.html#VARCACHEAPPLICATIONCACHEDATA>).
> Not a Squid cache.
>
> The "/var/cache/squid/" part as a whole is the FHS directory assigned to
> Squid for storing anything that it needs to persist between executions
> and across system reboot. That is all.
>  One of those persistent things does happen to be cache_dir (*if* you
> configure any), but other things also are needed to persist and may be
> placed there.
>
>
> For example; that message above is the Squid process CWD being set as
> the location where Squid will drop core dumps *if* the OS lets cores be
> created.
>
> You can move it elsewhere with the coredump_dir directive in squid.conf,
> but be aware that other locations may not be cleaned up automatically by
> your package installation software if/when your Squid installation is
> uninstalled, upgraded, etc.
>
>
> Amos
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users


More information about the squid-users mailing list