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

    SQUID Making the connection too Slow

    Scheduled Pinned Locked Moved pfSense Packages
    8 Posts 4 Posters 3.7k 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.
    • K Offline
      kavirus
      last edited by

      Hi,

      I have pfsense 1.2.3 with squid, but for some when I browse anything behind the proxy the connection is too slow. I already tried things like change /boot/loader.conf to be like this:

      autoboot_delay="1"
      vm.kmem_size="435544320"
      vm.kmem_size_max="535544320"
      kern.ipc.nmbclusters="32768"
      kern.maxfiles="65536"
      kern.maxfilesperproc="32768"
      net.inet.ip.portrange.last="65535"

      But nothing changes, also I realize in my access.log I'm getting lots of these messages:

      TCP_MISS/200 4051 GET http://i4.ytimg.com/vi/WTWvXj1tNCU/default.jpg

      Any help will be really appreciate

      Thanks

      1 Reply Last reply Reply Quote 0
      • C Offline
        ColdFusion
        last edited by

        Do you have traffic shaping on??…This will limit your speeds depending on what's set in the shaper. Also, in Squid, what is set in cache mgmt for memory, min/max object size?

        1 Reply Last reply Reply Quote 0
        • M Offline
          mhab12
          last edited by

          Try making your loader.conf like this one and see if it helps….
          http://forum.pfsense.org/index.php/topic,14912.msg78792.html#msg78792

          1 Reply Last reply Reply Quote 0
          • J Offline
            jigpe
            last edited by

            @ColdFusion: " Also, in Squid, what is set in cache mgmt for memory, min/max object size?"

            May i know what's the right cache mgt to put there? Specs: 160HD, 2.5GB RAM, users: 25 task: browsing

            1 Reply Last reply Reply Quote 0
            • C Offline
              ColdFusion
              last edited by

              As an example,,,I have memory at 384MB….min object is 0 and max is 307200 and Hard disk cache 20000.

              1 Reply Last reply Reply Quote 0
              • J Offline
                jigpe
                last edited by

                Thank you ColfFusion :)

                Mine: 2.5GBRAM 160GB HD. Users: 25
                min object is 12 and max is 8000 and Hard disk cache 1024.

                Is this okay? :)

                1 Reply Last reply Reply Quote 0
                • C Offline
                  ColdFusion
                  last edited by

                  If it works for you the way you want it..then yes..if you want to cache larger files then increase the max, decreasing the min object size lower than 8 will cache smaller objects as well.

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jigpe
                    last edited by

                    Thanks. Im gonna observe this for 1 week.

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