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

    SG1100 to 24.11 issues

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    24 Posts 7 Posters 2.6k Views 9 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.
    • M Offline
      marcosm Netgate @michmoor
      last edited by

      @michmoor pkg relies on dynamic libraries provided by the system whereas pkg-static does not. Usually that message indicates the system is running out of memory. There are some situations where 2GB is required for the upgrade to succeed. My suggestion in this case would be to create a BE with everything working, uninstall all packages, update, reinstall packages. then create a new BE.

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

        Yes, looks like it's still exhausting the RAM. How much free RAM is shown before the upgrade starts?

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          michmoor LAYER 8 Rebel Alliance @stephenw10
          last edited by

          @stephenw10
          Im in the process of removing packages.
          How do I check the amount of memory prior to an upgrade?

          Firewall: NetGate,Palo Alto-VM,Juniper SRX
          Routing: Juniper, Arista, Cisco
          Switching: Juniper, Arista, Cisco
          Wireless: Unifi, Aruba IAP
          JNCIP,CCNP Enterprise

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

            The dashboard will give you a rough value. Otherwise check the output of top r in Diag > System Activity.

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              michmoor LAYER 8 Rebel Alliance @stephenw10
              last edited by

              @stephenw10

              No packages installed.

              b0ee9cd7-7c86-424b-a0ca-9d7b53010f50-image.png

              8f41740e-1a91-41aa-bc56-c196f853605a-image.png

              Firewall: NetGate,Palo Alto-VM,Juniper SRX
              Routing: Juniper, Arista, Cisco
              Switching: Juniper, Arista, Cisco
              Wireless: Unifi, Aruba IAP
              JNCIP,CCNP Enterprise

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

                Should be fine from there.

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  michmoor LAYER 8 Rebel Alliance @stephenw10
                  last edited by

                  @stephenw10

                  So close. Prior it kep stalling on the python install. It got pass that and now its failing here.

                  602f1ddc-2ec3-4321-bcbd-799b12960179-image.png

                  cdf6765a-cb08-499d-be65-11ef906843a1-image.png

                  Firewall: NetGate,Palo Alto-VM,Juniper SRX
                  Routing: Juniper, Arista, Cisco
                  Switching: Juniper, Arista, Cisco
                  Wireless: Unifi, Aruba IAP
                  JNCIP,CCNP Enterprise

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

                    Ok, reboot to free up RAM then try upgrading from the CLI without the webgui open.

                    pfSense-upgrade -d

                    That will show you more error output if it fails again.

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      michmoor LAYER 8 Rebel Alliance @stephenw10
                      last edited by

                      @stephenw10 That last error pointed to bsnmpd. I disabled it and ran through the upgrade process.
                      That is successful and the system reboot into 24.11

                      Thanks @stephenw10 and @marcosm for the assist here. Appreciate yah.

                      One last question, help me understand the requirements for the SG1100 regarding packages. When purchasing the unit, I knew it would be limited in usage with heavier packages like Suricata. The thinking is that this location has a 300Mbps line and didn't need much in hardware.
                      I didn't feel that pfblocker or frr were heavy. Is there concern about running extra packages? Is FRR suitable for running on the unit?

                      Firewall: NetGate,Palo Alto-VM,Juniper SRX
                      Routing: Juniper, Arista, Cisco
                      Switching: Juniper, Arista, Cisco
                      Wireless: Unifi, Aruba IAP
                      JNCIP,CCNP Enterprise

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

                        It depends!

                        FRR could use a lot if you tried to load a bgp full routing table for example. Equally pfBlocker can use a lot of RAM if you load all the huge lists. But both will run on an 1100 given some limits.

                        But bsnmpd is interesting. It could have just been the last thing that tried to allocate RAM. 🤔

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          marcosm Netgate @michmoor
                          last edited by

                          @michmoor It ultimately depends on the usage. I run FRR on a lab with all devices at 1GB and haven't had issues with it. I don't think I'd run pfBlockerNG, Suricata/Snort, and FRR all on the same 1GB device, but that's not to say it can't work.

                          M 1 Reply Last reply Reply Quote 0
                          • M Offline
                            michmoor LAYER 8 Rebel Alliance @marcosm
                            last edited by

                            @marcosm
                            FRR its for bgp and only for advertising less than 2 prefixes and receiving 10. Def not meant for edge routing in that way.

                            The unit was also up for over 100 days so could it be possible there was some memory not properly released?

                            In either case, successful upgrade and re-adding the packages is a snap. I will be thinking a bit more carefully about what packages will get installed at a future point.

                            Firewall: NetGate,Palo Alto-VM,Juniper SRX
                            Routing: Juniper, Arista, Cisco
                            Switching: Juniper, Arista, Cisco
                            Wireless: Unifi, Aruba IAP
                            JNCIP,CCNP Enterprise

                            S 1 Reply Last reply Reply Quote 1
                            • S Offline
                              SteveITS Rebel Alliance @michmoor
                              last edited by

                              FWIW, ran into this with a client's 1100 tonight. Got the "137" error and it also logged, "pid 56451 (pkg-static), jid 0, uid 0, was killed: failed to reclaim memory" to get it into this thread.

                              The first time the update page showed the 137 error, the second time it didn't "stop" updating, just hung.

                              System Activity showed this before restart:

                              Mem: 11M Active, 37M Inact, 231M Wired, 520M Free
                              ARC: 57M Total, 25M MFU, 29M MRU, 181K Anon, 357K Header, 2701K Other
                              37M Compressed, 96M Uncompressed, 2.60:1 Ratio

                              after restart, when the upgrade succeeded (from the command line):

                              Mem: 125M Active, 73M Inact, 262M Wired, 472M Free
                              ARC: 82M Total, 25M MFU, 55M MRU, 114K Anon, 554K Header, 2330K Other
                              61M Compressed, 145M Uncompressed, 2.36:1 Ratio

                              Another 1100 with a similar config updated fine from the web GUI.

                              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, and device or disk speed.
                              Upvote 👍 helpful posts!

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

                                Going forward this should be less of an issue. We reduced the memory requirement for pkg by using a different compression.

                                1 Reply Last reply Reply Quote 1
                                • E Offline
                                  elamigosam2
                                  last edited by

                                  For anyone who finds this thread:
                                  I was having the same issue, nothing installed except 2 packages (zabbix agent and zabbix proxy) I disabled the bsnmpd, dpinger, zabbix agent and zabbix proxy services and it was able to finish the upgrade to 24.11 successfully.
                                  I am thinking that the SG1100 was running out of memory when doing the update (not an expert just a user), is there a way to check if there are memory issues on the device?
                                  I removed this router from production because it was causing issues, it would crash and stop responding. Maybe there is a memory test i can run to check for memory problems? or maybe its just too old to handle the new pfsense versions.

                                  Thank you

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    marcosm Netgate
                                    last edited by

                                    Indeed the memory can be an issue especially with larger upgrades. The memory usage during ZFS upgrades has been improved in 25.07 (to be released soon) to address the issue. You can check the system log for signs of processes being killed abruptly. If however you're still using UFS it's more likely to have been some other issue.

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