This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

changing and optimizing the proxy cache

Hi all,

as i've posted in my other thread i'm using a machine with 320 megs RAM and a 40 Gig Harddisk.

Is it possible to change the size of the cache ?
(I'dont want to use the large disk only for logfiles  [;)] )
What are the best settings for proxy ?
I'm only a 'standard surfer'.

thx Uwe


This thread was automatically locked due to age.
Parents
  • https://community.sophos.com/products/unified-threat-management/astaroorg/f/75/t/64382

    ...half way down shows how to change the size of the proxy cache. It is a fairly simple thing to do, but there is no webmin setting unfortunately  [:)]

    The proxy settings I use are transparent, access log only, with anonymity set to none. I also have surf control off and caching on, though if you choose to enable surf control, caching will be disabled.

    These settings work fine for me and a handful of users behind it, with none of us doing anything particularly strange or complex.
  • i suggest you mean this one:
     [ QUOTE ]
    cache_mem 0 MB
    Default cache_mem 8 MB
    This is how big of an object will be held in the RAM cache. I chop this to zero to make a big dent in squid's memory usage

    maximum_object_size 102400 KB
    Default maximum_object_size 4096 KB
    Objects larger than this size will NOT be saved on disk. The value is specified in kilobytes, and the default is 4 MB
  • My bad, wasn't reading carefully enough [:)]

    Nope unfortunately there is no secret way, its squid.conf editing all the way....
  • Uwe,

    partition size is calculated and set during the installation and is x% of your whole harddrive. There is no way and no need to change it. If you use any content scanner component such as virus filtering caching is turned off anyway.

    read  u
    o|iver
  • What about the max_object_size?
    Any chance, that this will be a feature in v5?
    I saw, that IPCop for example supports this...

    The partition size is ok!
  • you mena in webadmin?  they may..right ow look above i gave instructions on how to modify your squid-default.conf for whatever object size you want..[:)]

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

    Former Sophos SG(Astaro) advocate/researcher/Silver Partner

    PfSense w/Suricata, ntopng, 

    Other addons to follow

Reply Children