OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • local Cash
« previous next »
  • Print
Pages: [1]

Author Topic: local Cash  (Read 4729 times)

Julien

  • Hero Member
  • *****
  • Posts: 651
  • Karma: 32
    • View Profile
local Cash
« on: October 28, 2016, 05:51:48 pm »
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
Logged
An intelligent man is sometimes forced to be drunk to spend time with his fool.

Julien

  • Hero Member
  • *****
  • Posts: 651
  • Karma: 32
    • View Profile
Re: local Cash
« Reply #1 on: October 31, 2016, 01:13:45 pm »
Anyone guys ?
Logged
An intelligent man is sometimes forced to be drunk to spend time with his fool.

rackg

  • Jr. Member
  • **
  • Posts: 68
  • Karma: 3
  • Ethical hacker
    • View Profile
Re: local Cash
« Reply #2 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 ?
Logged
-RackG

Julien

  • Hero Member
  • *****
  • Posts: 651
  • Karma: 32
    • View Profile
Re: local Cash
« Reply #3 on: November 01, 2016, 07:26:53 pm »
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.
Logged
An intelligent man is sometimes forced to be drunk to spend time with his fool.

rackg

  • Jr. Member
  • **
  • Posts: 68
  • Karma: 3
  • Ethical hacker
    • View Profile
Re: local Cash
« Reply #4 on: November 02, 2016, 07:17:05 am »
hmm that seems to be an issue to me. I dont have a squid setup to try now.
Logged
-RackG

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13624
  • Karma: 1173
    • View Profile
Re: local Cash
« Reply #5 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
Logged

Julien

  • Hero Member
  • *****
  • Posts: 651
  • Karma: 32
    • View Profile
Re: local Cash
« Reply #6 on: November 02, 2016, 03:53:09 pm »
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
Logged
An intelligent man is sometimes forced to be drunk to spend time with his fool.

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13624
  • Karma: 1173
    • View Profile
Re: local Cash
« Reply #7 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?
Logged

Julien

  • Hero Member
  • *****
  • Posts: 651
  • Karma: 32
    • View Profile
Re: local Cash
« Reply #8 on: November 03, 2016, 12:20:57 am »
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
Logged
An intelligent man is sometimes forced to be drunk to spend time with his fool.

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • local Cash
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2