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

    Issue with SG-3100 and 22.01? [Solved]

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    65 Posts 8 Posters 13.0k 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.
    • F
      FSC830
      last edited by

      I did not install the SG-3100 from recovery image yet, just being curious if anything is logged at console.
      I expect the next crash at May 1st or 2nd.
      Up to now the SG crashes every 23/24 days.
      A PC is connected to serial interface.

      But anyhow, I have two more questions: as screenshot shows there is something creeping which decreases memory, any idea how to pinpoint this?

      5f7b65cb-9cda-487a-a928-b73a99b317c0-grafik.png

      Second question: I noticed that when using this view I need to login again to pfSense after x hours (not sure about the exact value).
      When in dashboard view I keep logged in for days!?
      Seems that the duration for session depends to the view, is that correct?

      Regards

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

        Check what processes are using RAM in Diag > System Activity or run top -aSH at the CLI.

        The dashboard has a number of active items on it that update periodically keeping the session open. On static pages the session times out after a while.

        Steve

        luckman212L 1 Reply Last reply Reply Quote 1
        • luckman212L
          luckman212 LAYER 8 @stephenw10
          last edited by

          other commands you can use to show top memory-consuming procs:

          show top 10 memory consumers

          # ps -Am -opid,pmem,pcpu,rss,vsz,args | sort -k4 -rn | awk 'NR == 1 { print "  PID %MEM  %CPU   RSS    VSZ COMMAND" } NR > 1 && NR < 12 { print $0 }'
          

          If you want a continuously updating display

          # while :; do clear; ps -Am -opid,pmem,pcpu,rss,vsz,args | sort -k4 -rn | awk 'NR == 1 { print "  PID %MEM  %CPU   RSS
            VSZ COMMAND" } NR > 1 && NR < 12 { print $0 }'; sleep 1; done
          

          or use top

          # top -o res
          
          1 Reply Last reply Reply Quote 2
          • F FSC830 referenced this topic on
          • F FSC830 referenced this topic on
          • F
            FSC830
            last edited by FSC830

            😠 This morning it happens again...
            From one minute to the other, I was just noticing that accessing a web site was not possible any longer (404 - Not found).
            Ping works to all addresses (i.e. 1.1.1.1, 8.8.8.8 or any other IP).
            But ping to a name will not work, so DNS service was not doing.
            After a few minutes WebGUI from SG-3100 was unreachable too.

            After last issue I connected an old laptop at SG-3100 with serial connection, so I looked up for any console output and ... the laptop was in a deadlock as well!???
            Very strange... need to reboot laptop and after looking up in Putty log I rebootet the SG-3100 by power cycling. There was nothing seen in log, nothing means really nothing since last reboot! Not a single character.
            An existing VPN connection into company network was still working (until reboot of SG).
            No idea what this is. Will use the replacement hardware during the next weekend.

            Regards

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

              Hmm, nothing appeared at the console at all?
              At the very least you should have see webgui logins shown there. If nothing at all was shown it sounds like it was not logging.

              Your description of the issue really 'feels' like a failing drive. That's exactly how it presents. Except that eMMC failures generally don't recover at power cycle.

              If you have an m.2 sata SSD you could try that instead.

              Steve

              1 Reply Last reply Reply Quote 0
              • F
                FSC830
                last edited by

                Hi,

                no M2.SSD yet, but I will get one in the next days.
                And no, me too was surprised, I looked in the last weeks from time to time at serial console, nothing was shown there. Sometimes I just pressed the ENTER key to see, if I am still connected to console, it was, but nothing was recorded since startup.

                Regards

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

                  Hmm, well try just logging into the webgui to check. That should be shown, for example:

                  *** Welcome to Netgate pfSense Plus 22.05-BETA (arm) on 3100 ***
                  
                   WAN (wan)       -> mvneta2    -> v4/DHCP4: 192.168.126.11/24
                   LAN (lan)       -> mvneta1    -> v4: 192.168.18.1/24
                   OPT1 (opt1)     -> mvneta0    -> v4/DHCP4: 192.168.21.10/24
                  
                   0) Logout (SSH only)                  9) pfTop
                   1) Assign Interfaces                 10) Filter Logs
                   2) Set interface(s) IP address       11) Restart webConfigurator
                   3) Reset webConfigurator password    12) PHP shell + Netgate pfSense Plus tools
                   4) Reset to factory defaults         13) Update from console
                   5) Reboot system                     14) Disable Secure Shell (sshd)
                   6) Halt system                       15) Restore recent configuration
                   7) Ping host                         16) Restart PHP-FPM
                   8) Shell
                  
                  Enter an option: 
                  Message from syslogd@3100 at Jun  3 16:43:12 ...
                  php-fpm[656]: /index.php: Successful login for user 'admin' from: 172.21.16.5 (Local Database)
                  
                  

                  Steve

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

                    I have the same problem on my SG-3100 running 22.01. Roughly every 4-5 weeks the device freezes. I can ping the device/gateway address but not traffic goes through the WAN interface. DNS resolver/web GUI etc. does not work or is non-reachable.

                    I have a RasberryPi connected to it via USB-serial console and recording all the output using GNU screen to a text file. Nothing is recorded when this happens. Nothing particular is shown in boot log either. My knowledge of all the log files is however limited, so I might be missing something.

                    I ran S.M.A.R.T. tests on my M.2 SATA drive and no errors are shown. I see the similar memory graph as previous poster.

                    Any ideas or suggestion what to check next would be greatly appreciated.

                    Should I perform a re-install and restore config from backup maybe?
                    Register support ticker to Netgate?

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

                      Does the console still respond when this happens? Can pfSense connect out on any interface?

                      Do you see free ram drop to <10%?

                      Steve

                      P 1 Reply Last reply Reply Quote 0
                      • P
                        pwyde @stephenw10
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          Hmm, and you manually power-cycled it at that point?

                          P 1 Reply Last reply Reply Quote 0
                          • F
                            FSC830
                            last edited by FSC830

                            After it happens again this morning I finally replaced the device with the 2nd SG-3100 (which I didnt in the last weeks).
                            We will see, if it happens with this device too.
                            In the meantime I will start rebuild the replaced device from scratch.

                            Regards

                            Edit: 😞 Help needed: After exchange of the SG-3100 I am flooded with mails :"can't create socket: No buffer space available", I cant find any reason for that.
                            Exchanged the devices again, but also the other device (which stops working this morning) too send thousands(!) of this mails???
                            Whats happened now?
                            There are some threads with "No buffer space available", but they are all relating to ping, traceroute or any other networking command.
                            But I did not find any post with "cant create socket", any ideas?

                            Edit 2: no idea what has happened, but mails now stopped!??? Currently the device which stopped this morning is on duty again. Checked routes, NICs, updated some packages, and mails stopped. Whats a mystery!? 👾

                            F 1 Reply Last reply Reply Quote 0
                            • P
                              pwyde @stephenw10
                              last edited by

                              @stephenw10 Correct. Can't do much else with no response from the device or WAN connection.

                              1 Reply Last reply Reply Quote 0
                              • F
                                FSC830 @FSC830
                                last edited by

                                @fsc830 said in Issue with SG-3100 and 22.01?:

                                Edit 2: no idea what has happened, but mails now stopped!??? Currently the device which stopped this morning is on duty again. Checked routes, NICs, updated some packages, and mails stopped. Whats a mystery!? 👾

                                May be I was mistaken and there was a delay in mail receiving so that mails from device#1 arrived at mail client after device#2 was at work again. So I misinterpreted the mails as from device#2.

                                Anyhow: any idea what is causing this error?

                                Regards

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

                                  @fsc830 said in Issue with SG-3100 and 22.01?:

                                  Anyhow: any idea what is causing this error?

                                  That looks like what you see if the WAN is changed and it's still trying to monitor the old gateway.

                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    FSC830
                                    last edited by

                                    Yes, was my first thought that an interface is not working properly, but how can that be? The device was powered on, so in my understanding there cant be an old gateway?
                                    Will boot up the appliance in an isolated network later and check the settings.
                                    In dashboard the WAN interface was reported as good (no packet loss to monitoring gateway).

                                    Regards

                                    1 Reply Last reply Reply Quote 0
                                    • F
                                      FSC830
                                      last edited by

                                      This morning device updated to 22.05.
                                      We will see, if this "frozen" status will appear again in the next weeks...
                                      Hopefully not. 🕶

                                      Regards

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

                                        Also updated my SG-3100 to 22.05 today. Will find out if issue is resolved in about 3-4 weeks.

                                        1 Reply Last reply Reply Quote 0
                                        • F
                                          FSC830
                                          last edited by

                                          @pwyde You've got a m.2 sata disk, mine is still runnig at eMMC.
                                          Have the m.2 here, but did not found the time to install them.
                                          But if yours with m.2 and mine with eMMC shows the same freezes, my guess is thats not to an unresponsive disk as suspected. We will see, usually within 3, max. 4 weeks the issue occurred since 22.01.

                                          Regards

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

                                            If the storage goes away during runtime you will see a bunch or errors on the console if you're logging that.

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