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

    Web Interface Running slow

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    2
    2.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.
    • A
      Aaron
      last edited by

      Our fog web interface is runing slow, any ideas what could be causing it?

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

        maybe this helps 8a copy fron the old forum):

        The disk pie chart (along with the server stats page) time out and returns Unable to pull server information

        The issue: the Fetch function uses the proxy settings provided in the fog settings (otherInfo>Fogsettings) but the storage node is most likely to be on the same LAN (or even the same server) and does not require a proxy sever.

        FIX1: configure the proxy server to deal with internal requests.
        OR
        FIX2: at the very end of /var/www/fog/commons/functions.include.php

        replace these 2 lines
        <code>
        //Proxy
        if($Proxy)
        </code>
        with:
        <code>
        //Proxy
        $url1 = explode(“/”, $URL);
        $noproxyfor = array(“192.168.”, “10.”);
        foreach($noproxyfor as $ip) {
        if(substr($url1[2], 0, strlen($ip)) == $ip) $Proxy = false;
        }
        if ($Proxy)
        </code>

        the array is of the IPs of the servers/ranges that you do not wish to proxy. it looks at the start of the hostname for the strings in the array
        eg. any host starting with “192.168.” and “10.” so this would include “192.168.1.2” and “10.2.5.7”
        feel free to add and edit the values in teh array for your lan/server

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

        245

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project