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

FOG Server CPU usage 100%

Scheduled Pinned Locked Moved
Linux Problems
7
64
19.7k
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.
  • T
    Tom Elliott @Sebastian Roth
    last edited by Nov 15, 2017, 3:15 PM

    @sebastian-roth The idea of those is specific to ajax calls, though I guess the ignore_user_abort could be done with. The set_time_limit basically tells the script that it can run indefinitely. Ignore_user_abort tells the script to keep processing the script even if the client (browser) has requested to abort/stop/cancel the script.

    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

    1 Reply Last reply Reply Quote 0
    • F
      Fernando Gietz Developer
      last edited by Mar 1, 2018, 3:00 PM

      To don’t lose the thread.

      Hi again!

      I follow with this issue 😞 Toisolate the problem I have do a fresh install:

      Enviroment:
      FOG version: 1.5.0
      Computer: HP 800 G2 with 8 GB RAM and SSD
      OS: Centos 7 64 bits

      I have imported 7000 new hosts to the database from webUI, later I have created a new group with one computer. If I try to list the membership of this new group, the browser needs 40 second to show me the computer.

      If anybody wants to reply the issu, I can send the hosts import file.

      1 Reply Last reply Reply Quote 0
      • J
        Joe Schmitt Senior Developer
        last edited by Mar 1, 2018, 4:09 PM

        @Tom-Elliott sounds like the group membership is doing a lot of unnecessary calculations.

        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.

        T 1 Reply Last reply Mar 1, 2018, 5:48 PM Reply Quote 0
        • T
          Tom Elliott @Joe Schmitt
          last edited by Mar 1, 2018, 5:48 PM

          @joe-schmitt somewhat yes, somewhat no. For membership it should just gather the names, but when the object loads it first has to get the ids so it knows which hostnames it needs to grab. This should happen fairly fast, but processing to display 7k items does take a bit.

          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

          F 1 Reply Last reply Mar 1, 2018, 5:58 PM Reply Quote 0
          • F
            Fernando Gietz Developer @Tom Elliott
            last edited by Mar 1, 2018, 5:58 PM

            @tom-elliott I can understand that the proccess takes a bit 🙂 10 seconds or 15 seconds, but in my producction environment takes 2 minutes and in the physical server 40 seconds.

            Repeat, I can send you the import hosts file to do test and see in-situ the problem.

            G 1 Reply Last reply Mar 1, 2018, 7:07 PM Reply Quote 0
            • J
              Joe Schmitt Senior Developer
              last edited by Mar 1, 2018, 6:22 PM

              • thread note:

              @Fernando-Gietz I have replicated the issue and am looking at it now.

              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.

              1 Reply Last reply Reply Quote 0
              • G
                george1421 Moderator @Fernando Gietz
                last edited by george1421 Mar 1, 2018, 1:07 PM Mar 1, 2018, 7:07 PM

                @fernando-gietz If I can break some time free I’d like to look at it from a SQL database point of view. We may be missing an index that is causing such a bad performance.

                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!

                1 Reply Last reply Reply Quote 0
                • T
                  Tom Elliott
                  last edited by Mar 1, 2018, 10:50 PM

                  Mind installing the working-1.5.1 branch please?

                  Significantly improved load for membership and taskings.

                  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

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tom Elliott
                    last edited by Mar 1, 2018, 11:03 PM

                    For benchmark/testing.

                    Using Joe’s server as the testbed, it was taking about 42 seconds to load the group membership page and around 30 seconds for the tasking page.

                    It now takes 3 seconds to load, and 5 (total) to render on membership. Tasking is relatively instant.

                    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

                    F 1 Reply Last reply Mar 2, 2018, 2:32 PM Reply Quote 4
                    • F
                      Fernando Gietz Developer @Tom Elliott
                      last edited by Mar 2, 2018, 2:32 PM

                      @tom-elliott Oh la la!! works very verry fine 🙂

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 1 / 4
                      • First post
                        Last post

                      204

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project