• 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.4k
    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

      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
      • Tom ElliottT
        Tom Elliott
        last edited by

        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

          i think it is a little over 50 that is registered

          1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott
            last edited by

            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
            • Tom ElliottT
              Tom Elliott
              last edited by

              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 Reply Quote 0
              • J
                jeffj @Tom Elliott
                last edited by

                @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

                  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

                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    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

                    Wayne WorkmanW 2 Replies Last reply Reply Quote 1
                    • Tom ElliottT
                      Tom Elliott @jeffj
                      last edited by

                      @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
                      • Wayne WorkmanW
                        Wayne Workman @Tom Elliott
                        last edited by Wayne Workman

                        @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

                          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
                          • Wayne WorkmanW
                            Wayne Workman @Tom Elliott
                            last edited by

                            @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

                            156

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project