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

    FOG server crashing on group deployment

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    7
    19
    3.1k
    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.
    • george1421G
      george1421 Moderator @zagaeski
      last edited by

      @zagaeski Excellent. Next time you run the multicast, run the top program from the fog server console. You should see 5-7 php-fpm worker threads running. I would be interested in seeing if you have different results.

      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!

      1 Reply Last reply Reply Quote 0
      • F
        Fog_Rob
        last edited by

        Hi, I have the same problem, FOG crash when deploying to groups, this is really bad.

        george1421G 1 Reply Last reply Reply Quote 0
        • george1421G
          george1421 Moderator @Fog_Rob
          last edited by

          @fog_rob You probably should start your own thread here because your circumstances may be different.

          But in general if you follow my guidance below: https://forums.fogproject.org/topic/12116/fog-server-crashing-on-group-deployment/5

          of checking in php-fpm (www.conf file) that these settings are in place. You should have a successful group deployment.

          pm.max_children  = 50
          pm.max_requests = 2000
          php_admin_value[memory_limit] = 256
          

          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!

          F 2 Replies Last reply Reply Quote 0
          • F
            Fog_Rob @george1421
            last edited by

            @george1421 said in FOG server crashing on group deployment:

            @fog_rob You probably should start your own thread here because your circumstances may be different.

            But in general if you follow my guidance below: https://forums.fogproject.org/topic/12116/fog-server-crashing-on-group-deployment/5

            of checking in php-fpm (www.conf file) that these settings are in place. You should have a successful group deployment.

            pm.max_children  = 50
            pm.max_requests = 2000
            php_admin_value[memory_limit] = 256
            

            Thank you Gearge, I’ll try that.

            FYI: I tried to fog +>10 computers manually and it is crashing too after 10

            1 Reply Last reply Reply Quote 0
            • F
              Fog_Rob @george1421
              last edited by Fog_Rob

              @george1421 thank you George for the hint but after modifying the file, web stoped working and had to reinstall fog 😞
              Probably it is an acces right to modify, but I ain’t a linux expert. so hopefully this will be fix in an update …

              I’m doing 10 computer at a time and storage set to five to make it work 😕

              the display of storage infos goes crazy too, see attachement.0_1530212493897_fogstorageerror.jpg

              george1421G 1 Reply Last reply Reply Quote 0
              • R
                reese
                last edited by

                I just had this exact issue this week when doing a clean install of 1.5.4, the install went fantastic, but when I went out to a lab and did a group deployment I came back the next day to find the computers boot looping due to FOG timing out. I traced it down to a PHP issue, but ultimately ended up downgrading to 1.4.4 with no issues anymore.

                N 1 Reply Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @Fog_Rob
                  last edited by

                  @fog_rob Well that’s disappointing, I know the parameters fix the multicast imaging issues. I can understand that if you had something out of place FOG would appear to stop since the php-fpm is the engine that runs the site, and the www.conf file is the config file for the engine.

                  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!

                  1 Reply Last reply Reply Quote 0
                  • C
                    cmcgonag
                    last edited by cmcgonag

                    I am having the same issues as described above. I did the required changes and am now getting a HTTP 500 Error. Any recommendations on how to diagnose? Do I need to change the permissions on the PHP file? Apperently I am running out of memory? I have plenty…
                    Apache Error Log:
                    [Mon Jul 30 13:50:38.882162 2018] [proxy_fcgi:error] [pid 1231] [client 192.168.1.3:44270] AH01071: Got error ‘PHP message: PHP Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 8192 bytes) in /var/www/html/fog/lib/fog/fogpage.class.php on line 239\nPHP message: PHP Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 114688 bytes) in Unknown on line 0\n’

                    Here are the last lines from the FPM log after I reloaded and rebooted.

                    [30-Jul-2018 13:42:49] NOTICE: reloading: execvp(“/usr/sbin/php-fpm7.1”, {“/usr/sbin/php-fpm7.1”, “–nodaemonize”, “–fpm-config”, “/etc/php/7.1/fpm/php-fpm.conf”})
                    [30-Jul-2018 13:42:49] NOTICE: using inherited socket fd=8, “127.0.0.1:9000”
                    [30-Jul-2018 13:42:49] NOTICE: using inherited socket fd=8, “127.0.0.1:9000”
                    [30-Jul-2018 13:42:49] NOTICE: fpm is running, pid 9096
                    [30-Jul-2018 13:42:49] NOTICE: ready to handle connections
                    [30-Jul-2018 13:42:49] NOTICE: systemd monitor interval set to 10000ms
                    [30-Jul-2018 13:43:27] NOTICE: Terminating …
                    [30-Jul-2018 13:43:27] NOTICE: exiting, bye-bye!
                    [30-Jul-2018 13:43:27] NOTICE: fpm is running, pid 9648
                    [30-Jul-2018 13:43:27] NOTICE: ready to handle connections
                    [30-Jul-2018 13:43:27] NOTICE: systemd monitor interval set to 10000ms
                    [30-Jul-2018 13:43:31] NOTICE: Terminating …
                    [30-Jul-2018 13:43:31] NOTICE: exiting, bye-bye!
                    [30-Jul-2018 13:44:41] NOTICE: fpm is running, pid 1027
                    [30-Jul-2018 13:44:41] NOTICE: ready to handle connections
                    [30-Jul-2018 13:44:41] NOTICE: systemd monitor interval set to 10000ms

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      cmcgonag @cmcgonag
                      last edited by

                      @cmcgonag

                      Got it to run by upping my memory limit to 1280M. Testing now. Currently only getting 200Mb/s transfer speed on eno1.

                      1 Reply Last reply Reply Quote 0
                      • N
                        NT_Tech @reese
                        last edited by

                        @reese I am having the same issue. How did you safely downgrade back to 1.4.4. I had no issues there but can’t image an entire lab anymore. Just locks up. Hints on the downgrade process would be appreciated!

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

                        193

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project