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

Fog Version 5507 Cannot Access Host Management

Scheduled Pinned Locked Moved Solved
FOG Problems
3
12
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.
  • J
    jeffj
    last edited by Nov 25, 2015, 9:16 PM

    When I click on the Host management button it doen’t load all i get is this error:

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4194433 bytes) in /var/www/html/fog/lib/db/MySQL.class.php on line 166

    all other “tabs” work

    posting per Sebastian Roth.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Nov 25, 2015, 10:26 PM

      How many hosts do you have?

      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
      • J
        jeffj
        last edited by Nov 25, 2015, 10:32 PM

        i think it is a little over 50 that is registered

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Nov 25, 2015, 10:39 PM

          Okay,

          So I just injected 2k hosts, and I but my settings to 128 (default php setup) and i’m not seeing any issue loading them. I’ll test some more to try narrowing down where the issue is.

          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 Nov 25, 2015, 10:43 PM

            I did make a change if you want to give it a shot, but it doesn’t explain why 50 hosts is causing a memory problem. I just did this on 2011 hosts and I pushed the list all at 128M available and all displayed just fine. Testing on CentOS 6.7. I will check on Ubuntu 15.10 and Fedora 22.

            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 Nov 25, 2015, 10:51 PM Reply Quote 0
            • J
              jeffj @Tom Elliott
              last edited by Nov 25, 2015, 10:51 PM

              @Tom-Elliott

              I will give it a try I am running ubuntu 14.04 fyi

              1 Reply Last reply Reply Quote 0
              • J
                jeffj
                last edited by Nov 25, 2015, 10:56 PM

                ok build 5509 similar error:

                Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4194433 bytes) in /var/www/html/fog/lib/db/MySQL.class.php on line 163

                T 1 Reply Last reply Nov 25, 2015, 11:15 PM Reply Quote 0
                • T
                  Tom Elliott
                  last edited by Nov 25, 2015, 11:06 PM

                  I’m not able to replicate the memory usage, but what I could suggest is to up the memory limit? I don’t know, what, on your system is trying to use it all. You can Up the memory limit from FOG Configuration Page->FOG Settings->General Settings->FOG_MEMORY_LIMIT. It’s done in megs, so 128 = 128M, 256 = 256M etc…

                  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 2 Replies Last reply Nov 26, 2015, 5:52 AM Reply Quote 1
                  • T
                    Tom Elliott @jeffj
                    last edited by Nov 25, 2015, 11:15 PM

                    @jeffj I should clarify, I can replicate the problem (the memory over limit problem) but not without actually going over memory problems.

                    For example, I’ll get the memory limit problem if I have 4011 hosts, because the memory in use is 168M (on my ubuntu 15.10 system). So, with this in hand, if I up the memory to 170M with 4k hosts, I should be able to load without a problem, but if I add a few more hosts I will see the error.

                    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
                    • W
                      Wayne Workman @Tom Elliott
                      last edited by Wayne Workman Jan 18, 2016, 10:48 PM Nov 26, 2015, 5:52 AM

                      @Tom-Elliott said:

                      I’m not able to replicate the memory usage, but what I could suggest is to up the memory limit? I don’t know, what, on your system is trying to use it all. You can Up the memory limit from FOG Configuration Page->FOG Settings->General Settings->FOG_MEMORY_LIMIT. It’s done in megs, so 128 = 128M, 256 = 256M etc…

                      wiki hashtagging this for addition to the wiki.

                      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
                      • J
                        jeffj
                        last edited by Dec 1, 2015, 3:52 PM

                        uping the memory fixed im still not sure what is taking the memory but I changed it to 256 and now the page loads correctly. Thank you for your help.

                        1 Reply Last reply Reply Quote 0
                        • W
                          Wayne Workman @Tom Elliott
                          last edited by Jan 19, 2016, 4:49 AM

                          @Tom-Elliott said:

                          I’m not able to replicate the memory usage, but what I could suggest is to up the memory limit? I don’t know, what, on your system is trying to use it all. You can Up the memory limit from FOG Configuration Page->FOG Settings->General Settings->FOG_MEMORY_LIMIT. It’s done in megs, so 128 = 128M, 256 = 256M etc…

                          Added here:
                          https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_Web_Interface

                          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
                          • 1 / 1
                          • First post
                            Last post

                          146

                          Online

                          12.1k

                          Users

                          17.3k

                          Topics

                          155.3k

                          Posts
                          Copyright © 2012-2024 FOG Project