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

    Configuration Save - Memory size of xxxxxxx bytes exhausted

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    7
    1.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.
    • Wayne WorkmanW
      Wayne Workman
      last edited by Wayne Workman

      On r6991, we are getting an error page when we try to do a configuration save. We looked into the apache error logs and saw the memory limit was being hit. So we increased FOG_MEMORY_LIMIT all the way up to 512 slowly, and that wasn’t enough. So I’m suspecting something else is wrong. There are also some FTP errors in the logs below as well. This particular setup has one storage group and two nodes.

      [Wed Mar 30 08:45:30.178881 2016] [:error] [pid 6308] [client 10.64.14.4:49331] PHP Warning: hash_file(ftp://...@10.65.2.20/opt/fog/snapins/): failed to open stream: FTP server reports 550 Could not get file size.\r\n in /var/www/html/fog/lib/client/snapinclient.class.php on line 69
      [Wed Mar 30 08:45:00.343359 2016] [:error] [pid 6308] [client 10.13.32.5:52116] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 157548544 bytes) in /var/www/html/fog/lib/fog/schema.class.php on line 36, referer: http://10.51.1.53/fog/management/index.php?node=about&sub=config
      [Wed Mar 30 08:44:51.203077 2016] [:error] [pid 8495] [client 10.65.2.124:50696] PHP Warning: hash_file(ftp://...@10.65.2.20/opt/fog/snapins/): failed to open stream: FTP server reports 550 Could not get file size.\r\n in /var/www/html/fog/lib/client/snapinclient.class.php on line 69
      [Wed Mar 30 08:44:35.900139 2016] [:error] [pid 8495] [client 10.65.3.91:59894] PHP Warning: hash_file(ftp://...@10.65.2.20/opt/fog/snapins/): failed to open stream: FTP server reports 550 Could not get file size.\r\n in /var/www/html/fog/lib/client/snapinclient.class.php on line 69
      [Wed Mar 30 08:44:28.153113 2016] [:error] [pid 8510] [client 10.13.32.5:52068] PHP Fatal error: Allowed memory size of 402653184 bytes exhausted (tried to allocate 112099328 bytes) in /var/www/html/fog/lib/fog/schema.class.php on line 36, referer: http://10.51.1.53/fog/management/index.php?node=about&sub=config
      

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

        What do those errors have to do with configuration save?

        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 1 Reply Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman @Tom Elliott
          last edited by

          @Tom-Elliott said:

          What do those errors have to do with configuration save?

          The memory exhausted error happens exactly at the moment we click the export button for configuration save.

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

            Another thing is on the exact same revision in my building, I can do a configuration save just fine, but my building is not part of a multi-node setup.

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

              Please update and try the latest. This should be fixed 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.

              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
                last edited by

                the update didn’t work. I think the DB actually is bigger than 512MB.

                The history table has 1.4 million rows in it…

                MariaDB [fog]> select count(*) from history;
                +----------+
                | count(*) |
                +----------+
                |  1396471 |
                +----------+
                1 row in set (0.00 sec)
                

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

                  truncating the history table fixed it.

                  truncate table history;

                  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

                  165

                  Online

                  12.1k

                  Users

                  17.3k

                  Topics

                  155.4k

                  Posts
                  Copyright © 2012-2024 FOG Project