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

    Firewall has rebooted without any strange log entry

    Scheduled Pinned Locked Moved Firewalling
    12 Posts 3 Posters 1.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.
    • S
      Sessa45
      last edited by

      Hi Guys!

      I saw in the logs that apparently there was a reboot some time ago. But I could not see in the logs why it was.

      You can see how pfBlockerNG performed its cronjobs. So far so good. And then you can see how all of a sudden it was logged, which kernel is used for booting.

      I can not currently explain why the pfSense is restarted.
      Could someone help me with that :)?

      Thank you very much!

      pfSense reboot.PNG

      fireodoF 1 Reply Last reply Reply Quote 0
      • fireodoF
        fireodo @Sessa45
        last edited by

        @Sessa45

        Try to run a memtest86 - might be a RAM Problem ...

        Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
        SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
        pfsense 2.8.0 CE
        Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

        1 Reply Last reply Reply Quote 0
        • S
          Sessa45
          last edited by

          Thanks for the answer.
          I first checked the memory in the terminal and checked it with the information in the WebGUI.
          There seems to be something not quite round, right?

          The WebGUI shows me a relatively low usage. In the terminal but a very high value.

          Or do I understand the output in the terminal wrong?
          Installed are 4 GB of RAM.

          memory.PNG

          I would like to first test as much as possible without running the memtest, since the pfSense is not available as long as the test is running.

          fireodoF 1 Reply Last reply Reply Quote 0
          • fireodoF
            fireodo @Sessa45
            last edited by fireodo

            @Sessa45 said in Firewall has rebooted without any strange log entry:

            There seems to be something not quite round, right?

            This isnt a real Problem its only that BIOS and operating system reports available memory in different ways.

            I would like to first test as much as possible without running the memtest, since the pfSense is not available as long as the test is running.

            Unfortunately a comprehensive RAM-test without rebooting the machine isnt possible. Maybe you can find a time when the machine is not so much needed ...

            On the other hand that suddently reboot could also be generated by a power spike/failure from the power supply.

            Regards,
            fireodo

            Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
            SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
            pfsense 2.8.0 CE
            Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

            1 Reply Last reply Reply Quote 0
            • S
              Sessa45
              last edited by

              Thank you for your reply.

              I have some (3) APU boards running on it with the pfSense. All 3, however, show me a problem related to the pfBlocker.
              Since apparently the RAM can not be allocated, it could possibly be a fundamental problem with the pfSense.

              There were error(s) loading the rules: /tmp/rules.debug:29: cannot define table pfB_NAmerica_v4: Cannot allocate memory - The line in question reads [29]: table <pfB_NAmerica_v4> persist file "/var/db/aliastables/pfB_NAmerica_v4.txt"
              @ 2019-08-14 11:20:32
              

              Something strange. I currently have no idea why these problems occur.
              Someone an idea? :)

              Regards!

              GertjanG 1 Reply Last reply Reply Quote 0
              • GertjanG
                Gertjan @Sessa45
                last edited by

                @Sessa45 said in Firewall has rebooted without any strange log entry:

                I currently have no idea why these problems occur

                You said it yourself : probably :

                @Sessa45 said in Firewall has rebooted without any strange log entry:

                Cannot allocate memory

                No "help me" PM's please. Use the forum, the community will thank you.
                Edit : and where are the logs ??

                1 Reply Last reply Reply Quote 0
                • S
                  Sessa45
                  last edited by

                  But what does it mean?

                  I have more than enough memory (4 GB) i only use pfBlockerNG.

                  fireodoF 1 Reply Last reply Reply Quote 0
                  • fireodoF
                    fireodo @Sessa45
                    last edited by

                    @Sessa45 said in Firewall has rebooted without any strange log entry:

                    But what does it mean?

                    I have more than enough memory (4 GB) i only use pfBlockerNG.

                    Try to raise in the Advanced Configuration Options the Firewall Maximum Table Entries!

                    Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                    SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                    pfsense 2.8.0 CE
                    Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                    1 Reply Last reply Reply Quote 0
                    • GertjanG
                      Gertjan
                      last edited by

                      Very true.
                      But PHP, when executing the 'PHP' script, doesn't reserve that much memory for the session.it executes.
                      That will be far less.
                      See the php.ini, the "memory_limit"
                      Look at https://your-pfsense.tld/phpinfo.php to see what your php settings are - and you find your value.
                      That's the value that got depleted.

                      No "help me" PM's please. Use the forum, the community will thank you.
                      Edit : and where are the logs ??

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        Sessa45 @Gertjan
                        last edited by

                        @fireodo said in Firewall has rebooted without any strange log entry:

                        Try to raise in the Advanced Configuration Options the Firewall Maximum Table Entries!

                        I can not found such a tunable configuration. Could you please tell me where i can find this option?

                        @Gertjan said in Firewall has rebooted without any strange log entry:

                        Look at https://your-pfsense.tld/phpinfo.php

                        I only received a nginx 404 error :)

                        GertjanG fireodoF 2 Replies Last reply Reply Quote 0
                        • GertjanG
                          Gertjan @Sessa45
                          last edited by

                          @Sessa45 said in Firewall has rebooted without any strange log entry:

                          404 error

                          Euuhh ... Oops !

                          Let me introduce you into this marvelous world of being a 'programmer' ;)

                          First lesson :

                          This is the file

                          <?php
                          phpinfo();
                          ?>
                          

                          Call it "phpinfo.php"

                          Place it in here /usr/local/www/

                          You first php script program ^^

                          No "help me" PM's please. Use the forum, the community will thank you.
                          Edit : and where are the logs ??

                          1 Reply Last reply Reply Quote 0
                          • fireodoF
                            fireodo @Sessa45
                            last edited by fireodo

                            @Sessa45 said in Firewall has rebooted without any strange log entry:

                            @fireodo said in Firewall has rebooted without any strange log entry:

                            Try to raise in the Advanced Configuration Options the Firewall Maximum Table Entries!

                            I can not found such a tunable configuration. Could you please tell me where i can find this option?

                            At the bottom of the attached picture:
                            Firewall Maximum Table Entries

                            Regards,
                            fireodo

                            Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                            SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                            pfsense 2.8.0 CE
                            Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

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