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

    Strange Error with pfSctl

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 2 Posters 836 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.
    • fireodoF
      fireodo
      last edited by fireodo

      Hi,

      since maybe 2 weeks (without any change made to pfsense) I get those errors:

      Apr 28 03:05:05 pfsense pfSctl[36882]: could not finish read in a reasonable time. Action of event might not be completed.
      Apr 30 03:05:08 pfsense pfSctl[13129]: could not finish read in a reasonable time. Action of event might not be completed.
      May  1 03:05:08 pfsense pfSctl[75391]: could not finish read in a reasonable time. Action of event might not be completed.
      

      I have no clou what this error means and what it is related too. pfSctl seams to be (according to Gugl) something specific for pfsense and not freebsd ...

      Maybe someone knows more?

      Thanks, fireodo

      Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
      SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
      pfsense 2.8.0 CE
      Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        In 2.6 on that i5?

        That's the only error logged?

        It's probably some pfctl command that's taking too long to respond. Do you have a very large number of rules or states?

        Steve

        fireodoF 1 Reply Last reply Reply Quote 0
        • fireodoF
          fireodo @stephenw10
          last edited by

          @stephenw10 said in Strange Error with pfSctl:

          In 2.6 on that i5?

          Yes

          That's the only error logged?

          Yes, nothing more.

          It's probably some pfctl command that's taking too long to respond. Do you have a very large number of rules or states?

          No, its a home firewall. And pfblocker has also not very much feeds.

          Steve

          fireodo

          Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
          SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
          pfsense 2.8.0 CE
          Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Are you able to trigger those errors?

            If you can you could try to see what the command being run there that's causing it using ps -auxwwd at the CLI.

            Steve

            1 Reply Last reply Reply Quote 0
            • fireodoF
              fireodo
              last edited by fireodo

              @stephenw10 said in Strange Error with pfSctl:

              Are you able to trigger those errors?

              No

              If you can you could try to see what the command being run there that's causing it using ps -auxwwd at the CLI.

              I can see they appear only when de WAN-IP Renew occurs (thats about 03:05 am)

              Edit: Maybe it has to do with the fact that the box has 157 days uptime and memory is at about 90% and SWAP is in use at 4% (just a thought)

              Steve

              fireodo

              Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
              SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
              pfsense 2.8.0 CE
              Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Hmm, well if it's hitting SWAP that will slow everything down significantly.

                Do you have the recommended patches applied?

                fireodoF 2 Replies Last reply Reply Quote 0
                • fireodoF
                  fireodo @stephenw10
                  last edited by

                  @stephenw10 said in Strange Error with pfSctl:

                  Hmm, well if it's hitting SWAP that will slow everything down significantly.

                  You're right - that could be the explanation!

                  Do you have the recommended patches applied?

                  Yes.

                  In the mean time I stopped the machine (I intended anyway to renew the thermal compound at the CPU) and now (as expected) the SWAP is not anymore in use. I keep an eye on that and report.

                  Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                  SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                  pfsense 2.8.0 CE
                  Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                  1 Reply Last reply Reply Quote 1
                  • fireodoF
                    fireodo @stephenw10
                    last edited by

                    @stephenw10 said in Strange Error with pfSctl:

                    Hmm, well if it's hitting SWAP that will slow everything down significantly.

                    Now after a few days the error didnt come back - RAM exhaustion and SWAP usage seams to be the culprit for that error. Hoping that the Memory leak in 2.6.0 is closed in 2.7.0 (Memory leak)

                    Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                    SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                    pfsense 2.8.0 CE
                    Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

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