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

    High CPU usage with RC-4

    Scheduled Pinned Locked Moved Routing and Multi WAN
    5 Posts 4 Posters 2.2k 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.
    • J
      jmischel
      last edited by

      Two weeks ago, I upgraded my pfSense installation from 1.2-RC2 to RC4.  Since then, I've noticed periods of very high CPU usage, and I often (several times per day) see these messages in the log:

      root: Resetting slbd due to high cpu usage: 104%

      This is directly related to installing RC4.  In the graph below, the increased number of processes and the spikes in CPU usage began immediately after I installed RC4.

      pfSense is running on a 2.4 GHz Core 2 Duo, with 4 gigabytes of RAM.  I have a triple WAN setup:  3 10-gigabyte lines being load balanced into a single LAN.  Granted, I'm hitting it pretty hard with a web crawler, but I was hitting RC2 just as hard with the same crawler.

      I did, for a brief period, turn the DNS Forwarder on after installing RC4, but that's been off now for a few days, and the CPU usage spikes remain.

      Any idea what's causing this?  Is it something I should be worried about?

      pfsense.jpg
      pfsense.jpg_thumb

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        This is the same slbd problem that's been around from day one, you apparently never hit it until your last upgrade.

        If you install the uniprocessor kernel this will go away. That's the only work around that will be available in 1.2. slbd will be replaced entirely in 1.3 for this reason amongst others.

        1 Reply Last reply Reply Quote 0
        • J
          jmischel
          last edited by

          Is there a HOW TO on switching kernels?  If not, maybe a hint on where to get a little more info?

          I a little hesitant to change things, as it appears to be working.  Even though those CPU spikes are a little bit of a concern.  And I'm really not excited about having to reconfigure everything.  Can I change kernels without having to reconfigure my pfSense settings?

          1 Reply Last reply Reply Quote 0
          • jahonixJ
            jahonix
            last edited by

            You should back up your pfSense settings anyway.
            The resulting config.xml has all the infos you need to re-apply all settings to a fresh install.
            IIRC, it currently doesn't back up certificates and RRD graph data, though.

            1 Reply Last reply Reply Quote 0
            • E
              eri--
              last edited by

              @jmischel:

              Is there a HOW TO on switching kernels?  If not, maybe a hint on where to get a little more info?

              I a little hesitant to change things, as it appears to be working.  Even though those CPU spikes are a little bit of a concern.  And I'm really not excited about having to reconfigure everything.  Can I change kernels without having to reconfigure my pfSense settings?

              Yes you can.

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