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

    Problems after 1.4.2 to 1.5.5 Upgrade

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    12
    931
    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.
    • EduardoTSeoaneE
      EduardoTSeoane
      last edited by

      node=storage page and node=about pages solved.

      Solution increase TimeOut and ProxyTimeout to 120 secs.

      Currently only fails with list all hosts page.

      1 Reply Last reply Reply Quote 0
      • F
        Fernando Gietz Developer
        last edited by

        14500 computers in the database are a lot of. I had troubles in the past when I tried to list my 8000 computers, this was solved with the php-fpm module but maybe in you case the problem is other (timeouts in the database or used memory)

        Any error in the apache logs?

        EduardoTSeoaneE 1 Reply Last reply Reply Quote 1
        • EduardoTSeoaneE
          EduardoTSeoane @Fernando Gietz
          last edited by

          @Fernando-Gietz
          yes at the moment i found apache general TimeOut and fast-cgi ProxyTimeout.

          That solve the storage list (node=storage) and the list of nodes in about page (node=about).

          Maybe i must increase a bit more to test, but the error page is diferent.

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

            @EduardoTSeoane Which version of PHP do you have? rpm -qa | grep php or dpkg -l | grep php

            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

            EduardoTSeoaneE 1 Reply Last reply Reply Quote 0
            • EduardoTSeoaneE
              EduardoTSeoane @Sebastian Roth
              last edited by

              @Sebastian-Roth

              rpm -qa | grep php
              php-common-7.2.18-1.el7.remi.x86_64
              php-7.2.18-1.el7.remi.x86_64
              php-ldap-7.2.18-1.el7.remi.x86_64
              php-fpm-7.2.18-1.el7.remi.x86_64
              php-json-7.2.18-1.el7.remi.x86_64
              php-cli-7.2.18-1.el7.remi.x86_64
              php-mysqlnd-7.2.18-1.el7.remi.x86_64
              php-mbstring-7.2.18-1.el7.remi.x86_64
              php-pecl-zip-1.15.4-1.el7.remi.7.2.x86_64
              php-process-7.2.18-1.el7.remi.x86_64
              php-pdo-7.2.18-1.el7.remi.x86_64
              php-bcmath-7.2.18-1.el7.remi.x86_64
              php-gd-7.2.18-1.el7.remi.x86_64

              1 Reply Last reply Reply Quote 0
              • EduardoTSeoaneE
                EduardoTSeoane
                last edited by

                To be exactly the NDR is HTTP ERROR 500

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

                  @EduardoTSeoane Ok, good to know you have PHP 7.2! Increasing the timeout is not too bad of an idea. There were changes since 1.5.5 that might be of help to you. So you might consider updating to 1.5.6 to see if that helps. Those are the changes that should help speed wise:

                  • https://github.com/FOGProject/fogproject/commit/859fca523636c407187190f3b34b2ced55b98c28
                  • https://github.com/FOGProject/fogproject/commit/87338676f5aa87687aad243ab47e80798151dd6c
                  • https://github.com/FOGProject/fogproject/commit/67b4e64ed6ed6190291fb9fbb9599d5c12af1792
                  • https://github.com/FOGProject/fogproject/commit/0e54cfe594de9da9becea3a88b556ae02697d671 (the most important one I reckon!)
                  • https://github.com/FOGProject/fogproject/commit/6ccf933d3358ef9e1847a35cc943ad26a03b8dd1
                  • https://github.com/FOGProject/fogproject/commit/c01e710d0eda05dda3a20767948e9e0534ef89dd
                  • https://github.com/FOGProject/fogproject/commit/3b4ff68ecd4944920366b18993f23f2da8f13075

                  You’ve probably one of the biggest FOG installations and I have to admit that we (as in the FOG devs) didn’t write the code with such huge environments in mind. So we need to work together to try and make this work more smoothly with lots and lots of nodes and clients.

                  So please try updating to 1.5.6 and we’ll take it from there.

                  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

                  EduardoTSeoaneE 1 Reply Last reply Reply Quote 0
                  • EduardoTSeoaneE
                    EduardoTSeoane @Sebastian Roth
                    last edited by

                    @Sebastian-Roth @Fernando-Gietz

                    Solved!!!

                    Solution:
                    In /etc/httpd/conf.d/fog.conf (outside and before of VirtualHost tag):
                    Add this parameters:

                    • TimeOut 120
                    • ProxyTimeout 120

                    In /etc/php-fpm.d/www.conf

                    • Increase php_admin_value[memory_limit] = 1350M

                    But it’s hard to load the info.
                    Thank’s to all for help

                    1 Reply Last reply Reply Quote 0
                    • EduardoTSeoaneE
                      EduardoTSeoane
                      last edited by

                      @Sebastian-Roth @Fernando-Gietz
                      I’m glad to help in everything i can, only have to request.

                      Tomorrow I do a test, to start, on my dev environment with the same database.

                      By the moment I put the following feature request:

                      https://forums.fogproject.org/topic/13295/move-the-node-list-report-from-about-page-to-another-page-linked-on-about-page

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

                        @EduardoTSeoane Definitely give 1.5.6 a try. The changes should make a difference in your case.

                        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
                        • EduardoTSeoaneE
                          EduardoTSeoane
                          last edited by

                          @Sebastian-Roth
                          Upgraded to 1.5.6 as you suggested.

                          It seems to be a bit faster, but i need to do the corrections on the server with the same values.

                          Now i’m experiencing another issue posted as https://forums.fogproject.org/topic/13328/fog-snapins-not-ordered-on-launching-time

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

                          211

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project