local Cash

Started by Julien, October 28, 2016, 05:51:48 PM

Previous topic - Next topic
Hi Guys,
we are using a firewall A10 with a 100GB SSD storage.
i've enabled the local Cash to use the storage however the local cash is not growing than 2%.
please see the attached screenshots.
i've configured totaal 50GB to be cashed
Number of first-level subdirectories  32
Number of first-level subdirectories 512
Number of first-level subdirectories 10

what i am doing wrong ?
PS : i just restarted the service of the proxy server but nothing has changed.

thank you
DEC4240 – OPNsense Owner

Anyone guys ?
DEC4240 – OPNsense Owner

I have seen you have set up 100M its not 50G. Can you check your configuration again ?
-RackG

Quote from: rackg on November 01, 2016, 03:27:05 AM
I have seen you have set up 100M its not 50G. Can you check your configuration again ?
thank you for answer.
i see i've uploaded the wrong screenshot
please see below its stills shows 2% of disk usage.
DEC4240 – OPNsense Owner

hmm that seems to be an issue to me. I dont have a squid setup to try now.
-RackG

Please run the following and let us know what it outputs:

# grep cache_dir /usr/local/etc/squid/squid.conf


Cheers,
Franco

Quote from: franco on November 02, 2016, 12:59:32 PM
Please run the following and let us know what it outputs:

# grep cache_dir /usr/local/etc/squid/squid.conf


Cheers,
Franco
Hi Franco, this the result

root@firewall:~ # grep cache_dir /usr/local/etc/squid/squid.conf
cache_dir ufs /var/squid/cache 50000 32 512


thank you
DEC4240 – OPNsense Owner

That looks good. Can we somehow exclude the possibility that everything works as expected as there is not enough cached data available yet?

Quote from: franco on November 02, 2016, 07:47:32 PM
That looks good. Can we somehow exclude the possibility that everything works as expected as there is not enough cached data available yet?
Hi Franco,
i am not sure i understand what you mean.
if you mean everything is working as expected, i can't tell as i dont know if the data really cashed or not.
thank you
DEC4240 – OPNsense Owner