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

    Squid stop–>flush-->start

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 2 Posters 5.8k 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.
    • ?
      Guest
      last edited by

      Hello,
      we have problems with showing the latest google.com page with clients connected through the transparent proxy. The clients in the list "Bypass proxy for these source IPs" shows the latest google page correctly. It looks like the problem is only google. In "Do not cache" i added google.de/.com… but it don't helps. Try'd different browsers, clear caches of the clients, but it don't helps.

      I would like to try clearing the cache of squid and/or restart squid. BUT how?

      Have any idea?

      Bye
      Andi

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

        You can restart the squid service through the GUI by going to Status/Services.  We have seen this clear up some problems with stale pages before.  The next step would be to delete the disk cache…

        1 Reply Last reply Reply Quote 0
        • ?
          Guest
          last edited by

          thx mhab12,
          found the button yesterday und delete the cache folder, but it don't helps. But today the google doodle is away and other sides works perfect. So i have nothing to test this failure. mmmmmpf

          perhabs something in my config is wrong:

          <menu>
          <name>Proxy server</name>
          <tooltiptext>Modify the proxy server's settings</tooltiptext>
          Services
          <url>/pkg_edit.php?xml=squid.xml&id=0</url>
          </menu>

          <menu>
          <name>Proxy report</name>
          <tooltiptext>Proxy server statistic report</tooltiptext>
          Status
          <url>/pkg_edit.php?xml=lightsquid.xml&id=0</url>
          </menu>

          <menu>
          <name>OpenVPN</name>
          <tooltiptext>Status
          <url>/status_openvpn.php</url></tooltiptext> </menu>

          <squid><config><active_interface>lan</active_interface>
          <allow_interface>on</allow_interface>
          <transparent_proxy>on</transparent_proxy>
          <private_subnet_proxy_off>on</private_subnet_proxy_off>
          <defined_ip_proxy_off>192.168.100.190; 192.168.100.191; 192.168.100.153; 192.168.100.30; 192.168.100.123; 192.168.100.61; 192.168.100.150</defined_ip_proxy_off>
          <log_enabled>on</log_enabled>
          <log_dir>/var/squid/log</log_dir>
          <log_rotate><proxy_port>3128</proxy_port>
          <icp_port><visible_hostname>hostname2</visible_hostname>
          <admin_email><error_language>English</error_language>
          <disable_xforward><disable_via><uri_whitespace>strip</uri_whitespace>
          <dns_nameservers><disable_squidversion></disable_squidversion></dns_nameservers></disable_via></disable_xforward></admin_email></icp_port></log_rotate></config></squid>
          <squidcache><config><harddisk_cache_size>1000</harddisk_cache_size>
          <harddisk_cache_system>ufs</harddisk_cache_system>
          <harddisk_cache_location>/var/squid/cache</harddisk_cache_location>
          <memory_cache_size>100</memory_cache_size>
          <minimum_object_size>128</minimum_object_size>
          <maximum_object_size>20000</maximum_object_size>
          <level1_subdirs>16</level1_subdirs>
          <memory_replacement_policy>lru</memory_replacement_policy>
          <cache_replacement_policy>lru</cache_replacement_policy>
          <cache_swap_low><cache_swap_high><donotcache>d3d3LmhlaXNlLmRlDQp3d3cuc3BpZWdlbjkajjj2jr32A342c3O4TY4NCm4lwbS5tdWMNCmlwbS1pLm11Yw0Kd3dpcG0zNC53MzQNCmlwbXcxMC53MTANCmlwbXcxMC10ZXN0LncxMA0KaXBtdzkudzk=</donotcache>
          <enable_offline></enable_offline></cache_swap_high></cache_swap_low></config></squidcache>
          <lightsquid><config><lightsquid_lang>eng</lightsquid_lang>
          <lightsquid_barcolor>red</lightsquid_barcolor>
          <lightsquid_template>base</lightsquid_template>
          <lightsquid_ip2name>dns</lightsquid_ip2name>
          <lightsquid_refreshsheduler_time>lhp_20m</lightsquid_refreshsheduler_time>
          <lightsquid_squidrotatelog_sheduler_time>lsr_none</lightsquid_squidrotatelog_sheduler_time></config></lightsquid>

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