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

    Memory usuage after reboot

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    33 Posts 8 Posters 2.9k 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

      Yeah the memory usage might possibly be a related symptom but it's not a cause here.

      It's almost certainly CPU usage causing those ping spikes. Check the system log like I suggested earlier. If some process is triggering it you should be able to see that firing when you see the ping issues.

      Steve

      1 Reply Last reply Reply Quote 0
      • A
        abailey10
        last edited by

        I thought pfsense ran from ramdisk once loaded from ssd. If so then why would 50 percent lower memory usage not be a red flag. Its not cpu spikes as it has never been past 20 percent during high load and gui with monitors usually never see more than 1 to 6 percent. This could be hardware related, except if i get an update and it reboots memory usage will be 18 percent which is normal not 7 percent. My internet is 100 down 10 up, no way its stress a quad core at 3.8ghz without power savings of any kind or turbo , this cpu is not power or heat throttling. Its like pfsense cant load all of itself into the ramdisk after reboot

        JeGrJ 1 Reply Last reply Reply Quote 0
        • DerelictD
          Derelict LAYER 8 Netgate
          last edited by

          Please understand that this is a problem you and you alone are experiencing. It might take some time to determine what is peculiar in your environment. Especially on an internet forum from remote locations given little information.

          It might just be that pfSense doesn't run well on your specific hardware.

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply Reply Quote 0
          • JeGrJ
            JeGr LAYER 8 Moderator @abailey10
            last edited by

            @abailey10 said in Memory usuage after reboot:

            I thought pfsense ran from ramdisk once loaded from ssd. If so then why would 50 percent lower memory usage not be a red flag.

            No it won't if you haven't told it so. There was the old nanoBSD version, that was pre-configured to run with ramdisk support but that is old news and if you didn't set up the ramdisk under System > Adv. Settings it will not run on any kind of ramdisk at all.

            Its like pfsense cant load all of itself into the ramdisk after reboot

            Again, no ramdisk if not told so! Don't jump to conclusions that you haven't configured.

            @abailey10 said in Memory usuage after reboot:

            This could be hardware related, except if i get an update and it reboots memory usage will be 18 percent which is normal not 7 percent

            Now I'm confused. You told us above that after a reboot it only uses 7%, not 18% and that this is (in your opinion) the point why it runs "flaky" somehow. Now you say it reboots and is 18% not 7%? Huh?

            In the end you have to give us much more to "debug" that non-problem if you want to have a conclusion or explanation. But without ANY data at all - that you were told to please post here - there's not much to say other than: it's your isolated case so please show us more details, logs etc. or live with it. Explanations for ups and downs of memory were already given in spades.

            Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

            If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

            A 1 Reply Last reply Reply Quote 1
            • A
              abailey10 @JeGr
              last edited by

              @JeGr Only time it uses 18 percent memory is when first install with no reboots, or after update. All reboots result in drop in memory to 7 percent. Yes I set up /var /tmp ramdisk also for 250mb each which equals 500mb yet memory usage is still 8 percent. Although /var default 3.4mb on install uses only 5 percent, just increasing the space /var grows to 8 percent of 250mb which is alot more considering no changes made to the install, no packages added, no tweaks, no qos , just default install. So if it set up a ram disk, why dont i see 500mb being used or reserved? And Im looking for help, not a forum that just looks to defend pfsense blindly. I like pfsense but it has issues also.

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

                The RAM usage is almost certainly either unrelated or some side effect of whatever is actually causing the latency you're seeing IMO.
                However to track down what is using it we need to see what's actually changing so maybe the first 20 lines or so from top aS sorted by RES in each condition.

                Steve

                1 Reply Last reply Reply Quote 1
                • JeGrJ
                  JeGr LAYER 8 Moderator @abailey10
                  last edited by

                  @abailey10 said in Memory usuage after reboot:

                  not a forum that just looks to defend pfsense blindly

                  It has nothing to do with "defending" blindly. It just isn't an issue as you try to make it one. I don't see a problem with RAM going up and down. You do. And you try to construct a generic pfsense software problem from it besides Netgate staff telling you, it is not.

                  So if you have a problem with it besides the RAM up/down in your setup and installation - e.g. your point with pfsense being slow/laggy after reboot and not really responsive - then I'd describe and submit logs to that so we can try and help fixing that.

                  I like pfsense but it has issues also.

                  No one said otherwise or told you "the product is flawless". If it were, we'd not have patches and updates. But ranting on about a non issue (e.g. RAM) is pretty much useless if all you do is give an opinion about it but NO logs whatsoever so we could actually have a look at it. @Gertjan @stephenw10 and @Derelict already posted multiple hypothesis about the problem with the plea to give us something to work with. Yet all you do is rant on about memory issues instead of showing outputs from top, ps, etc. How about some help?

                  Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

                  If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

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

                    It is possible that this is some entirely new issue and this is first time we are seeing it reported.

                    However the memory usage or lack of it is only an indication of some change, it's not itself a problem. And it might be a completely unrelated change.

                    @abailey10 Do you know a specific build that was not affected by this? Can you test the RAM usage in that? Can you test a 2.5 snapshot?

                    Steve

                    1 Reply Last reply Reply Quote 1
                    • JeGrJ
                      JeGr LAYER 8 Moderator
                      last edited by

                      @stephenw10 said in Memory usuage after reboot:

                      It is possible that this is some entirely new issue and this is first time we are seeing it reported.

                      Not to be misunderstood: I'm totally for debugging that. But then I'd like to see some actual data, logs and readings instead of accusations and ramblings and textblocks ;) As I said, give us some data to work with :)

                      Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

                      If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

                      1 Reply Last reply Reply Quote 0
                      • J
                        JohnnieHauser Banned
                        last edited by stephenw10

                        Spam was here.

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

                          What has fixed it?

                          What are you running that only uses 50MB? That seems unlikely!

                          Steve

                          kiokomanK provelsP 2 Replies Last reply Reply Quote 0
                          • kiokomanK
                            kiokoman LAYER 8 @stephenw10
                            last edited by

                            @stephenw10
                            uhm .. probably
                            prima-email-spam.jpg

                            one of his post is a copy/paste from reddit with a link to a blog

                            ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                            Please do not use chat/PM to ask for help
                            we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                            Don't forget to Upvote with the 👍 button for any post you find to be helpful.

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

                              @stephenw10
                              The user posted a link to malware in another post.
                              Please ban.

                              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
                              • stephenw10S
                                stephenw10 Netgate Administrator
                                last edited by

                                Yup, I was already watching. There it is!

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