Skip to main content
Jannik
New Member
January 23, 2020
Solved

FortiOS 6.2.3 - high Memory, low CPU, DNS Filter unreachable

  • January 23, 2020
  • 1 reply
  • 14356 views

Hi everyone,

 

FG61E active-active HA

 

Since v.6.2.3 we have very high memory usage. The Fortigates go into  conserve mode all the time and i can't get the memory any lower than 77%. I disabled unrequiered features, switched some policies from proxy-based to flow-based, reduced the session timers, logging etc. Nothing helps. The memory overflows while the CPU runs on <5% most of the time. I have a customer with about 20x FG 30E. Some of these do nothing but IP-Sec VPN and nothing else yet but the memory there is also on 68% while the CPU is <5%.  What can I do to reduce my memory usage? Or is it a firmware issue? There were problems with the memory management in v6.2.0 and 6.2.2 in the past.

 

 

Also I noticed that the FortiGuard DNS Filter Server is unreachable in v6.2.3. I configured the DNS Filter IP from v.6.2.2 (on which it works) and it doesn't work on v6.2.3 either. I already have a case open with fortinet about the DNS Filter issue.

 

 

-Jannik

Best answer by Yurisk

Just stumbled on Fortigate 80F with this 6.2.3 having a weekly time off entering Conserve Mode on high memory usage, with 3 security rules and average 250-300 browsing sessions, no DNS Filter is used. Advised client to upgrade FortiOS ASAP.

 

 

1 reply

andrewbailey
New Member
January 23, 2020

Hi Jannik,

 

I don't have any immediate answers for you- but I am seeing similar problems on a 60E and a 30E. I believe they are firmware related.

 

Both have high memory use on initial reboot and the memory use grows over time until conserve mode is reached. The 30E was particularly bad- and I have ended up downgrading to 6.2.2 (which is slightly better and just takes longer to reach converse mode).

 

The release notes for 6.2.3 have been revised this week:-

 

https://docs.fortinet.com/document/fortigate/6.2.3/fortios-release-notes/760203/introduction-and-supported-models

 

and they show quite a long list of known issues, including:-

[ul]
  • 563250 Shared memory does not empty out properly under /tmp.(Anti-virus)

  • 582374 License shows expiry date of 0000-00-00. (DNS Filter)

  • 594598 Enabling proxy policies (+400) increases memory by 30% and up to 80% total. (Explicit Proxies).

  • 575224 WAD high memory usage from worker process causing conserve mode and traffic issues (Proxy).

  • etc etc....[/ul]

     

    Any or all of these could be causing your problems.

     

    I have two tickets open (one for a 60E and one for a 30E). So far neither ticket has identified anything new or a resolution for my issues. Slightly frustrating really.......

     

    I hope that helps you a little at least!

     

    Kind Regards,

     

     

    Andy.

     

     

     

  • Jannik
    JannikAuthor
    New Member
    January 23, 2020

    Hi Andy,

     

    yes it is really frustrating because the memory issues are going on for quite some time/versions now. I would roll back to 6.0.X if it weren't for the better Wifi GUI and features in 6.2.X. How is it with the DNS Filter Server on your units? Also unreachable?

    andrewbailey
    New Member
    January 23, 2020

    Hi again Jannik,

     

    I'm pretty sure that I have the DNS Filter is working. But, you are making me doubt slightly so I'll double check again later for you.

     

    However, if I remember correctly one of the 6.2.X releases has introduced HTTPS support for Fortiguard updates. I've seen some intermittent/ long delay issues with Fortiguard servers (Web Filtering, DNS Filter servers ) over HTTPS using the default port 443 (but also with some UDP options too). I've ended up using HTTPS over port 53 which for me seems to be more reliable and stable here in Europe.

     

    Of course using HTTPS rather than UDP for the FortiGaurd updates makes sense from a security point of view but it almost seems to be the feature has been enabled in the FortiOS before the back end infrastructure has been fully deployed.

     

    Also worth noting that I'm using enforcing DNS over TLS and using non-standard (ie not Fortinet) DNS servers. In my case I'm using CloudFlare and Quad9 (both of which seem fast and support DNS over TLS).

     

    The DNS settings in the GUI give quite a good almost real time view of the server reachability for DNS, Web filtering etc. So I keep an eye on that to see what is happening.

     

    So, perhaps some configuration settings your could try changing? Might help improve what you are seeing currently?

     

    There is also some troubleshooting tips in the Cookbook on the docs website which might be useful. See here:-

     

    https://docs.fortinet.com/document/fortigate/6.2.3/cookbook/126629/dns-troubleshooting

     

    Best of luck, and I'll update you later on anything else I see.

     

    Kind Regards,

     

     

    Andy.