OPNsense Forum

English Forums => General Discussion => Topic started by: chadle on April 18, 2019, 10:46:35 am

Title: Sensei requires at least 4GB of physical memory! Installer will exit now.
Post by: chadle on April 18, 2019, 10:46:35 am
HI:

I am trying to get Sensei working for one of my customers.  It is not installing based on my memory size.  This is running as a VM and I increase to 12GB.  Here is what I typed to install and the results.  It also shows a memory command. Much appreciated for any help you can provide.
Anyone run into this error.  I am running a VM and increase the mem by 8GB so total of 12GB now and still getting this error. The available memory shows 3GB.  So is there a place I need to change the memory within the OS to use all 12GB?

root@opnsense:~ # curl https://updates.sunnyvalley.io/getsensei8 | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2099  100  2099    0     0    609      0  0:00:03  0:00:03 --:--:--   608
Sensei requires at least 4GB of physical memory! Installer will exit now.
root@opnsense:~ # grep memory /var/run/dmesg.boot
real memory  = 12884901888 (12288 MB)
avail memory = 3133255680 (2988 MB)
root@opnsense:~ #
Title: Re: Sensei requires at least 4GB of physical memory! Installer will exit now.
Post by: Maurice on April 18, 2019, 11:54:06 am
You are using the amd64 version, right?
Title: Re: Sensei requires at least 4GB of physical memory! Installer will exit now.
Post by: chadle on April 18, 2019, 09:10:34 pm
Thanks for your response.  This is what is shows in the Dashboard.  Anything else that I could look at to find this answer.

Versions   OPNsense 18.7.10_4-i386
FreeBSD 11.1-RELEASE-p18
OpenSSL 1.0.2q 20 Nov 2018

CPU Type   Intel(R) Xeon(R) CPU E5-2640 v4 @ 2.40GHz (2 cores)


Memory usage   
14 % ( 451/3043 MB )


Memory is showing 3GB but I have given 12GB but it is not recognizing it.  Is there anything to do to get FreeBSD to use the additional memory.

root@opnsense:~ # grep memory /var/run/dmesg.boot
real memory  = 12884901888 (12288 MB)
avail memory = 3133255680 (2988 MB)
root@opnsense:~ # sysctl hw.physmem
hw.physmem: 3191140352
Title: Re: Sensei requires at least 4GB of physical memory! Installer will exit now.
Post by: hbc on April 18, 2019, 11:37:08 pm
Quote
OPNsense 18.7.10_4-i386
You are running 32bit version. It cannot address more than 4gb.

You need to install 64bit version.
Title: Re: Sensei requires at least 4GB of physical memory! Installer will exit now.
Post by: chadle on April 19, 2019, 01:33:40 am
Oh Damn.  Thank you so much for your help.

Can I just backup and download the settings and import them to a new VM with 64bit build?

Any issues on going from 18.7 to 19.1 and upgrade at the same time?
Title: Re: Sensei requires at least 4GB of physical memory! Installer will exit now.
Post by: hbc on April 19, 2019, 07:48:46 am
Oh Damn.  Thank you so much for your help.

Can I just backup and download the settings and import them to a new VM with 64bit build?

Any issues on going from 18.7 to 19.1 and upgrade at the same time?
Should both be possible.
If you install over your 32 bit installation, it could be possible that configuration can be directly imported into new installation. Installer scans for previous installations with config.