• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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
1.1k
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.
  • F
    Fernando Gietz Developer
    last edited by May 23, 2019, 1:58 PM

    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?

    E 1 Reply Last reply May 23, 2019, 3:10 PM Reply Quote 1
    • E
      EduardoTSeoane @Fernando Gietz
      last edited by May 23, 2019, 3:10 PM

      @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 May 23, 2019, 3:14 PM

        @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

        E 1 Reply Last reply May 23, 2019, 3:27 PM Reply Quote 0
        • E
          EduardoTSeoane @Sebastian Roth
          last edited by May 23, 2019, 3:27 PM

          @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
          • E
            EduardoTSeoane
            last edited by May 23, 2019, 3:29 PM

            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 May 23, 2019, 9:50 AM May 23, 2019, 3:49 PM

              @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

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

                @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
                • E
                  EduardoTSeoane
                  last edited by May 23, 2019, 4:55 PM

                  @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 May 23, 2019, 5:11 PM

                    @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
                    • E
                      EduardoTSeoane
                      last edited by Jun 3, 2019, 7:31 AM

                      @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

                      135

                      Online

                      12.1k

                      Users

                      17.3k

                      Topics

                      155.4k

                      Posts
                      Copyright © 2012-2024 FOG Project