The pfSense Store

Author Topic: Pkg-Static 100% CPU  (Read 317 times)

0 Members and 1 Guest are viewing this topic.

Offline Soarin

  • Jr. Member
  • **
  • Posts: 74
  • Karma: +7/-0
    • View Profile
Pkg-Static 100% CPU
« on: October 16, 2017, 01:38:51 am »
Hello!

I was wondering, what's pkg-static and why did it max out my pfSense to 100%? It caused me to have 100% packet loss, thankfully nobody was on. I assume it's to update packages, but why did it trigger itself automatically? I haven't touched that pfSense in days.

thanks!
I hardly understand pfSense but it was love at first sight.

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21495
  • Karma: +1458/-26
    • View Profile
Re: Pkg-Static 100% CPU
« Reply #1 on: October 16, 2017, 01:54:19 pm »
What version of pfSense are you running? What hardware?

The package data is updated when you load the dashboard for an update check, if you have the dashboard packages widget installed, if you check for updates under System > Update, or load System > Package Manager.

I have not seen it use 100% CPU for a prolonged period of time, however, and certainly have not seen it cause packet loss.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline Soarin

  • Jr. Member
  • **
  • Posts: 74
  • Karma: +7/-0
    • View Profile
Re: Pkg-Static 100% CPU
« Reply #2 on: October 16, 2017, 07:21:59 pm »
pfSense 2.4 on a singlecore VM from Vultr with 512MB of ram. The CPU was 100% maxed so that's probably why it had 100% packet loss, no free cycles. Just updated pfSense the night before.

I hardly understand pfSense but it was love at first sight.

Offline kaneda

  • Full Member
  • ***
  • Posts: 111
  • Karma: +3/-0
    • View Profile
Re: Pkg-Static 100% CPU
« Reply #3 on: December 12, 2017, 08:56:58 am »
Same problem here, "pkg-static update " eats one core permanently, tried to kill it and rebooting unsucessfull, it resurrect.

95479 root          103    0 13120K  5756K CPU1    1   2:28 100.00% pkg-static update

Machine is running Pfsense 2.3.4 on HP ML110G3 and 4Gb of RAM with Intel NICS


Latest change on system was zabbix agent install


Offline kaneda

  • Full Member
  • ***
  • Posts: 111
  • Karma: +3/-0
    • View Profile
Re: Pkg-Static 100% CPU
« Reply #4 on: December 12, 2017, 09:20:24 am »
tried to uninstall pfSense-pkg-zabbix-agent32 without sucess, it hangs with the message...

Please wait while the update system initializes

And never ends...


Perhaps that could be the problem? How I can remove the package manually?