[squid-users] Missing cache files
garryd at comnet.uz
Sat Dec 17 14:31:02 UTC 2016
On 2016-12-17 18:39, Odhiambo Washington wrote:
>>> Also whether swap.state for that cache_dir is being correctly and
>>> written out to disk on shutdown or restart. Using an outdated
>>> file can also lead to these warnings.
>> The last paragraph explains your issue. The signal 6 (abort) forces
>> Squid worker to terminate immediately (to avoid all required
>> shutdown procedures) and leave core dump. You can find a reason for
>> abort in cache.log.
> Hi Garri,
> So, checking, I don't see swap.state being written to disk and there
> is no core dump either.
swap.state description :
This index file holds
the metadata of objects saved on disk. It is used to rebuild
the cache during startup. Normally this file resides in each
'cache_dir' directory, but you may specify an alternate
You can learn how to get core dump on wiki .
> There is no directive in my squid.conf to suppress the two.
What do you mean?
AIUI, your Squid instance faced unexpected event and initiated abort.
Abort produces core dump which could be useful for developers to
investigate unexpected event. As a side effect of abort, swap.state file
was not updated correctly. The errors you see in cache.log are harmless
and just confirm that swap.state and cache_dir objects are not
synchronized due to abort.
You should concentrate on an event which led to abort. Usually, Squid
inform about unexpected event in cache.log. Find the lines before
'Starting Squid Cache version'.
More information about the squid-users