Search squid archive

Re: Where are the objects?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Wilson Hernandez - MSD, S. A. wrote:

I have a question regarding the storage of objects: Where is really saved to on disk? Is it in /var/log/squid3/access.log or in: /var/log/squid3/store.log?

Objects are stored in the cache. This has several forms. Most use a directory structure.

The swap.state is a journal of the currently stored objects.

The *.log files are logs of things that have changed.
store.log shows what has been added/removed from the cache, and when.
access.log shows details about who is using the cache and for what.
cache.log show administrative information about problems, and if set debugging information for tracking down problems.

2008/11/20 08:49:53| Ready to serve requests.
2008/11/20 08:50:13| Done scanning /var/log/squid3/cache swaplog (0 entries)
2008/11/20 08:50:13| Finished rebuilding storage from disk.
2008/11/20 08:50:13|         0 Entries scanned
2008/11/20 08:50:13|         0 Invalid entries.
2008/11/20 08:50:13|         0 With invalid flags.
2008/11/20 08:50:13|         0 Objects loaded.
2008/11/20 08:50:13|         0 Objects expired.
2008/11/20 08:50:13|         0 Objects cancelled.
2008/11/20 08:50:13|         0 Duplicate URLs purged.
2008/11/20 08:50:13|         0 Swapfile clashes avoided.
2008/11/20 08:50:13|   Took 19.7 seconds (   0.0 objects/sec).

I take it you mean all the zeros there. They mean one of a few things.

1) no traffic is going through your Squid. nothing to be cached.

2) you are using memory-only cache. nothing gets stored on disk.

3) you have configured "cache deny all". nothing allowed to store

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10
  Current Beta Squid 3.1.0.2

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux