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

    Squid 2.x + Dansguardian never ending webpage

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 2 Posters 1.3k 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.
    • G
      grinderfurax
      last edited by

      Hi there !

      After HW crash of my proxy server (ubuntu + squidguard), I builded a vmware server hosting pfsense 2.1, with squid 2.7 + Dansguardian + SARG + ntop.

      I created Pass All rules through FW on each interface (because I have an other FW between LAN and WAN).

      Server seems to be working, because most of time I can access to webpage with proxy parameters inside my browser, with a bit of lag but acceptable.

      But randomly (between 2 and 15 minutes ?), I have a lot of issues, with never ending browser trying to load the pages. I don't have timeout or 404, just browser waiting something…. It looks like a kind of freeze, after some minutes I catch all my pages at the same time...

      We're around 600 computers.
      I tryed to increase number of dansguardian deamons (80/1200 children, 40/320 spare children, 100 prefork children, max age of 10000). It seems to be a bit better, but I'm afraid it's a kind of psychological feeling, and the problem is still here.

      Please help me :p

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        Did you enabled soft updates on pfsense install.

        without it you may have slow disk performance for cache.

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • G
          grinderfurax
          last edited by

          is there a tweak to check it ?

          1 Reply Last reply Reply Quote 0
          • marcellocM
            marcelloc
            last edited by

            @grinderfurax:

            is there a tweak to check it ?

            It's during install.

            Or you can try this by you own risk

            1. Boot server with FreeBSD or pfSense livecd
            2. enable soft-updates using 'tunefs -n enable /dev/xxxx'
            3. run fsck on / partition
            4. reboot and check what you get with cmd mount on console/ssh

            -> /dev/ad0s1a on / (ufs, local, soft-updates)

            Treinamentos de Elite: http://sys-squad.com

            Help a community developer! ;D

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