Difference between revisions of "Troubleshoot Web Interface"

From FOG Project
Jump to: navigation, search
(Manually test WOL)
Line 23: Line 23:
  
 
After doing this, the target host will be sent a WOL packet from the FOG server.
 
After doing this, the target host will be sent a WOL packet from the FOG server.
 +
 +
= High CPU load from web interface =
 +
 +
There is a tool called apachetop that will list the amount of requests every file served by Apache receives, along with the total amount of data sent via that file. This tool will prove invaluable in solving web load issues.
 +
 +
To install apachetop on Fedora 23:
 +
 +
<pre>dnf install apachetop -y</pre>
 +
 +
Then to run it, simply type:
 +
 +
<pre>apachetop</pre>
 +
 +
apachetop is probably available for other distributions too.

Revision as of 03:31, 26 April 2016

Page under construction. Below you'll find notes that are being collected to make into an article.

Fatal error: Allowed memory size of xxxxxxxx bytes exhausted

Reference: Fog Version 5507 Cannot Access Host Management

Solution: Raise the web interface's memory limit: FOG Configuration -> FOG Settings -> General Settings -> FOG_MEMORY_LIMIT

It’s done in megs, so 128 = 128M, 256 = 256M etc…

Manually test WOL

This is the web address to manually test FOG's WOL functionality:

http://x.x.x.x/fog/management/index.php?sub=wakeEmUp&mac=aa:bb:cc:dd:ee:ff

Where x.x.x.x is your FOG server's IP address, and aa:bb:cc:dd:ee:ff is the MAC address of the host you wish to wake up.

For instance, if my FOG server's IP is 10.0.0.7 and the target host's MAC is 14:fe:b5:df:fc:7e I would then put the below web address into the address bar of a web browser and then press enter / click go.

http://10.0.0.7/fog/management/index.php?sub=wakeEmUp&mac=14:fe:b5:df:fc:7e

After doing this, the target host will be sent a WOL packet from the FOG server.

High CPU load from web interface

There is a tool called apachetop that will list the amount of requests every file served by Apache receives, along with the total amount of data sent via that file. This tool will prove invaluable in solving web load issues.

To install apachetop on Fedora 23:

dnf install apachetop -y

Then to run it, simply type:

apachetop

apachetop is probably available for other distributions too.