Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Squid use all memory ram

    Scheduled Pinned Locked Moved Cache/Proxy
    43 Posts 16 Posters 16.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      doktornotor Banned
      last edited by

      If you are seeing this with HTTPS, see http://bugs.squid-cache.org/show_bug.cgi?id=4005

      No fix for 3.5.x. Complain upstream.

      Note: Setting "SSL Certificate Deamon Children" to 1 (or just something lower that the default 5) should help due to the way how dynamic_cert_mem_cache_size is configured by the package, but obviously will cause issues with busy proxies.

      1 Reply Last reply Reply Quote 0
      • B Offline
        beauw
        last edited by

        Okay - remzej's script saved me so much grief.

        I run PFsense with about 1200 clients and the squid memory continually increases over the day until it locks up with no reboot.  Even on the newest versions.

        I adjusted the script to reboot only on memory (65% for me) and it works like a charm.

        Once I got the cron running, it checks every 15 mins.  At the most, the reboot results in 15 seconds downtime for the network which is palatable.

        Thanks again remzej for your contribution….

        1 Reply Last reply Reply Quote 0
        • gersonofstoneG Offline
          gersonofstone
          last edited by

          @beauw:

          Okay - remzej's script saved me so much grief.

          I run PFsense with about 1200 clients and the squid memory continually increases over the day until it locks up with no reboot.  Even on the newest versions.

          I adjusted the script to reboot only on memory (65% for me) and it works like a charm.

          Once I got the cron running, it checks every 15 mins.  At the most, the reboot results in 15 seconds downtime for the network which is palatable.

          Thanks again remzej for your contribution….

          Do You have rule this similar it?

          ![Sin título.png](/public/imported_attachments/1/Sin título.png)
          ![Sin título.png_thumb](/public/imported_attachments/1/Sin título.png_thumb)

          Papu!! :V

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.