Skip to content
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

Open
ninjaix opened this issue Jan 27, 2025 · 1 comment
Open

Will not start on XEN/XCP due to memory #1428

ninjaix opened this issue Jan 27, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@ninjaix
Copy link

ninjaix commented Jan 27, 2025

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

@ninjaix ninjaix added the bug Something isn't working label Jan 27, 2025
@ninjaix ninjaix changed the title on XEN/XCP Will not start on XEN/XCP due to memory Jan 27, 2025
@bradbendy
Copy link

bradbendy commented Jan 27, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants