Skip to main content
MBR
New Member
April 18, 2017
Question

[__cmdb_bg_fork:670] fork( ) failed: 12(Cannot allocate memory)

  • April 18, 2017
  • 18 replies
  • 37464 views

I experience issues on several different FortiGate 60E firewalls with firmware 5.4.2 and 5.4.3.

After a period of uptime I experience that new changes (for example a new created policy) aren't working.

When doing troubleshooting in the cli I get  the error "[__cmdb_bg_fork:670] fork( ) failed: 12(Cannot allocate memory)"

When checking memory usage at that time only 60% memory is used.

The firewalls are configured with a simple config. In basic only an allow out policy with some default AV,Application Control and SSL certificate inspection.

 

I have to reboot the unit to get it resolved for some time until the issues comes back.

Anyone experiencing the same issue or know if this is a know issue with the 5.4.2 and 5.4.3 releases and can confirm it is resolved in 5.4.4 or has a solution for this issue?

 

MBR

    18 replies

    Alex_talmage
    New Member
    April 27, 2017

    I've just come across this error and similar symptoms.

     

    I'm running 5.4.2, and I've just set up a new interface running a dhcp server. Though the config appears to have stuck, it doesn't actually appear to have taken effect, I cannot ping the new interface, and the dhcp server doesn't appear to be functioning. When I ran diag debug enable, I'm seeing this exact message...

    Alex_talmage
    New Member
    April 27, 2017

    I've just worked around this:

     

    diag sys top

     

    Shows you the top processes. Hit M to sort by memory.

     

    Process wad was consuming 2GB of memory. This runs cache, wan optimization.

     

    Diag sys kill 11 <pid> killed the process. Error has stopped appearing in debug... I've got a ticket open with Fortinet so I will enquire as to why this was using so much resource and report back.

    emnoc
    New Member
    April 27, 2017

    Can you  try 5.4.4? But either way I would open a ticket w/FTNT and hope they give you  a speedy result.

     

    Ken

     

     

    Chris_Carson
    New Member
    January 11, 2018

    We have the same issue with a FGT100D on 5.4.4.  This issue is very frustrating and requires a full system restart to resolve.

    Chris_Carson
    New Member
    January 25, 2018

    Anyone tried 5.4.8 yet?

     

    Bug ID 443019 is listed in the release notes.

    https://docs.fortinet.com/uploaded/files/4166/fortios-v5.4.8-release-notes.pdf

     

    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.
    Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!