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

    System Advanced >Networking

    Scheduled Pinned Locked Moved General pfSense Questions
    24 Posts 4 Posters 2.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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Yup what is coming from that file and yours is empty.

      I agree, try deleting the file and see if it's regenerated.

      G 1 Reply Last reply Reply Quote 0
      • G
        gawd21 @stephenw10
        last edited by

        @stephenw10 I deleted it. Waiting to reboot.

        G 1 Reply Last reply Reply Quote 0
        • G
          gawd21 @gawd21
          last edited by

          File was not created on reboot.

          1 Reply Last reply Reply Quote 0
          • G
            gawd21 @Gertjan
            last edited by

            @Gertjan

            It wasn't created on reboot, and I just noticed that /var/dhcpd/var/db/dhcpd6.leases is also a zeroed out file. I wonder if I have a bad stick of RAM.

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

              And that removed the error I assume?

              Any guess what combination of settings created that file without content? I'll try to replicate it.

              G 2 Replies Last reply Reply Quote 0
              • G
                gawd21 @stephenw10
                last edited by

                @stephenw10

                It's not the file that is zeroed out, the /var/dhcpd/var/db/dhcpd6.leases is too.

                It maybe bad RAM.
                I was having a bunch of problems with multicast working and I am sure that I changed something that I shouldn't have, in my frustration and after hours of messing with it, my network started to fall apart as in I couldn't communicate with other lans and everything was going very slowly, even loading the diag page too seconds, so I said the hell with it and restored my backup from right after the update to 23.05.01, that was on the 15th. Yesterday/early this morning, I say IPv6 traffic and I went to go check the networking page to make sure it was off and that is when I found the error.

                Yes, the error is gone now.

                1 Reply Last reply Reply Quote 0
                • G
                  gawd21 @stephenw10
                  last edited by

                  @stephenw10 Firefox_Screenshot_2023-08-17T14-47-57.748Z.png

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

                    @gawd21 said in System Advanced >Networking:

                    /var/dhcpd/var/db/dhcpd6.leases is also a zeroed out file

                    That's another animal.
                    Created by the DHCP IPv6 server, who servers IPv6 leases on your LANs for the devices that want to do IPv6 networking.

                    Again : what is the time stamp of the file ?
                    Maybe you had the DHCP v6 servers active on your LANs in the past ?

                    You can delete this file.

                    This file is a scrath pad for the DHCP v6 server process, so it knows, even after a power down, and power up, what device had what lease when.
                    And it permits to show in the GUI all the DHCPv6 leases handed out.

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

                    G 1 Reply Last reply Reply Quote 1
                    • G
                      gawd21 @Gertjan
                      last edited by

                      @Gertjan said in System Advanced >Networking:

                      /var/dhcpd/var/db/

                      05-10-2023 02:54

                      G 1 Reply Last reply Reply Quote 0
                      • G
                        gawd21 @gawd21
                        last edited by

                        Oh, joy. just found this minor issue. However, I am tired and I need to take a break from sitting here for a bit. Been sitting here for going on 11 hours.

                        Crash report begins.  Anonymous machine information:
                        
                        amd64
                        14.0-CURRENT
                        FreeBSD 14.0-CURRENT #1 plus-RELENG_23_05_1-n256108-459fc493a87: Wed Jun 28 04:26:04 UTC 2023     root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-23_05_1-main/obj/amd64/f2Em2w3l/var/jenkins/workspace/pfSense-Plus-snapshots-23_05_1-main/sources/
                        
                        Crash report details:
                        
                        PHP Errors:
                        [17-Aug-2023 10:38:15 America/Kentucky/Louisville] PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 218439680 bytes) in /usr/local/www/diag_edit.php on line 62
                        
                        
                        
                        No FreeBSD crash data found.
                        
                        GertjanG 1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          That's just exhausting the php process limit. Likely you accidentally tried to open a large binary file or similar. I wouldn't expect to see that again.

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

                            @gawd21 said in System Advanced >Networking:

                            Allowed memory size of 536870912 bytes exhausted (tried to allocate 218439680 bytes) in /usr/local/www/diag_edit.php on line 62

                            You asked the GUI to load a file that was a bit more then 218 Mbytes. The total available memory of PHP ran dry.
                            Use the console, or far better : the SSH access.

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

                            G 1 Reply Last reply Reply Quote 1
                            • G
                              gawd21 @Gertjan
                              last edited by

                              @Gertjan @stephenw10

                              Yes, to both of you guys. I was tired and just trying to get things done. I made a backup in the UI and it was larger than I had thought it would be.

                              Wanted to thank all of you for your help, and let you know I was/am not meaning to be rude. I wasn't able to get on yesterday, as my central air went out and as I don't have just over $12k to replace it, I had to do what I could to get it running again. Took about 7 straight hours.

                              As for my firewall, I have not messed with it anymore, as I just haven't had the time. I cannot reproduce the issue, so I cannot submit it as a bug report. I am sure it is something stupid I did, while up all night after playing COD or something like that. When I first got my box, I had only the basic understanding of python, very basic, and had forgotten most of php, and the networking I did was 20 plus years ago. So it's been a bit of a challenge for me. You all have been VERY helpful, and again, thank you!

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