out of range for vm-bytes

Asked by Pascal den Bekker on 2021-02-03

Hello,

we are using the following:
- stress-ng: 0.07.16-1
- Debian: 9.13
- kernel: 4.19.133

I wanted to start a stress test on a machine with 1.5 TB of RAM. Usually we start the stress-test:

sudo systemd-run --slice=system.slice stress-ng -m64 -c64 -f64 --vm-bytes $(awk '/MemAvailable/{printf "%d\n", $2 * 0.9;}' < /proc/meminfo)k --vm-keep --timeout 48h

And this time I got back this error:

Value 1 is out of range for vm-bytes, allowed: 4096 .. 4294967296

Can someone help me out here ?

kind regards,

Pascal den Bekker

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu stress-ng Edit question
Assignee:
No assignee Edit question
Last query:
2021-02-03
Last reply:
2021-02-03

This is Ubuntu support. Not Debian. Debian has it's own forum here
http://forums.debian.net/

I suggest you post there.

Colin Ian King (colin-king) said : #2

What does the following command output?

echo $(awk '/MemAvailable/{printf "%d\n", $2 * 0.9;}' < /proc/meminfo)k

Can you help with this problem?

Provide an answer of your own, or ask Pascal den Bekker for more information if necessary.

To post a message you must log in.