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

    FOG 1.5.5 SLOW OPEN STORAGES NODES

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    31
    5.4k
    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
      Sebastian Roth Moderator
      last edited by

      @george1421 Nice idea but I’d better make our code to not wait for such a long time!

      @wanderson I was now able to replicate the issue and still hope that we can fix this in the code of the web UI. As a quick fix you need to check all your storage node configs (/var/www/html/fog/lib/fog/config.class.php). I am fairly sure at least one of your storage nodes has the wrong database host (or user/pass) set which is causing the very long delay. They should all point to your main FOG server.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      W 2 Replies Last reply Reply Quote 0
      • W
        wanderson @Sebastian Roth
        last edited by

        @Sebastian-Roth But the 35 nodes using version 1.4.0 do not give this problem, only in version 1.5.X

        1 Reply Last reply Reply Quote 0
        • W
          wanderson @Sebastian Roth
          last edited by

          @Sebastian-Roth

          Watch ----> https://youtu.be/EmL0gVIMbEI

          1 Reply Last reply Reply Quote 0
          • W
            wanderson @george1421
            last edited by

            @george1421

            Watch ----> https://youtu.be/EmL0gVIMbEI

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by

              @wanderson Thanks for the video again. You are right, 1.4.x seems fast on the mass storage node setup. Possibly a different mysql driver was used which is handling timeouts differently and did a more appropriate asynchronous check on the storage nodes. I am still digging through the code. Fairly sure I can come up with a fix in the next couple of days.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by

                @wanderson Would you please test the latest dev-branch version? You should see an improvement if only upgrading the master node already. But to get to experience the full scope of changes I made you’d need to upgrade all storage nodes as well!

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                W 3 Replies Last reply Reply Quote 0
                • W
                  wanderson @Sebastian Roth
                  last edited by

                  @Sebastian-Roth

                  Okay, I’ll test it, and then put the result here.

                  1 Reply Last reply Reply Quote 0
                  • W
                    wanderson @Sebastian Roth
                    last edited by

                    @Sebastian-Roth said in FOG 1.5.5 SLOW OPEN STORAGES NODES:

                    @wanderson Would you please test the latest dev-branch version? You should see an improvement if only upgrading the master node already. But to get to experience the full scope of changes I made you’d need to upgrade all storage nodes as well!

                    I tried to install via git, but I could not, where I get the .zip of the branch version??

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by

                      @wanderson said in FOG 1.5.5 SLOW OPEN STORAGES NODES:

                      I tried to install via git, but I could not, where I get the .zip of the branch version??

                      Errors you got when trying git?

                      git clone https://github.com/FOGProject/fogproject
                      cd fogproject/
                      git checkout dev-branch
                      cd bin/
                      ./installfog.sh
                      

                      But sure you can download the ZIP archive from github as well: https://github.com/FOGProject/fogproject/archive/dev-branch.zip

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      1 Reply Last reply Reply Quote 0
                      • W
                        wanderson @Sebastian Roth
                        last edited by

                        @Sebastian-Roth said in FOG 1.5.5 SLOW OPEN STORAGES NODES:

                        @wanderson Would you please test the latest dev-branch version? You should see an improvement if only upgrading the master node already. But to get to experience the full scope of changes I made you’d need to upgrade all storage nodes as well!

                        Watch video new test: -------------> https://youtu.be/r4T6oDEhQhQ

                        Tom ElliottT 1 Reply Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott @wanderson
                          last edited by

                          @wanderson That’s much faster than in the past. This is because we’re also testing if the machines are actually available and turned on. We do want to know if a machine is online and accessible right?

                          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                          W 1 Reply Last reply Reply Quote 0
                          • W
                            wanderson @Tom Elliott
                            last edited by

                            @Tom-Elliott said in FOG 1.5.5 SLOW OPEN STORAGES NODES:

                            @wanderson That’s much faster than in the past. This is because we’re also testing if the machines are actually available and turned on. We do want to know if a machine is online and accessible right?

                            would it be this ------> https://youtu.be/I5Mr8dJIMpo

                            1 Reply Last reply Reply Quote 0
                            • S
                              Sebastian Roth Moderator
                              last edited by

                              @wanderson Compared to your first video it improved immensely as you couldn’t even load the pages with 1.5.4 and now we improved to only 5 second delay when loading the storage node list or configuration page - for checking 35 storage nodes to be online!!

                              As I already said, if you update all your storage nodes to dev-branch it would be even faster!

                              @wanderson said:

                              would it be this ------> https://youtu.be/I5Mr8dJIMpo

                              Yes, one of your storage nodes seems a bit slower than the others. Because we test the online status on nodes in FOG 1.5.x it takes a little bit of time to load.

                              I would suggest you update the slowest storage nodes to dev-branch as well (best if you upgrade all of them!) and see if that helps.

                              Sure we could improve page loading speed even more if we do the online status check using AJAX.

                              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                              W 1 Reply Last reply Reply Quote 0
                              • W
                                wanderson @Sebastian Roth
                                last edited by

                                @Sebastian-Roth

                                afraid to update everyone and stay slow … it takes a lot of work to update everyone

                                Tom ElliottT 1 Reply Last reply Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott @wanderson
                                  last edited by

                                  @wanderson That’s why we’re asking you to update in the first place.

                                  WHen upgrading servers, it’s best to keep all servers/nodes at the same level (though certainly not a 100% requirement sometimes.)

                                  We’re asking you to update because you reported a problem and we’ve been (mostly @Sebastian-Roth) working to improve and fix the slow UI. We won’t know if all is doing well until we know all machines are at the same level.

                                  This is like a catch 22 now.

                                  Either upgrade all of your servers and stay slow (where we can work towards improving and correcting as needed),

                                  OR

                                  Stay in the state you are where you already are slow.

                                  We’re simply trying to help.

                                  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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                  W 1 Reply Last reply Reply Quote 0
                                  • W
                                    wanderson @Tom Elliott
                                    last edited by

                                    @Tom-Elliott

                                    Okay, I’ll update and post the result here.

                                    1 Reply Last reply Reply Quote 1
                                    • 1
                                    • 2
                                    • 2 / 2
                                    • First post
                                      Last post

                                    318

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project