Skip to main content
Contributor III
November 25, 2010
Question

CPU load > 95%

  • November 25, 2010
  • 14 replies
  • 10816 views
I have two FortGate 800 connected in HA. The CPU load is more than 95% at all time. Diagnose sys top shows two instances of miglogd wich consumes 80% of the CPU and imd wich consumes the rest. What is the miglogd. Why does this deamon consume so much CPU. Can this deamon be stopped/restarted. How do I do that. Thanks for any advice.

    14 replies

    abelio
    SuperUser
    SuperUser
    November 25, 2010
    Hello, you' re talking about IM proxy; you can restart it using CLI command: " diagnose test application im 99" same thing for log proxy. Maybe you' re running a firmware version which known bugs; check it out once again. regards
    Contributor III
    November 26, 2010
    My current status is V4.0 build 0291.100824 (MR2 patch 2)
    FortiRack_Eric
    New Member
    November 26, 2010
    There is a q&d way to restart this process if the solution Abelio mentioned doesn' t work with diag sys top identify the process id of miglogd and then diag sys kill 11 <proc-id> this will kill the process and it will restart automatically cheers, Eric
    Contributor III
    November 26, 2010
    Thanks. Killing the process certanly helped. I killed one of the two miglogd processes and now I have one miglogd process sleeping. The system also responds much faster. Strange thing though, the dashboard still shows CPU usage 92-99% Diagnose sys top show avg usage 13% with imd using 90% of this.
    Victor
    New Member
    November 30, 2010
    I am experiencing a similar problem. I am running an interim code 298 on the new 3040B and in peak traffic the CPU can reach 95%. What I find interesting is the traffic still flows and the policies are still enforced. Was that the case with your situation or was traffic performance compromised. Victor P.S.: I do have a call ticket open with Fortinet on this issue.
    veechee
    New Member
    November 30, 2010
    magnnyb, There is a bug in the current MR2 release that can lead to 95%+ CPU usage when traffic shaping rules are in use; the Bug ID is 129497. I have had it occur a couple of times after about 2 weeks of uptime on a FGT-60C unit. Your problem sounds similar, because the second time this happened to me, I didn' t noticed until 5 PM, and no user had complained all day about network problems, even though CPU usage was at 99.9 percent. The logs never showed any conserve or fail mode. I' m told by support that Bug ID 129497 is fixed in the next release, and in the meantime, here are the commands they gave me to confirm if this is in fact the bug you are affected by: Run these commands:
    diag deb en
    diag deb app authd 255
    Normal output message:
    message_loop: checking timeouts
    when authd generates High CPU usage you might get this output:
    authd_traffic_quota.c:98 authd_ts_read: called
    Victor
    New Member
    December 1, 2010
    Thanks for the info. I do have one traffic-shaping policy but it is not active and was centred on limiting the ftp updates that saturated our internet connection when the majority of 20,000 workstations started up after a 2 mo. hiatus. At present, we are also not using authentication (I assume that is what the authd daemon is for). Rather our policies/profiles are based on src/dst addresses. My issue seems to be with a brand new platform and special builds branched off of the general release. Fortinet Tech support & I are working on isolating the source of the issue and I will post our findings when we have some answers.
    veechee
    New Member
    December 1, 2010
    I don' t use authentication of any kind either, so that is not a necessary condition to by plagued by the bug I' ve experienced. Look forward to hearing what you find out with support.
    red_adair
    New Member
    December 2, 2010
    miglogd the the Logging-Daemon. It' s responsible for sending Logmessages to Syslog or FortiAnalyzer. The Daemon is optimised for sending Logfiles in binary Format to FortiAnalyzer. When you' re using Syslog it has extra work to do to convert the Binary Format into " Text" first and send it to syslog. -R.
    Victor
    New Member
    December 6, 2010
    Thanks for all the input. The CPU issue for my box and build is a bug(s) in the code and is slated to be fixed in 4.2.3. Victor
    cmberry
    New Member
    December 7, 2010
    The CPU issue for my box and build is a bug(s) in the code and is slated to be fixed in 4.2.3.
    And did they say WHEN? I heard Dec week 1, but I think that ends today....
    ede_pfau
    SuperUser
    SuperUser
    December 8, 2010
    which year?
    horinius
    New Member
    June 30, 2011
    Hi, This thread has no activity for more than 6 months. Latest version for 4.2 is 4.2.7 now. Is the issue solved? TIA
    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!