-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Will not start on XEN/XCP due to memory #1428
Labels
bug
Something isn't working
Comments
Have you tried doing like 4352mb? I know I've had the issue on some other
VMs where the hypervisor was doing something weird and it wasn't passing
all the RAM through, never really dug into it just increased it a smidge
and was good.
…On Sun, Jan 26, 2025, 6:13 PM Paul Emmons ***@***.***> wrote:
*Describe the bug*
In a fresh install on a XCP-NG (8.2.1) running a Debian 22-04 LTS VM set
to 4gb of RAM we are receiving a memory error on start. We are using the
binary 1.33.0. When changing the memory to 5g it works as expected.
*Provide an example*
from syslog:
Jan 27 00:53:56 ric-bgp-alerter systemd[1]: Started BGPalerter.
Jan 27 00:53:56 ric-bgp-alerter bgpalerter-linux-x64[33697]:
/snapshot/BGPalerter/dist/index.js:107
Jan 27 00:53:56 ric-bgp-alerter bgpalerter-linux-x64[33697]: throw new
Error("You need 4GB or RAM to run BGPalerter");
Jan 27 00:53:56 ric-bgp-alerter bgpalerter-linux-x64[33697]: ^
Jan 27 00:53:56 ric-bgp-alerter bgpalerter-linux-x64[33697]: Error: You
need 4GB or RAM to run BGPalerter
Jan 27 00:53:56 ric-bgp-alerter bgpalerter-linux-x64[33697]: at Object.
(/snapshot/BGPalerter/dist/index.js:107:13)
Jan 27 00:53:56 ric-bgp-alerter bgpalerter-linux-x64[33697]: at
Module._compile (pkg/prelude/bootstrap.js:1926:22)
Jan 27 00:53:56 ric-bgp-alerter bgpalerter-linux-x64[33697]: at
Module._extensions..js (node:internal/modules/cjs/loader:1166:10)
Jan 27 00:53:56 ric-bgp-alerter bgpalerter-linux-x64[33697]: at
Module.load (node:internal/modules/cjs/loader:988:32)
Jan 27 00:53:56 ric-bgp-alerter bgpalerter-linux-x64[33697]: at
Module._load (node:internal/modules/cjs/loader:834:12)
Jan 27 00:53:56 ric-bgp-alerter bgpalerter-linux-x64[33697]: at
Function.runMain (pkg/prelude/bootstrap.js:1979:12)
Jan 27 00:53:56 ric-bgp-alerter bgpalerter-linux-x64[33697]: at
node:internal/main/run_main_module:17:47
Jan 27 00:53:56 ric-bgp-alerter bgpalerter-linux-x64[33697]: Node.js
v18.5.0
Jan 27 00:53:56 ric-bgp-alerter systemd[1]: bgpalerter.service: Main
process exited, code=exited, status=1/FAILURE
Jan 27 00:53:56 ric-bgp-alerter systemd[1]: bgpalerter.service: Failed
with result 'exit-code'.
***@***.***:~# grep MemTotal /proc/meminfo
MemTotal: 3979580 kB
*Expected behavior*
Expected to load.
*Your information*
Paul from Ninja-IX AS 53698
—
Reply to this email directly, view it on GitHub
<#1428>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTLV7VNXRXDXWGU3JWHQC32MWB4ZAVCNFSM6AAAAABV5AMIH6VHI2DSMVQWIX3LMV43ASLTON2WKOZSHAYTCOJQGQZTQNQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
In a fresh install on a XCP-NG (8.2.1) running a Debian 22-04 LTS VM set to 4gb of RAM we are receiving a memory error on start. We are using the binary 1.33.0. When changing the memory to 5g it works as expected.
Provide an example
from syslog:
Jan 27 00:53:56 ric-bgp-alerter systemd[1]: Started BGPalerter.
Jan 27 00:53:56 ric-bgp-alerter bgpalerter-linux-x64[33697]: /snapshot/BGPalerter/dist/index.js:107
Jan 27 00:53:56 ric-bgp-alerter bgpalerter-linux-x64[33697]: throw new Error("You need 4GB or RAM to run BGPalerter");
Jan 27 00:53:56 ric-bgp-alerter bgpalerter-linux-x64[33697]: ^
Jan 27 00:53:56 ric-bgp-alerter bgpalerter-linux-x64[33697]: Error: You need 4GB or RAM to run BGPalerter
Jan 27 00:53:56 ric-bgp-alerter bgpalerter-linux-x64[33697]: at Object. (/snapshot/BGPalerter/dist/index.js:107:13)
Jan 27 00:53:56 ric-bgp-alerter bgpalerter-linux-x64[33697]: at Module._compile (pkg/prelude/bootstrap.js:1926:22)
Jan 27 00:53:56 ric-bgp-alerter bgpalerter-linux-x64[33697]: at Module._extensions..js (node:internal/modules/cjs/loader:1166:10)
Jan 27 00:53:56 ric-bgp-alerter bgpalerter-linux-x64[33697]: at Module.load (node:internal/modules/cjs/loader:988:32)
Jan 27 00:53:56 ric-bgp-alerter bgpalerter-linux-x64[33697]: at Module._load (node:internal/modules/cjs/loader:834:12)
Jan 27 00:53:56 ric-bgp-alerter bgpalerter-linux-x64[33697]: at Function.runMain (pkg/prelude/bootstrap.js:1979:12)
Jan 27 00:53:56 ric-bgp-alerter bgpalerter-linux-x64[33697]: at node:internal/main/run_main_module:17:47
Jan 27 00:53:56 ric-bgp-alerter bgpalerter-linux-x64[33697]: Node.js v18.5.0
Jan 27 00:53:56 ric-bgp-alerter systemd[1]: bgpalerter.service: Main process exited, code=exited, status=1/FAILURE
Jan 27 00:53:56 ric-bgp-alerter systemd[1]: bgpalerter.service: Failed with result 'exit-code'.
root@ric-bgp-alerter:~# grep MemTotal /proc/meminfo
MemTotal: 3979580 kB
Expected behavior
Expected to load.
Your information
Paul from Ninja-IX AS 53698
The text was updated successfully, but these errors were encountered: