Categories
Knowledge Support Support Categories Products exacqVision Integrations

Fork error issue

Linux Fork issue:

Any customer having this issue should increase their swap from 512 to at least 1GB or 2GB. (2 recommended)

To work around this issue we can manually add additional swap space with the following commands:

sudo dd if=/dev/zero of=/swapfile2 bs=1M count=1024

sudo chmod 600 /swapfile2
sudo mkswap /swapfile2
echo $'/swapfile2\tswap\tswap\tdefaults\t0\t0' | sudo tee --append /etc/fstab
sudo swapon -a
swapon -s

Note the above commands will add an extra 1GB of swap. If you want less or more change the 1024 in the dd command to the number of megabytes of additional swap you want.

More data needed to resolve this issue

I’d be interested to see the memory usage from the following commands in these scenarios:

NOTE: please run and provide the output of these commands when the systems is in the state of showing the fork error.

ps -eo pcpu,rss,vsize,pid,user,command --sort -vsize
free -m
swapon -s

8.8 release will remove the fork error for the USB device scan.

For clarification, the message is only disabled for the USB device scan. Other areas that may cause the fork error are direct archive search, checking for updates, and ESM syncing. These are basically areas where we execute another process from the client (ie curl or a bash script). The other places where it can pop up can be somewhat controlled by not using, so we eliminated the popup that the user has no control over.

<br>

Fix

The link below is the latest Trunk build that contains the fix for this issue. The fix will soon move to an RC and later an official build. In the meantime, install the Trunk Build below to resolve. 

NOTE: It doesnt hurt to increase the swap but is not needed if you install this fix.

https://tycoenterprise.box.com/s/c53t9m0h75vdbtq1kb28dofpfqhltp0x