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

    pfsense crash

    Scheduled Pinned Locked Moved General pfSense Questions
    9 Posts 3 Posters 1.1k 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.
    • V
      v0id
      last edited by

      Hello, today have encountered this crash. What depends on? Is it an hacking attempt?

      Crash report begins. Anonymous machine information:

      amd64
      11.2-RELEASE-p10
      FreeBSD 11.2-RELEASE-p10 #9 4a2bfdce133(RELENG_2_4_4): Wed May 15 18:54:42 EDT 2019 root@buildbot1-nyi.netgate.com:/build/ce-crossbuild-244/obj/amd64/ZfGpH5cd/build/ce-crossbuild-244/pfSense/tmp/FreeBSD-src/sys/pfSense

      Crash report details:

      PHP Errors:
      [28-Sep-2019 17:31:01 Etc/UTC] PHP Fatal error: Allowed memory size of 402653184 bytes exhausted (tried to allocate 63448770 bytes) in /usr/local/www/csrf/csrf-magic.php on line 161
      [28-Sep-2019 17:31:51 Etc/UTC] PHP Fatal error: Allowed memory size of 402653184 bytes exhausted (tried to allocate 63448770 bytes) in /usr/local/www/csrf/csrf-magic.php on line 161
      [28-Sep-2019 17:33:52 Etc/UTC] PHP Fatal error: Allowed memory size of 402653184 bytes exhausted (tried to allocate 63448770 bytes) in /usr/local/www/csrf/csrf-magic.php on line 161

      No FreeBSD crash data found.

      provelsP 1 Reply Last reply Reply Quote 0
      • provelsP
        provels @v0id
        last edited by

        @v0id Maybe logging run wild and ran out the disk? What packages?

        Peder

        MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
        BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

        V 1 Reply Last reply Reply Quote 0
        • V
          v0id
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • V
            v0id @provels
            last edited by

            @provels Have installed pfBlocker and snort. Seen that swap memory is full have 3.8GB swap and 100GB hdd. Previously used: "swapoff -a; swapon -a" for clean swap memory. Is it possible to add more space to swap? Have 4GB ram on my appliance and would at least double it.

            1 Reply Last reply Reply Quote 0
            • provelsP
              provels
              last edited by

              Have you checked the size of /var where logfiles are kept? Is snort logging limited? I don't run Snort, but I run pfBNG on a 4GB disk with only 1.5GB of RAM without issue and never get into swap.

              Peder

              MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
              BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

              1 Reply Last reply Reply Quote 0
              • V
                v0id
                last edited by

                logs size are ok, experience the problem when open with browser https//192.168.1.1/snort/snort_rules.php

                1 Reply Last reply Reply Quote 0
                • provelsP
                  provels
                  last edited by

                  Yeah, might be better off posting directly to the IDS/IPS forum. No expert with Snort.

                  Peder

                  MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                  BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                  1 Reply Last reply Reply Quote 0
                  • V
                    v0id
                    last edited by

                    ok, thanks

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

                      If you're using swap at all you have a problem. pfSense should not use swap in normal operation and if it does performance can be very degraded.
                      Work out what is actually using your RAM and tune that out.

                      Steve

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