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

FOGTaskScheduler daemon uses 100% of CPU

Scheduled Pinned Locked Moved Solved
General Problems
4
14
3.5k
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 @Fernando Gietz
    last edited by Jun 20, 2017, 12:27 PM

    @Fernando-Gietz what’s your load average on the machine?

    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 Jun 20, 2017, 1:07 PM

      0_1497964017696_Captura de pantalla de 2017-06-20 15-06-20.png

      W 1 Reply Last reply Jun 21, 2017, 2:22 AM Reply Quote 0
      • W
        Wayne Workman @Fernando Gietz
        last edited by Wayne Workman Jun 20, 2017, 8:25 PM Jun 21, 2017, 2:22 AM

        @Fernando-Gietz Just a side question, what utility outputs all those columns like that?

        For the load issue - I’d say check the sleep time? FOG Configuration -> FOG Settings -> FOG Linux service sleep times You could also view active queries in mysql by issuing show processlist; that has lead me to root causes with fog several times.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • F
          Fernando Gietz Developer
          last edited by Jun 21, 2017, 1:27 PM

          Hi Wayne,

          0_1498051641283_Captura de pantalla de 2017-06-21 15-24-44.png

          0_1498051651900_Captura de pantalla de 2017-06-21 15-26-46.png

          1 Reply Last reply Reply Quote 0
          • T
            Tom Elliott
            last edited by Jun 21, 2017, 4:09 PM

            What’s the load average.

            The Top you command you used is not showing me the actual load averages.

            Maybe uptime would be better?

            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 Jun 22, 2017, 3:21 PM

              I have started the FOGScheduler daemon and the load is:

              [root@fog7 fogproject]# systemctl start FOGScheduler
              [root@fog7 fogproject]# uptime
               16:54:22 up 6 days,  2:30,  1 user,  load average: 1,19, 0,78, 0,90
               16:54:28 up 6 days,  2:30,  1 user,  load average: 1,18, 0,78, 0,90
               16:54:35 up 6 days,  2:30,  1 user,  load average: 1,53, 0,87, 0,93
               16:54:42 up 6 days,  2:30,  1 user,  load average: 1,57, 0,89, 0,94
               16:55:39 up 6 days,  2:31,  1 user,  load average: 2,02, 1,13, 1,01
               17:11:10 up 6 days,  2:46,  1 user,  load average: 1,80, 1,63, 1,30
              

              I stop the daemon and …

              [root@fog7 fogproject]# systemctl stop FOGScheduler
              [root@fog7 fogproject]# uptime
               17:14:05 up 6 days,  2:49,  1 user,  load average: 1,66, 1,65, 1,36
              [root@fog7 fogproject]# uptime
               17:18:42 up 6 days,  2:54,  1 user,  load average: 0,86, 1,31, 1,31
              [root@fog7 fogproject]# uptime
               17:20:26 up 6 days,  2:56,  1 user,  load average: 0,86, 1,16, 1,25
              
              1 Reply Last reply Reply Quote 0
              • F
                Fernando Gietz Developer
                last edited by Jun 23, 2017, 12:00 PM

                Solved!! The problem was some tasks that had misconfigured the cron hour 😠

                T 1 Reply Last reply Jun 23, 2017, 12:15 PM Reply Quote 0
                • T
                  Tom Elliott @Fernando Gietz
                  last edited by Jun 23, 2017, 12:15 PM

                  @Fernando-Gietz How do you mean?

                  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 Jun 23, 2017, 1:28 PM Reply Quote 0
                  • W
                    Wayne Workman @Tom Elliott
                    last edited by Jun 23, 2017, 1:28 PM

                    @Tom-Elliott like a cron task with all * I guess.

                    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!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    1 Reply Last reply Reply Quote 0
                    • F
                      Fernando Gietz Developer
                      last edited by Jun 23, 2017, 3:43 PM

                      Yes. In the hour field 0, 23/2

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

                      170

                      Online

                      12.2k

                      Users

                      17.3k

                      Topics

                      155.5k

                      Posts
                      Copyright © 2012-2024 FOG Project