cmdbbgfork:670 fork( ) failed: 12(Cannot allocate memory)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 'cmdbbgfork: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?
Please check also the SAP Note#2634443 If this will not help, I would recommend to open a support incident to the component BC-OP-LNX or HAN-DB. I installed ESXi 5.1 on a host machine which has 4GB of memory. The host console screen indicated 4GiB of memory after installation But when I use vSphere client to deploy VMs on it, it shows Total capacity of the host as memory. As a result, I can't power on a 3GB RAM VM Please, somebody help? Thanks a lot.
Reporting that I just ran into this issue on a 60E running 5.4.3. Change to source IP in firewall policy wasn't taking. Went to start up debug flow and when I entered 'diag debug enable', this error started popping up every second.
Killed the most memory using instance of ipsengine, and the error went away, and my policy's new source IP worked. I then removed my test source IP from the policy, and in the CLI this error immediately resumed, and my policy change did not take.
Killed ipsengine again, error went away, policy change took OK. Unrelated, I found out 5.4.3 and 5.4.4 is hanging up 100E models, and support claims it's fixed in 5.4.5. I'm going to start reverting everything I can to 5.4.1. I'm also having this problem on my Fortigate 30E, only way to access the firewall when this happens is through the serialport. But since it's continously sending this message to the console I'm unable to manage the firewall. Fork failed cmdbbgfork:668 fork( ) failed: 12(Cannot allocate memory) fork failed cmdbbgfork:668 fork( ) failed: 12(Cannot allocate memory) fork failed cmdbbgfork:668 fork( ) failed: 12(Cannot allocate memory).
Before this happened I didn't even have that many active sessions (about 2500), and also it happened when I was editing a firewall policy. MBR Hi Peter, Which FortiOS version are you using?I'm running the latest 5.6 on my 30E. Just did a factory restore and then restored my configuration so now I'm back up and running, for a while at least. This has happened two times earlier, seems like when the internal storage gets filled up it sooner or later starts acting up, as if the flash memory was flawed and when it stumbles upon this the error starts. This is just me guessing the cause of the problem, but since there doesn't appear to be any utilities for controlling this it's difficult to diagnostic. Also I did format the entire flash and restored the 5.6 firmware using TFTP but even this didn't seem to solve it as the error re-appeared.
I am not competent on server issues, any help is much appreciated. When try to start a python/django shell on a linux box, I am getting OSError: Errno 12 Cannot allocate memory.free -m seems to confirm I am out of memory: total used free shared buffers cachedMem: 590 560 29 0 3 37-/+ buffers/cache: 518 71Swap: 0 0 0But I cannot see what is eating up the memory with top or ps aux: PID USER PR NI VIRT RES SHR S%CPU%MEM TIME+ COMMAND1 root 20 0 24336 908 0 S 0.0 0.2 0:00.68 init2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd3 root 20 0 0 0 0 S 0.0 0.0 0:04.85 ksoftirqd/0How can I identify the leak? Thanks.BTW, I am not sure if it is relevant, but the machine I am talking about is an AWS EC2 instance with Ubuntu 12 running. Try this:. Go into top. Press F (i.e., Shift+ F) to specify the sort field. Type N.This will turn the lowercase n in the list into an uppercase N.
Press Enter. The list should now be sorted by memory usage.Press?
Or h at the main screen for more options.