• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

FOG Web GUI speed and default storage activity

Scheduled Pinned Locked Moved Solved
FOG Problems
5
62
23.6k
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.
  • J
    JGallo @Wayne Workman
    last edited by Oct 17, 2017, 7:39 PM

    @wayne-workman

    At the secondary schools, the connection speed to our district office is 1Gb and the primary schools are at 100mb. The FOG IMAGE REP SLEEP TIME is set to 10800.

    W 1 Reply Last reply Oct 17, 2017, 10:36 PM Reply Quote 0
    • W
      Wayne Workman @JGallo
      last edited by Oct 17, 2017, 10:36 PM

      @jgallo How consistent is the problem? The “a valid connection cannot be established” problem. Any rhyme or pattern? Is this when imaging is happening?

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      J 1 Reply Last reply Oct 17, 2017, 10:43 PM Reply Quote 0
      • J
        JGallo @Wayne Workman
        last edited by JGallo Oct 17, 2017, 4:44 PM Oct 17, 2017, 10:43 PM

        @wayne-workman

        on working branch 57 it was very consistent even with all the changes made to fog and the vCPU’s. I have been updating all the storage nodes and fog to working branch 64 today and the problem is still persistent. The only pattern I have observed is that upon rebooting the fog sever, the valid connection messages do not appear for about an hour or so. Then the messages begin to appear for random nodes that I have the graph enabled. At random times, the messages tend to go away but then come back upon selecting another storage node on the dashboard.

        W 2 Replies Last reply Oct 17, 2017, 10:49 PM Reply Quote 0
        • W
          Wayne Workman @JGallo
          last edited by Oct 17, 2017, 10:49 PM

          @jgallo Do you know what version of fog this problem started with?

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          J 1 Reply Last reply Oct 17, 2017, 10:53 PM Reply Quote 0
          • J
            JGallo @Wayne Workman
            last edited by JGallo Oct 17, 2017, 4:56 PM Oct 17, 2017, 10:53 PM

            @wayne-workman

            I know that I went from 1.4.4 to 1.5.0 RC1 if I recalled. I know when I upgraded I made a huge leap. New interface and all. During that time there were replication issues and eventually updated to 1.5.0 RC7 which still had replication issues. I then upgraded to 1.5.0 RC9 which replication had major issue that was resolved in a working branch. So I have been on working branch 57 until about an hour ago I went to 64 with all nodes and fog server. I have been observing this issue since I have been on 1.5.0 from the new interface. I never had this issue in 1.4.4

            1 Reply Last reply Reply Quote 0
            • W
              Wayne Workman @JGallo
              last edited by Oct 17, 2017, 10:56 PM

              @jgallo said in FOG Web GUI speed and default storage activity:

              The only pattern I have observed is that upon rebooting the fog sever, the valid connection messages do not appear for about an hour or so.

              I’m thinking about this - I’d like you to try to restart only Apache and see if it has the same effect or not. On CentOS/Fedora/RHEL it’s systemctl restart httpd and on Ubuntu 16/Debian8/Debian9 it’s systemctl restart apache2 and on Ubuntu 14-,debian7- it’s service apache2 restart

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              J 1 Reply Last reply Oct 17, 2017, 10:58 PM Reply Quote 0
              • J
                JGallo @Wayne Workman
                last edited by Oct 17, 2017, 10:58 PM

                @wayne-workman

                Tried that and still get the database connection message.

                W 1 Reply Last reply Oct 17, 2017, 10:59 PM Reply Quote 0
                • W
                  Wayne Workman @JGallo
                  last edited by Oct 17, 2017, 10:59 PM

                  @jgallo During when the problem is happening, what does this command return? free -h;uptime

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  J 1 Reply Last reply Oct 17, 2017, 11:00 PM Reply Quote 0
                  • J
                    JGallo @Wayne Workman
                    last edited by JGallo Oct 17, 2017, 5:01 PM Oct 17, 2017, 11:00 PM

                    @wayne-workman
                    I have rebooted due to upgrade to working branch. FYI.

                                 total        used        free      shared  buff/cache   available
                    Mem:            15G        510M        181M         47M         14G         14G
                    Swap:          4.0G        268K        4.0G
                     15:59:54 up  1:56,  2 users,  load average: 0.24, 0.19, 0.21```
                    W 1 Reply Last reply Oct 17, 2017, 11:07 PM Reply Quote 0
                    • W
                      Wayne Workman @JGallo
                      last edited by Oct 17, 2017, 11:07 PM

                      @jgallo You have 14GB cached in RAM, which I’ll say is substantial. You can clear that with the below command:
                      sudo sh -c "sync; echo 3 > /proc/sys/vm/drop_caches"
                      Does the issue resolve after this? Also, check free -h afterwards.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      J 3 Replies Last reply Oct 17, 2017, 11:43 PM Reply Quote 0
                      • J
                        JGallo @Wayne Workman
                        last edited by Oct 17, 2017, 11:43 PM

                        @wayne-workman

                        went down to 139MB. LOL dam that was a lot of cache. Wish I had it in my pocket.

                        1 Reply Last reply Reply Quote 0
                        • J
                          JGallo @Wayne Workman
                          last edited by Oct 17, 2017, 11:48 PM

                          @wayne-workman

                          This was just a minute of running free -h

                               total        used        free      shared  buff/cache   available
                          Mem:            15G        427M         14G         47M        289M         14G
                          Swap:          4.0G          0B        4.0G
                          administrator@VUSD-FOG:~$ free -h
                                        total        used        free      shared  buff/cache   available
                          Mem:            15G        434M         14G         47M        289M         14G
                          Swap:          4.0G          0B        4.0G
                          administrator@VUSD-FOG:~$ free -h
                                        total        used        free      shared  buff/cache   available
                          Mem:            15G        484M         14G         47M        292M         14G
                          Swap:          4.0G          0B        4.0G
                          administrator@VUSD-FOG:~$ free -h
                                        total        used        free      shared  buff/cache   available
                          Mem:            15G        485M         14G         47M        292M         14G
                          Swap:          4.0G          0B        4.0G
                          administrator@VUSD-FOG:~$ free -h
                                        total        used        free      shared  buff/cache   available
                          Mem:            15G        486M         14G         47M        301M         14G
                          Swap:          4.0G          0B        4.0G
                          administrator@VUSD-FOG:~$ free -h
                                        total        used        free      shared  buff/cache   available
                          Mem:            15G        486M         14G         47M        301M         14G
                          Swap:          4.0G          0B        4.0G
                          administrator@VUSD-FOG:~$ free -h
                                        total        used        free      shared  buff/cache   available
                          Mem:            15G        487M         14G         47M        301M         14G
                          Swap:          4.0G          0B        4.0G
                          administrator@VUSD-FOG:~$ free -h
                                        total        used        free      shared  buff/cache   available
                          Mem:            15G        487M         14G         47M        301M         14G
                          Swap:          4.0G          0B        4.0G
                          administrator@VUSD-FOG:~$ free -h
                                        total        used        free      shared  buff/cache   available
                          Mem:            15G        488M         14G         47M        301M         14G
                          Swap:          4.0G          0B        4.0G
                          administrator@VUSD-FOG:~$ free -h
                                        total        used        free      shared  buff/cache   available
                          Mem:            15G        488M         14G         47M        302M         14G
                          Swap:          4.0G          0B        4.0G
                          administrator@VUSD-FOG:~$ free -h
                                        total        used        free      shared  buff/cache   available
                          Mem:            15G        490M         14G         47M        302M         14G
                          Swap:          4.0G          0B        4.0G
                          administrator@VUSD-FOG:~$ free -h
                                        total        used        free      shared  buff/cache   available
                          Mem:            15G        489M         14G         47M        302M         14G
                          Swap:          4.0G          0B        4.0G
                          administrator@VUSD-FOG:~$ free -h
                                        total        used        free      shared  buff/cache   available
                          Mem:            15G        491M         14G         47M        302M         14G```
                          W 1 Reply Last reply Oct 17, 2017, 11:54 PM Reply Quote 0
                          • W
                            Wayne Workman @JGallo
                            last edited by Oct 17, 2017, 11:54 PM

                            @jgallo Most importantly, are the nodes reporting properly?

                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                            Daily Clean Installation Results:
                            https://fogtesting.fogproject.us/
                            FOG Reporting:
                            https://fog-external-reporting-results.fogproject.us/

                            1 Reply Last reply Reply Quote 0
                            • J
                              JGallo @Wayne Workman
                              last edited by JGallo Oct 17, 2017, 5:55 PM Oct 17, 2017, 11:54 PM

                              @wayne-workman

                              I rebooted server just in case. Went home for the day. I will keep an eye on the nodes and see how they are in the morning. Also see how fast the cache grows. It has gone up to 305MB right now but the web UI is substantially snapier.

                              W 1 Reply Last reply Oct 17, 2017, 11:55 PM Reply Quote 0
                              • W
                                Wayne Workman @JGallo
                                last edited by Oct 17, 2017, 11:55 PM

                                @jgallo If this solves the problem, we can setup a cron job that does this every hour.

                                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                Daily Clean Installation Results:
                                https://fogtesting.fogproject.us/
                                FOG Reporting:
                                https://fog-external-reporting-results.fogproject.us/

                                J 1 Reply Last reply Oct 18, 2017, 2:29 PM Reply Quote 0
                                • J
                                  JGallo @Wayne Workman
                                  last edited by JGallo Oct 18, 2017, 8:30 AM Oct 18, 2017, 2:29 PM

                                  @wayne-workman

                                  Came in and checked FOG Web UI and messages still persists. I checked server and cache is at 571MB. I will say this, it definitely fixed the web UI speeds by clearing the cache.

                                  W 1 Reply Last reply Oct 19, 2017, 12:23 AM Reply Quote 0
                                  • W
                                    Wayne Workman @JGallo
                                    last edited by Oct 19, 2017, 12:23 AM

                                    @jgallo Try clearing the cache the same way on one of the nodes, see if it fixes that node.

                                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                    Daily Clean Installation Results:
                                    https://fogtesting.fogproject.us/
                                    FOG Reporting:
                                    https://fog-external-reporting-results.fogproject.us/

                                    J 1 Reply Last reply Oct 19, 2017, 3:43 PM Reply Quote 0
                                    • J
                                      JGallo @Wayne Workman
                                      last edited by Oct 19, 2017, 3:43 PM

                                      @wayne-workman

                                      I have done that to all the nodes I have the graph enabled to. Rebooted server and observing if it helps. How fast should the buff/cache be growing? I’m noticing on a few nodes that it spikes really fast and some other nodes it’s just normalized around 1GB even though they have 16GB. For example one of my nodes has 30GB of memory available and I cleared the cache. Within 1 minute it grew over 5GB and running another minute it has grown to 10GB.

                                      W 1 Reply Last reply Oct 19, 2017, 5:36 PM Reply Quote 0
                                      • W
                                        Wayne Workman @JGallo
                                        last edited by Oct 19, 2017, 5:36 PM

                                        @jgallo Having cache in the RAM isn’t a bad thing - Linux does a really amazing job at managing memory, it’s just something about fog that causes the cache to not be effective (what’s cached is not what’s actually used often). cache size grows as the Linux kernel does stuff. The less stuff it does, the slower the cache grows. Eventually though - and by design - the RAM gets filled with cache in order to make future requests faster. Again, in the case of fog, what’s cached is not what is getting used over and over.

                                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                        Daily Clean Installation Results:
                                        https://fogtesting.fogproject.us/
                                        FOG Reporting:
                                        https://fog-external-reporting-results.fogproject.us/

                                        J 1 Reply Last reply Oct 19, 2017, 5:47 PM Reply Quote 0
                                        • J
                                          JGallo @Wayne Workman
                                          last edited by Oct 19, 2017, 5:47 PM

                                          @wayne-workman

                                          So far it has not prompted me with database connections. earlier I have cleared the cache on all nodes and rebooted. Seems like it’s working because so far it has not prompted anything with database connections errors and I have been sitting on the dashboard since.

                                          W 1 Reply Last reply Oct 19, 2017, 5:48 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 2 / 4
                                          2 / 4
                                          • First post
                                            35/62
                                            Last post

                                          165

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project