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

    out of swap space ??

    Scheduled Pinned Locked Moved CE 2.7.0 Development Snapshots (Retired)
    13 Posts 4 Posters 3.5k 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.
    • GertjanG
      Gertjan @grandrivers
      last edited by

      @grandrivers said in out of swap space ??:

      how do I troubleshoot this

      I would keep a console or SSH open, and check regularly the free memory by hand.

      Or, my thoughts, don't think, just stop 'ntopng' (a real resource hog) and call it a day.

      Btw : strange ration 16 Gb of RAM and just 1 Gb of swap.
      A system set up 'correctly' would not / should not use any swap. As ssoon as it uses ONE byte, consider you system not stable, and redo settings, or do less with it, or make it even bigger

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

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @Gertjan
        last edited by johnpoz

        @gertjan said in out of swap space ??:

        As ssoon as it uses ONE byte, consider you system not stable,

        Not sure I would completely agree with that ;)

        But yeah if your using swap - something is out of norm.. Now you launch some stuff to do something out of the norm, and hey some stuff goes to swap for a bit, ok.. But yeah if your constantly using swap you should rethink what your doing.

        what is using swap?

        if you run top, and then hit w

        top.jpg

        Do you actually have a day to day need for ntop? I would only run that when troubleshooting something, or looking for specific information - are you monitoring for something that it needs to be running 24/7?

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

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

          @johnpoz Its done it twice with NTOPNG Disabled this is a config moved maybe 3 months ago off a machine with 8gig ram never an issue on it its recent issue maybe july seems it kills unbound pfblockerdev and ntopng if ntops not running it kills pfblocker and unbound

          pfsense plus 25.03 super micro A1SRM-2558F
          C2558 32gig ECC  60gig SSD

          johnpozJ 1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @grandrivers
            last edited by

            @grandrivers so what is swapping that uses up all your swap space? did you run the top command?

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

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

              @johnpoz said in out of swap space ??:

              so what is swapping that uses up all your swap space?

              @grandrivers

              out of swap space ??

              The question is now well defined 😊

              @grandrivers when you reply here, please add the answer.

              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 0
              • G
                grandrivers @Gertjan
                last edited by

                @gertjan I have to catch it again was using swap but not using all the ram according to gui have to fire putty up and watch . I did delete packages and install them again

                pfsense plus 25.03 super micro A1SRM-2558F
                C2558 32gig ECC  60gig SSD

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

                  @grandrivers said in out of swap space ??:

                  I did delete packages and install them again

                  Packages can't be broken, as such a situation would take the system down fast.
                  The issue is nearly always : the (your) settings.

                  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 0
                  • G
                    grandrivers @Gertjan
                    last edited by

                    @gertjan I have determined that its pfblockerng-devel and dnsbl and also unbound I have not made anychanges to those that were running on 8gig of ram just fine so have to dig into those

                    pfsense plus 25.03 super micro A1SRM-2558F
                    C2558 32gig ECC  60gig SSD

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

                      @grandrivers said in out of swap space ??:

                      I have not made anychanges to those

                      No changes to "pfblockerng-deve" means : it does nothing.

                      You'll be seeing this :

                      0bf6084f-8400-49e0-b05c-14b272c0b95a-image.png

                      Actually, it does something : occupying disk space.

                      About unbound : See here.

                      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 0
                      • G
                        grandrivers @Gertjan
                        last edited by

                        @gertjan

                        I was NOT CLEAR this is NOT a new install this is a config I have been running for years and was working. I moved that config file via the builtin automatic backup to new hard ware MONTHS ago and it run fine till somewhere in the early part of July only changes have been too upgrade pfsense development version I have not made changes to working setting of pfblockerng-devel

                        pfsense plus 25.03 super micro A1SRM-2558F
                        C2558 32gig ECC  60gig SSD

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

                          @grandrivers said in out of swap space ??:

                          upgrade pfsense development version

                          Yeah, right - oops - I didn't saw you posted in the "2.7.0" forum.
                          My comment is meaningless.
                          Can't help you much with 2.7.0 as it is bleeding edge technology.
                          And ones in a while the latest build is a bummer, and forces you to take the next nightly build, with could be fine, or have some issues else where.

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

                            Check the Status > Monitoring graphs for RAM usage over time. You may be hitting a memory leak.

                            Steve

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