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

    Short hangs happening randomly a few times a day

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 3 Posters 64 Views 3 Watching
    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.
    • X Offline
      Xantra
      last edited by

      Hello,
      I seems to be experiencing short hangs of a few seconds on my pfsense router a couple of times a day happening randomly it seems. All I have figured so far is that a couple of times a day my pfsense router stops working a a little while and it comes back to normal on it's own. By stops working I mean stops answering to ping, does not route packet, opened sockets loose connections...
      How could I confirm that the issue is indeed with the pfsense router ? And if so, how could I figure what the cause is ?

      Thanks

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG Offline
        Gertjan @Xantra
        last edited by

        @Xantra

        On a pfSense with 100 % default settings there is one task that can 'spike' the processor a bit : see here : Status > System Logs > Settings and give the "Log Rotation Options" some thoughts. When the log file (any of them) goes over the preset size (Log Rotation Size (Bytes)) then the current log files are rotated and older ones are zipped to reduce space.
        If you have very big log files, like me : "2097152" or 2 Mbytes, then the zipping will hit the processor a bit harder. For me, I don't care, I've enough cpu power.

        If you want to see all the recurrent tasks : install the pfSense CRON package.

        On the other side : if you install and use "pfBlockerNT, suricata ntopng and darkstat" then I've nothing to say : all goes to plan ^^
        (these apps can create huge log files)

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • X Offline
          Xantra
          last edited by

          I have disabled logging all together a while ago to rule this out, so it isn't log packing related that's for sure.
          I will take a look at the cron jobs system wide, but as the freeze are happening fairly randomly I'm not expecting to find much there, but still one to consider.
          I do have pfblockerng and suricata running, but have carefully set the log limits in each of them, which results in deletion rather than zipping. But maybe I should consider disabling logging for them as well just to rule this out as well.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            SteveITS Galactic Empire @Xantra
            last edited by

            @Xantra I’d watch top to see what it shows while it’s happening.

            System logs? Connection drop? CPU spike?

            Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
            When upgrading, allow 10-15 minutes to reboot, or more depending on packages, CPU, and/or disk speed.
            Upvote 👍 helpful posts!

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