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

    PKG installer high CPU

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    4 Posts 2 Posters 938 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.
    • L
      lonblu
      last edited by

      I started noticing my Pfsense gateway slowed down, then I have found out the CPU is always 100% because of pkg installer.

      So I backed up the config without packages, reinstalled pfsense and imported old config.
      Still there is an issue in retrieving the list of package, and cpu utilisation is abnormal.

      CPU Activity

      last pid: 48831;  load averages:  2.01,  1.57,  0.83  up 0+00:08:24    20:27:25
      126 processes: 6 running, 98 sleeping, 22 waiting

      Mem: 47M Active, 43M Inact, 224M Wired, 19M Buf, 649M Free
      Swap: 2048M Total, 2048M Free

      PID USERNAME PRI NICE  SIZE    RES STATE  C  TIME    WCPU COMMAND
      46989 root    103    0 45336K  8708K CPU1    1  6:53 100.00% pkg update
      55919 root    103    0 45336K  9348K CPU2    2  6:41  99.27% /usr/sbin/pkg search -R –raw-format json-
        11 root    155 ki31    0K    48K RUN    0  4:30  44.48% [idle{idle: cpu0}]
        11 root    155 ki31    0K    48K RUN    2  3:35  30.96% [idle{idle: cpu2}]
        11 root    155 ki31    0K    48K RUN    1  3:16  28.08% [idle{idle: cpu1}]

      What should I do next?

      1 Reply Last reply Reply Quote 0
      • L
        lonblu
        last edited by

        Updating pfsense-core repository catalogue…

        NOthing happens. I have rebooted several times after waiting much longer that usual

        Where can i find pkg installer logs?
        How can I clean the cache or old package list?

        1 Reply Last reply Reply Quote 0
        • P
          PiBa
          last edited by

          "reinstalled pfsense" sounds the 100% sure way to clean cache..?

          1 Reply Last reply Reply Quote 0
          • L
            lonblu
            last edited by

            DNS issue…
            It s working now...

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