Navigation

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

    Harddrive use….

    Hardware
    6
    23
    7803
    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.
    • T
      thinair last edited by

      I notice with my firewall that the harddrive activity light flashes every second or so, I'm assuming it's to save ntop stats.  I have two questions regarding this.

      • Will this be an issue when I move to a CF card?
      • Can I get ntop to keep the stats in RAM for a while and dump them every hour or so if that's what is causing the drive activity.
      1 Reply Last reply Reply Quote 0
      • S
        sullrich last edited by

        @thinair:

        I notice with my firewall that the harddrive activity light flashes every second or so, I'm assuming it's to save ntop stats.  I have two questions regarding this.

        • Will this be an issue when I move to a CF card?
        • Can I get ntop to keep the stats in RAM for a while and dump them every hour or so if that's what is causing the drive activity.

        As far as I know NTOP saves the settings in ram.  How often is this blink occuring?

        1 Reply Last reply Reply Quote 0
        • T
          thinair last edited by

          once a second, all the time

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

            @thinair:

            once a second, all the time

            Which version?

            1 Reply Last reply Reply Quote 0
            • T
              thinair last edited by

              0.92

              And I turned ntop off, and it's the same actually, I guess it has nothing to do with ntop.  I don't know why I didn't turn it off before posting….damn assumptions. ::)

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

                @thinair:

                0.92

                And I turned ntop off, and it's the same actually, I guess it has nothing to do with ntop.  I don't know why I didn't turn it off before posting….damn assumptions. ::)

                Run top and see if you see anything bursting to the upper top of the list every second.

                1 Reply Last reply Reply Quote 0
                • T
                  thinair last edited by

                  php is the only one that stays on top with 0.3-0.4%

                  1 Reply Last reply Reply Quote 0
                  • T
                    thinair last edited by

                    I rebooted the firewall, things seem ok now.  I stood there for like a minute, no activity.  When I ran top, top was the top programming running…..

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

                      @thinair:

                      php is the only one that stays on top with 0.3-0.4%

                      Do this from a shell (option 8 from ssh or console):

                      fetch -o ~/test.sh http://www.pfsense.com/~sullrich/find_php.sh
                      chmod a+rx ~/test.sh  && ~/test.sh

                      Look for which process is taking up the most time.  mini_httpd will show up all the time so somewhat discard that one.

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

                        Actually, do that from a SSH session.

                        1 Reply Last reply Reply Quote 0
                        • T
                          thinair last edited by

                          php status_service.php showed up oncein a couple minutes, aside from that, nothing else but mini_httpd.  And that was from SSH.

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

                            @thinair:

                            php status_service.php showed up oncein a couple minutes, aside from that, nothing else but mini_httpd.  And that was from SSH.

                            Hrm.  Very strange.

                            1 Reply Last reply Reply Quote 0
                            • T
                              thinair last edited by

                              It the hdd activity light starts flashing often again, I'll retry those commands and post the results.

                              As a note, it didn't seem to matter if my connection was idle or active either.

                              1 Reply Last reply Reply Quote 0
                              • Z
                                ZGamer last edited by

                                when in doubt reboot;). How long after you reboot does it do this?

                                Memory glitch??…it's a guess.

                                1 Reply Last reply Reply Quote 0
                                • C
                                  Cojo last edited by

                                  I have the same problem. The HDD activity flashes all the time. And it starts right after boot.
                                  I use Beta 3 and have no extra packages installed.

                                  1 Reply Last reply Reply Quote 0
                                  • H
                                    hoba last edited by

                                    what's your amount of ram?

                                    1 Reply Last reply Reply Quote 0
                                    • C
                                      Cojo last edited by

                                      I have 256Mb of ram.

                                      1 Reply Last reply Reply Quote 0
                                      • C
                                        Criggie last edited by

                                        @Cojo:

                                        I have the same problem. The HDD activity flashes all the time. And it starts right after boot.
                                        I use Beta 3 and have no extra packages installed.

                                        I had a similar problem ages ago with a 0.8 series.  Turned out that the firewall couldn't resolve the ntp server address because the dns servers were not right/reachable.

                                        So my advice is just search for anything thats wrong.

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          Criggie last edited by

                                          @thinair:

                                          • Will this be an issue when I move to a CF card?

                                          Apparently you can tell the system to mount the CF card r/o and only mount it r/w while a config change happens.

                                          To do that you put the single word wrap into /etc/platform

                                          echo wrap > /etc/platform

                                          But that made no difference for me even after a restart.

                                          1 Reply Last reply Reply Quote 0
                                          • H
                                            hoba last edited by

                                            it's not "wrap" anymore, it was changed to "embedded" some time ago

                                            1 Reply Last reply Reply Quote 0
                                            • C
                                              Criggie last edited by

                                              @hoba:

                                              it's not "wrap" anymore, it was changed to "embedded" some time ago

                                              Marvellous thank you.  How do I mount / rw for a bit if I want to change stuff?
                                                mount / -o remount,rw
                                              doesn't do it.  (yeah I'm a linux hoe)

                                              1 Reply Last reply Reply Quote 0
                                              • H
                                                hoba last edited by

                                                /etc/rc.conf_mount_rw
                                                /etc/rc.conf_mount_ro

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

                                                  Use Diagnostics -> Edit file from the webConfigurator, it does this automatically when you save the file.

                                                  1 Reply Last reply Reply Quote 0
                                                  • First post
                                                    Last post

                                                  Products

                                                  • Platform Overview
                                                  • TNSR
                                                  • pfSense
                                                  • Appliances

                                                  Services

                                                  • Training
                                                  • Professional Services

                                                  Support

                                                  • Subscription Plans
                                                  • Contact Support
                                                  • Product Lifecycle
                                                  • Documentation

                                                  News

                                                  • Media Coverage
                                                  • Press
                                                  • Events

                                                  Resources

                                                  • Blog
                                                  • FAQ
                                                  • Find a Partner
                                                  • Resource Library
                                                  • Security Information

                                                  Company

                                                  • About Us
                                                  • Careers
                                                  • Partners
                                                  • Contact Us
                                                  • Legal
                                                  Our Mission

                                                  We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                                                  Subscribe to our Newsletter

                                                  Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                                                  © 2021 Rubicon Communications, LLC | Privacy Policy