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

working-1.6 - Login issues with big database

Scheduled Pinned Locked Moved Solved
Bug Reports
2
9
552
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.
  • E
    EduardoTSeoane
    last edited by EduardoTSeoane Nov 27, 2019, 8:32 AM Nov 27, 2019, 2:31 PM

    @Tom-Elliott @Sebastian-Roth
    First problem with my data base.
    Login two slow, I need to increase ProxyTimeout and Timeout get a successfull login

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Nov 27, 2019, 4:47 PM

      @EduardoTSeoane @Tom-Elliott I reckon we should come to a decision with this first. On several occasions we have seen that FOG is not great at handling such huge setups yet. I’d hope we can dig into this and find a good solution. Though I don’t fancy we do this for 1.5.x and 1.6! I opt for focusing on working-1.6 now. But that means we won’t backport anything to 1.5.x! Shall we?

      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 Dec 1, 2019, 10:02 AM

        @EduardoTSeoane Ok, as I have a bit of time right now I started looking at this.

        As a quick was to solve this you can edit /var/www/html/fog/lib/router/route.class.php, jump to line 819 and comment the third columns block as you see below:

        ...
                case 'storagenode':
                    $columns[] = ['db' => 'ngID', 'dt' => 'storagegroupID'];
                    $columns[] = ['db' => 'ngName', 'dt' => 'storagegroupName'];
                    /*$columns[] = [
                        'db' => 'ngmID',
                        'dt' => 'online',
                        'formatter' => function ($d, $row) {
                            return self::getClass('StorageNode', $d)->get('online');
                        }
                    ];*/
                    $columns[] = [
        ...
        

        This will make login work way faster I am sure!

        I will have to double check if this change might cause trouble in some other places before I push out this as official commit.

        Please give it a try and let us know what you think.

        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 Dec 1, 2019, 10:37 AM

          @EduardoTSeoane Be aware, I already found issues with this quick fix. It will make the web UI a lot faster in a couple of places it also has drawbacks that I need to find and fix…

          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 Dec 1, 2019, 11:28 AM

            @EduardoTSeoane Ok, found and hopefully fixed all the issues now. I just pushed out a new commit to working-1.6 - please update to the latest and let us know what you think.

            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 Dec 1, 2019, 10:18 PM

              @EduardoTSeoane Found more issues. Will work in this tomorrow and commit more fixes.

              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

              E 1 Reply Last reply Dec 4, 2019, 1:23 AM Reply Quote 0
              • E
                EduardoTSeoane @Sebastian Roth
                last edited by Dec 4, 2019, 1:23 AM

                @Sebastian-Roth ok im out ungió Next week. I test It Next week

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Dec 19, 2019, 9:07 AM

                  @EduardoTSeoane Did you get to try this out?

                  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 Jan 8, 2020, 8:55 PM

                    @EduardoTSeoane Is this still an issue?

                    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
                    • 1 / 1
                    • First post
                      Last post

                    115

                    Online

                    12.1k

                    Users

                    17.3k

                    Topics

                    155.3k

                    Posts
                    Copyright © 2012-2024 FOG Project