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

    Squid Guard blacklist update & Squid Crash

    Scheduled Pinned Locked Moved Cache/Proxy
    1 Posts 1 Posters 736 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.
    • M
      metteus
      last edited by

      Hi,

      I'm running pfsense 2.4.1 on a qotom q355g4: fresh install.

      The squid proxy service crashes every day.

      This is the error i've found, when the crash happen:

      cache.log.6-2017/10/26 03:30:41 kid1| commBind: Cannot bind socket FD 35 to 192.168.1.1:3128: (49) Can't assign requested address

      cache.log.6-FATAL: Unable to open HTTP Socket
      cache.log.6:Squid Cache (Version 3.5.27): Terminated abnormally.
      cache.log.6-CPU Usage: 0.058 seconds = 0.029 user + 0.029 sys
      cache.log.6-Maximum Resident Size: 206400 KB
      cache.log.6-Page faults with physical i/o: 0
      

      Since this happen every day at a specific time, i've check the cron jobs and found at that time the "squidGuard_blacklist_update.sh" script. I've tried to disable it, and then squid began to work fine.
      If i update the blacklist manually using the web gui or launching the script using the command line, everything work.
      Furthermore, if i schedule the script every 2 hours it runs for a while (about 2 or 3 times) and then makes the squid service crash.

      Do you have any idea how to solve this problem?
      Thank you for your help

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