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

HTTP Proxy Cache size

Recently upgraded from astaro 6.xx to 7.21. Hardware P4 2GHZ core duo 250gb hdd, 2 gb ram.

I have been running fine for a while, logged into the console just to see how everything was running and noticed that the proxy cache is at 17M. Let the http proxy run for about a week and its still at 17M. Is this normal? In astaro 6.3x under var/chroot-squid the cache was a few hundered megs. Under 7.21 under var/chroot-http, the cache is only 17M, I guess by design. Was wondering if I am the only one seeing this [:O]


This thread was automatically locked due to age.
Parents
  • How big is the 'storage' partition?

    df -h

    Barry
  • /dev/disk/by-label/storage
                           75G  480M   74G   1% /var/storage

    So no problem for space. Buth du -ch |grep total of /var/chroot-http/var/cache directory still yields 17M[:S]

    Could you check your cache directory and see what the size is?
    Thanks Barry
  • Sorry, I don't use the http proxy on ASL.

    I'm sure someone else could check.

    Barry
  • /dev/disk/by-label/storage
                           75G  480M   74G   1% /var/storage

    So no problem for space. Buth du -ch |grep total of /var/chroot-http/var/cache directory still yields 17M[:S]

    Could you check your cache directory and see what the size is?
    Thanks Barry

    Astaro went to a proprietary proxy with 7.x.  Unfortunately this means we have no way to tweak it.  Astaro has a firm predilection to use ram for caching.  They'll push the machine to swap before they'll shift caching to disk.  I would not htink your cache is going to get much bigger if your traffic patterns stay the way they are.  Also keep in mind much more web traffic is generated on the fly and therefore isn't cachable.

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

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

    PfSense w/Suricata, ntopng, 

    Other addons to follow

  • Hi,

    Astaro went to a proprietary proxy with 7.x.  Unfortunately this means we have no way to tweak it.  Astaro has a firm predilection to use ram for caching.  They'll push the machine to swap before they'll shift caching to disk.  I would not htink your cache is going to get much bigger if your traffic patterns stay the way they are.  Also keep in mind much more web traffic is generated on the fly and therefore isn't cachable.


    The HTTP Proxy doesn't cache web content in RAM - this is all done on disk. The only thing kept in RAM are:

    - Categorization results
    - DNS
    - Cache index
    and various other data structures

    I've never seen an HTTP Proxy (> V7.200) causing the ASG to swap. If you have a box where the proxy eats all memory, send me a login (sschnelle@astaro.com).
    I'm always interested in catching Bugs [:D]

    Cheers,

    Sven.
  • Astaro went to a proprietary proxy with 7.x.  Unfortunately this means we have no way to tweak it.

    Yes, I read about that and find it a little faster than squid for general surfing purposes. By the way I followed your tweaking guide at   https://community.sophos.com/products/unified-threat-management/astaroorg/f/51/t/19784 and had my 6.xx system tweaked fairly nicely. Specially the echo 0 > /proc/sys/vm/swappiness part that I didn't think about using on my own.[:D]

    Thanks sven for the explanation. I knew it had to be in the coding somewhere and glad that it will be fixed in the future. I guess I am old fashioned and like caching stuff even with fatter pipes to the internet at cheap prices.[;)]
Reply
  • Astaro went to a proprietary proxy with 7.x.  Unfortunately this means we have no way to tweak it.

    Yes, I read about that and find it a little faster than squid for general surfing purposes. By the way I followed your tweaking guide at   https://community.sophos.com/products/unified-threat-management/astaroorg/f/51/t/19784 and had my 6.xx system tweaked fairly nicely. Specially the echo 0 > /proc/sys/vm/swappiness part that I didn't think about using on my own.[:D]

    Thanks sven for the explanation. I knew it had to be in the coding somewhere and glad that it will be fixed in the future. I guess I am old fashioned and like caching stuff even with fatter pipes to the internet at cheap prices.[;)]
Children
No Data