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

    Slow UI High RAM usage.

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    5
    14
    1.6k
    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.
    • K
      Kagashe
      last edited by

      I was running fog 1.5.0 RC 10 I think not sure now because the web ui isn’t even loading up anymore. OS was Ubuntu 16.04 LTS Fog clients used were 0.11.12.

      Here is the output of top

      top - 14:36:05 up 2 min,  1 user,  load average: 0.98, 0.71, 0.29
      Tasks: 177 total,   1 running, 176 sleeping,   0 stopped,   0 zombie
      %Cpu(s):  4.5 us,  4.2 sy,  0.0 ni, 91.3 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
      KiB Mem : 16301456 total, 14480044 free,   464332 used,  1357080 buff/cache
      KiB Swap:  4061180 total,  4061180 free,        0 used. 15494376 avail Mem
      
        PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
       1344 www-data  20   0  460980  21300  13144 S   7.3  0.1   0:01.37 apache2
       2981 www-data  20   0  460984  21120  12960 S   5.3  0.1   0:00.64 apache2
       1170 mysql     20   0 1795904 197548  23628 S   2.0  1.2   0:04.07 mysqld
        996 root      20   0   24044   2432   2068 S   0.3  0.0   0:00.01 vsftpd
       1316 root      20   0  430756  23568  13752 S   0.3  0.1   0:00.40 FOGMulticastMan
       1318 root      20   0  430756  23680  13864 S   0.3  0.1   0:00.09 FOGTaskSchedule
       1320 root      20   0  430756  23668  13856 S   0.3  0.1   0:00.36 FOGImageReplica
       3379 al        20   0   41804   3832   3192 R   0.3  0.0   0:00.04 top
      
      1 Reply Last reply Reply Quote 0
      • K
        Kagashe
        last edited by

        Tried to do an upgrade but seems to be failing right at the end.

        root@fogserver:~/fogproject/bin# ./installfog.sh
        Installing LSB_Release as needed
         * Attempting to get release information.......................Done
        systemd
        
        
           +------------------------------------------+
           |     ..#######:.    ..,#,..     .::##::.  |
           |.:######          .:;####:......;#;..     |
           |...##...        ...##;,;##::::.##...      |
           |   ,#          ...##.....##:::##     ..:: |
           |   ##    .::###,,##.   . ##.::#.:######::.|
           |...##:::###::....#. ..  .#...#. #...#:::. |
           |..:####:..    ..##......##::##  ..  #     |
           |    #  .      ...##:,;##;:::#: ... ##..   |
           |   .#  .       .:;####;::::.##:::;#:..    |
           |    #                     ..:;###..       |
           |                                          |
           +------------------------------------------+
           |      Free Computer Imaging Solution      |
           +------------------------------------------+
           |  Credits: http://fogproject.org/Credits  |
           |       http://fogproject.org/Credits      |
           |       Released under GPL Version 3       |
           +------------------------------------------+
        
        
           Version: 1.5.2 Installer/Updater
        
        
         * Found FOG Settings from previous install at: /opt/fog/.fogsettings
        
         * Performing upgrade using these settings
        
        
          Starting Debian based Installation
        
        
        
           ######################################################################
           #     FOG now has everything it needs for this setup, but please     #
           #   understand that this script will overwrite any setting you may   #
           #   have setup for services like DHCP, apache, pxe, tftp, and NFS.   #
           ######################################################################
           # It is not recommended that you install this on a production system #
           #        as this script modifies many of your system settings.       #
           ######################################################################
           #             This script should be run by the root user.            #
           #      It will prepend the running with sudo if root is not set      #
           ######################################################################
           #           ** Notice ** FOG is difficult to setup securely          #
           #        SELinux and IPTables are usually asked to be disabled       #
           #           There have been strides in adding capabilities           #
           #          The recommendations would now be more appropriate         #
           #    to set SELinux to permissive and to disable firewall for now.   #
           #  You can find some methods to enable SELinux and maintain firewall #
           #   settings and ports. If you feel comfortable doing so please do   #
           ######################################################################
           #            Please see our wiki for more information at:            #
           ######################################################################
           #             https://wiki.fogproject.org/wiki/index.php             #
           ######################################################################
        
         * Here are the settings FOG will use:
         * Base Linux: Debian
         * Detected Linux Distribution: Ubuntu
         * Server IP Address: 192.168.1.7
         * Server Subnet Mask: 255.255.255.0
         * Interface: enp3s0
         * Installation Type: Normal Server
         * Internationalization: 0
         * Image Storage Location: /images
         * Using FOG DHCP: No
         * DHCP will NOT be setup but you must setup your
         | current DHCP server to use FOG for PXE services.
        
         * On a Linux DHCP server you must set: next-server and filename
        
         * On a Windows DHCP server you must set options 066 and 067
        
         * Option 066/next-server is the IP of the FOG Server: (e.g. 192.168.1.7)
         * Option 067/filename is the bootfile: (e.g. undionly.kpxe)
        
        
         * Are you sure you wish to continue (Y/N) y
        
         * Installation Started
        
         * Installing required packages, if this fails
         | make sure you have an active internet connection.
        
         * Adding needed repository....................................OK
         * Preparing Package Manager...................................OK
         * Packages to be installed:
        
                apache2 bc build-essential cpp curl g++ gawk gcc genisoimage gzip htmldoc isolinux lftp libapache2-mod-php7.1 libc6 libcurl3 liblzma-dev m4 mysql-client mysql-server net-tools nfs-kernel-server openssh-server php7.1 php7.1-bcmath php7.1-cli php7.1-curl php7.1-fpm php7.1-gd php7.1-json php7.1-ldap php7.1-mbstring php7.1-mcrypt php7.1-mysql php-gettext sysv-rc-conf tar tftpd-hpa tftp-hpa unzip vsftpd wget xinetd zlib1g
        
        
         * Skipping package:   apache2.................................(Already Installed)
         * Skipping package:   bc......................................(Already Installed)
         * Skipping package:   build-essential.........................(Already Installed)
         * Skipping package:   cpp.....................................(Already Installed)
         * Skipping package:   curl....................................(Already Installed)
         * Skipping package:   g++.....................................(Already Installed)
         * Skipping package:   gawk....................................(Already Installed)
         * Skipping package:   gcc.....................................(Already Installed)
         * Skipping package:   genisoimage.............................(Already Installed)
         * Skipping package:   gzip....................................(Already Installed)
         * Skipping package:   htmldoc.................................(Already Installed)
         * Skipping package:   isolinux................................(Already Installed)
         * Skipping package:   lftp....................................(Already Installed)
         * Skipping package:   libapache2-mod-php7.1...................(Already Installed)
         * Skipping package:   libc6...................................(Already Installed)
         * Skipping package:   libcurl3................................(Already Installed)
         * Skipping package:   liblzma-dev.............................(Already Installed)
         * Skipping package:   m4......................................(Already Installed)
         * Skipping package:   mysql-client............................(Already Installed)
         * Skipping package:   mysql-server............................(Already Installed)
         * Skipping package:   net-tools...............................(Already Installed)
         * Skipping package:   nfs-kernel-server.......................(Already Installed)
         * Skipping package:   openssh-server..........................(Already Installed)
         * Skipping package:   php7.1..................................(Already Installed)
         * Skipping package:   php7.1-bcmath...........................(Already Installed)
         * Skipping package:   php7.1-cli..............................(Already Installed)
         * Skipping package:   php7.1-curl.............................(Already Installed)
         * Skipping package:   php7.1-fpm..............................(Already Installed)
         * Skipping package:   php7.1-gd...............................(Already Installed)
         * Skipping package:   php7.1-json.............................(Already Installed)
         * Skipping package:   php7.1-ldap.............................(Already Installed)
         * Skipping package:   php7.1-mbstring.........................(Already Installed)
         * Skipping package:   php7.1-mcrypt...........................(Already Installed)
         * Skipping package:   php7.1-mysql............................(Already Installed)
         * Skipping package:   php-gettext.............................(Already Installed)
         * Skipping package:   sysv-rc-conf............................(Already Installed)
         * Skipping package:   tar.....................................(Already Installed)
         * Skipping package:   tftpd-hpa...............................(Already Installed)
         * Skipping package:   tftp-hpa................................(Already Installed)
         * Skipping package:   unzip...................................(Already Installed)
         * Skipping package:   vsftpd..................................(Already Installed)
         * Skipping package:   wget....................................(Already Installed)
         * Skipping package:   xinetd..................................(Already Installed)
         * Skipping package:   zlib1g..................................(Already Installed)
         * Updating packages as needed.................................OK
        
         * Confirming package installation
        
         * Checking package: apache2...................................OK
         * Checking package: bc........................................OK
         * Checking package: build-essential...........................OK
         * Checking package: cpp.......................................OK
         * Checking package: curl......................................OK
         * Checking package: g++.......................................OK
         * Checking package: gawk......................................OK
         * Checking package: gcc.......................................OK
         * Checking package: genisoimage...............................OK
         * Checking package: gzip......................................OK
         * Checking package: htmldoc...................................OK
         * Checking package: isolinux..................................OK
         * Checking package: lftp......................................OK
         * Checking package: libapache2-mod-php7.1.....................OK
         * Checking package: libc6.....................................OK
         * Checking package: libcurl3..................................OK
         * Checking package: liblzma-dev...............................OK
         * Checking package: m4........................................OK
         * Checking package: mysql-client..............................OK
         * Checking package: mysql-server..............................OK
         * Checking package: net-tools.................................OK
         * Checking package: nfs-kernel-server.........................OK
         * Checking package: openssh-server............................OK
         * Checking package: php7.1....................................OK
         * Checking package: php7.1-bcmath.............................OK
         * Checking package: php7.1-cli................................OK
         * Checking package: php7.1-curl...............................OK
         * Checking package: php7.1-fpm................................OK
         * Checking package: php7.1-gd.................................OK
         * Checking package: php7.1-json...............................OK
         * Checking package: php7.1-ldap...............................OK
         * Checking package: php7.1-mbstring...........................OK
         * Checking package: php7.1-mcrypt.............................OK
         * Checking package: php7.1-mysql..............................OK
         * Checking package: php-gettext...............................OK
         * Checking package: sysv-rc-conf..............................OK
         * Checking package: tar.......................................OK
         * Checking package: tftpd-hpa.................................OK
         * Checking package: tftp-hpa..................................OK
         * Checking package: unzip.....................................OK
         * Checking package: vsftpd....................................OK
         * Checking package: wget......................................OK
         * Checking package: xinetd....................................OK
         * Checking package: zlib1g....................................OK
        
         * Configuring services
        
         * Setting up fog user.........................................Already setup
         * Setting up fog password.....................................OK
         * Stopping FOGMulticastManager.service Service................OK
         * Stopping FOGImageReplicator.service Service.................OK
         * Stopping FOGSnapinReplicator.service Service................OK
         * Stopping FOGScheduler.service Service.......................OK
         * Stopping FOGPingHosts.service Service.......................OK
         * Stopping FOGSnapinHash.service Service......................OK
         * Stopping FOGImageSize.service Service.......................OK
         * Setting up and starting MySQL...............................OK
         * Backing up user reports.....................................Done
         * Stopping web service........................................OK
         * Stopping FOGMulticastManager.service Service................OK
         * Stopping FOGImageReplicator.service Service.................OK
         * Stopping FOGSnapinReplicator.service Service................OK
         * Stopping FOGScheduler.service Service.......................OK
         * Stopping FOGPingHosts.service Service.......................OK
         * Stopping FOGSnapinHash.service Service......................OK
         * Stopping FOGImageSize.service Service.......................OK
         * Setting up and starting MySQL...............................OK
         * Setting up Apache and PHP files.............................OK
         * Testing and removing symbolic links if found................OK
         * Backing up old data.........................................OK
         * Copying new files to web folder.............................OK
         * Creating config file........................................OK
         * Unzipping the binaries......................................Done
         * Copying binaries where needed...............................Failed!
        
        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman @Kagashe
          last edited by

          @kagashe said in Slow UI High RAM usage.:

          • Copying binaries where needed…Failed!

          @Tom-Elliott this is the second recent occurrence of this 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!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          Tom ElliottT 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator
            last edited by

            In your case its right to actually move off FOG 1.5.0 to 1.5.2 to eliminate the high CPU usage. BUT if you are still on 1.5.0 and its kind of working for you, please wait until 1.5.3 is released (in the next few days) there are some annoying issues with 1.5.2 that are already addressed in 1.5.3 (dev). The developers said that 1.5.3 should drop very soon.

            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 1
            • K
              Kagashe
              last edited by

              Thanks @george1421 will give it a go, hopefully will fix the error highlighted by @Wayne-Workman.

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

                @wayne-workman no change in how this works. Considering the number of people who updated and/or installed 1.5.2, 2 people having this issues does not mean there’s something wrong with the installer handling this.

                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

                K 1 Reply Last reply Reply Quote 0
                • K
                  Kagashe @Tom Elliott
                  last edited by

                  @tom-elliott Any way to resolve the issue before the new version is out as I’ve got a bunch machines arriving that will need to be imaged?

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

                    @kagashe this is most likely something on your network preventing the download of the file. You could try deleting the current binaries1.5.2.zip file and rerun the installer. Are you behind a proxy?

                    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

                      This in regards to the downloading of the binaries file of course

                      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

                      K 1 Reply Last reply Reply Quote 0
                      • K
                        Kagashe @Tom Elliott
                        last edited by

                        @tom-elliott there was a 1.5.0 binaries folder sitting there which I deleted and that solved the binaries error, thanks for that, will monitor the ram usage as have upgraded to 1.5.2 and feedback the results.

                        1 Reply Last reply Reply Quote 0
                        • K
                          Kagashe
                          last edited by

                          Just an Update,

                          Ram Usage remains high however the UI has gone back to normal loading times so happy with that. One other issue I ran into is when adding or editing a snapin FOG says a name is required even though I have entered a name?

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            mp12 @Kagashe
                            last edited by

                            @kagashe check this thread. https://forums.fogproject.org/topic/5300/cant-upload-snapins-anymore

                            maybe it has something to do with the configuration of your php.ini file. post_max_size upload_max_filesize

                            what does apache error.log say?

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

                            171

                            Online

                            12.1k

                            Users

                            17.3k

                            Topics

                            155.3k

                            Posts
                            Copyright © 2012-2024 FOG Project