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

    Harddrive use….

    Scheduled Pinned Locked Moved Hardware
    23 Posts 6 Posters 9.4k 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.
    • 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

        Nelson Papel

        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. ::)

            Nelson Papel

            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%

                Nelson Papel

                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…..

                  Nelson Papel

                  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.

                        Nelson Papel

                        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.

                            Nelson Papel

                            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.

                              –------------------------------------------------------------------------------------
                              pfSense Documentation Wiki
                              Need Commercial Support?
                              Personal Blog

                              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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.