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

FOG server CPU usage spikes to 100% from /user/sbin/apache2 -k start

Scheduled Pinned Locked Moved Solved
FOG Problems
2
5
1.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.
  • T
    THEMCV
    last edited by Nov 8, 2016, 8:40 PM

    Server
    • FOG Version: 1.3.0 RC-20
    • OS: Debian 8 jessie
    Description

    FOG server CPU usage spikes to 100% from apache2. First I thought this was from WOL, but then I disabled that, canceled the image, and tested it again. The CPU spikes to 100% seemingly right before it goes into PXE boot and during until it hits the FOG splash screen.

    No images are being deployed out and nothing is communicating with the FOG server besides the initial PXE boot.

    [Tue Nov 08 15:10:08.857937 2016] [:error] [pid 23934] [client 10.4.200.150:36655] PHP Fatal error:  Uncaught exception 'Exception' with message 'Invalid MAC Address!' in /var/www/fog/lib/fog/wakeonlan.class.php:54\nStack trace:\n#0 /var/www/fog/lib/fog/fogpage.class.php(3150): WakeOnLan->send()\n#1 /var/www/fog/lib/fog/fogpagemanager.class.php(252): FOGPage->wakeEmUp()\n#2 /var/www/fog/management/index.php(49): FOGPageManager->render()\n#3 {main}\n  thrown in /var/www/fog/lib/fog/wakeonlan.class.php on line 54
    

    I’ve got about 2000 of these sitting in my apache2 log. The image deploys fine and it doesn’t give me an error PC side, but it doesn’t seem right that it’s spiking to 100% on an i5 CPU w/8GB RAM.

    Thanks guys

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Nov 8, 2016, 8:43 PM

      Mind updating to RC 21?

      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

      T 2 Replies Last reply Nov 8, 2016, 8:47 PM Reply Quote 0
      • T
        THEMCV @Tom Elliott
        last edited by Nov 8, 2016, 8:47 PM

        @Tom-Elliott Sure, will do.

        1 Reply Last reply Reply Quote 0
        • T
          THEMCV @Tom Elliott
          last edited by Nov 8, 2016, 8:57 PM

          @Tom-Elliott Okay, looks like it’s good now. 🙂

          Still a couple of the same errors in the error.log, but only 3 or 4 now on each PXE boot and the CPU only hit’s 25%ish instead of 100% now.

          Thanks Tom

          1 Reply Last reply Reply Quote 0
          • T
            Tom Elliott
            last edited by Nov 9, 2016, 2:04 AM

            I made some more, I think, significant approaches to URL testing tonight that should help limit CPU intensity.

            21 had some better methods as well, but it was far from perfect. I doubt it’s perfect now too, but it certainly seems a lot better from what I could see.

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

            211

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project