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

Fog painfully slow with plenty RAM left

Scheduled Pinned Locked Moved
FOG Problems
4
11
2.2k
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.
  • J
    jdmg94
    last edited by Apr 13, 2016, 3:37 PM

    I recently updated to the latest trunk and I noticed that fog became painfully slow,
    I checked the RAM usage on the server and it was over 80% free

    0_1460561492019_Capture.PNG

    now the CPU is being taken over by the apache server, which wasn’t happening before

    0_1460561779234_Capture4.PNG

    the home screen is not displaying all the data, but its done loading

    0_1460561850462_Capture3.PNG

    and when I try to schedule a task I get a php error

    0_1460561878187_Capture2.PNG

    Long story short, I updated my fog installation and everything went south

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Apr 13, 2016, 3:49 PM

      I’m on the same version and I’m not seeing any performance issues. Can you check your apache error logs?

      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/

      J 1 Reply Last reply Apr 13, 2016, 3:57 PM Reply Quote 0
      • J
        jdmg94 @Wayne Workman
        last edited by Apr 13, 2016, 3:57 PM

        @Wayne-Workman Apache error logs state the following

        [Wed Apr 13 03:39:58 2016] [error] [client 10.54.0.203] PHP Warning:  mysqli::query(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 49, referer: http://fogserver.collective.lan/management/index.php?node=home
        

        and I guess this error is the one preventing the home folder from loading completely

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Apr 13, 2016, 3:59 PM

          DB is up and running (service mysql status)? Maybe restart the DB (service mysql restart)?

          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

          J 1 Reply Last reply Apr 13, 2016, 4:02 PM Reply Quote 0
          • J
            jdmg94 @Sebastian Roth
            last edited by Apr 13, 2016, 4:02 PM

            @Sebastian-Roth tried that, same results

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Apr 13, 2016, 4:05 PM

              What OS are you running?

              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

              J 1 Reply Last reply Apr 13, 2016, 4:05 PM Reply Quote 0
              • J
                jdmg94 @Tom Elliott
                last edited by Apr 13, 2016, 4:05 PM

                @Tom-Elliott Centos 6.7

                1 Reply Last reply Reply Quote 0
                • T
                  Tom Elliott
                  last edited by Apr 13, 2016, 4:08 PM

                  Can you try updating, again? Just pushed the undefined index fix (I hope).

                  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

                  J 1 Reply Last reply Apr 13, 2016, 4:23 PM Reply Quote 0
                  • J
                    jdmg94 @Tom Elliott
                    last edited by Apr 13, 2016, 4:23 PM

                    @Tom-Elliott just updated, installation went fine but, home page is still not loading, and when trying to deploy an image I get a new error

                    0_1460564699601_Capture6.PNG

                    1 Reply Last reply Reply Quote 0
                    • T
                      Tom Elliott
                      last edited by Apr 13, 2016, 4:25 PM

                      Well the errors are not why things are failing.

                      While on the dashboard page, can you tail the apache error logs and output the random errors that are popping up?

                      The mysql issue you see I don’t think is the problem at all, rather it’s a remnant from the time the server was actually being updated.

                      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

                      J 1 Reply Last reply Apr 13, 2016, 4:35 PM Reply Quote 0
                      • J
                        jdmg94 @Tom Elliott
                        last edited by Apr 13, 2016, 4:35 PM

                        @Tom-Elliott I don’t think it’s a mysql error but a php error, php for centos tends to be a little tricky and some things are missing on the redhat builds, the apache logs point out that same php error, maybe we could try an alternative for mysqli->query

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

                        246

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project