[squid-users] Is it safe to resize a rock storage file?

duanyao duanyao at ustc.edu
Mon Oct 16 12:26:01 UTC 2017


Hi,

Is it safe to resize a rock storage file as follow (while squid is not 
running)?

1) Increase a rock storage file by increasing the size specified in the 
configuration file;

2) Decrease a rock storage file by decreasing the size specified in the 
configuration file and run `truncate --size <new size> rock_file`;

By "safe" I mean no rubbish data will ever be delivered to clients after 
resizing, while loss of some cached data is OK.


Regards,

Duan, Yao





More information about the squid-users mailing list