Search squid archive

Re: reading swap.state file

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

 



On 08/07/2013 12:25 AM, Hussam Al-Tayeb wrote:
> On Tuesday 06 August 2013 14:13:57 Eliezer Croitoru wrote:
> 
>> Dont be afraid to lose couple cached files...
>> Squid recover from it very fast..
>>
>> Eliezer
> 
> not very fast. if i leave it like that, i end up with 50 to 200 files in 
> swap.state every week that are not actually on disk. 
> 
> I wish we had some sort of 'squid fsck' option which checked for such 
> inconsistencies. 
> 
Well you can follow on that in the store.log..
This is why these are there.
You can verify what files are being used as files and not as cache objects.
Then you can make sure that all the files are scheduled for removal in
the right time and place.
it's kind of a simple tool but it needs to be designed properly to make
sure it wont miss calculate that there is indeed a bug in squid or the OS..

if you are up to the task of sketch the pseudo code for this operation
It will be nice to see this kind of logs analysed.

Eliezer





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

  Powered by Linux