seastar
seastar copied to clipboard
iotune causes assertion error when the environment does not have enough memory
I found that iotune causes following assertion error when the environment does not have enough memory:
$ iotune --fs-check --evaluation-directory . --default-log-level info
iotune: seastar/src/core/resource.cc:636: seastar::resource::resources seastar::resource::allocate(seastar::resource::configuration &): Assertion `!remain' failed.
Aborting.
Backtrace:
0x53a4c8
0x56ea42
/opt/scylladb/libreloc/libc.so.6+0x3cb1f
/opt/scylladb/libreloc/libc.so.6+0x8ce5b
/opt/scylladb/libreloc/libc.so.6+0x3ca75
/opt/scylladb/libreloc/libc.so.6+0x267fb
/opt/scylladb/libreloc/libc.so.6+0x2671a
/opt/scylladb/libreloc/libc.so.6+0x35655
0x59c990
0x555de5
0x4fda88
0x4fd1e8
0x4af5ae
/opt/scylladb/libreloc/libc.so.6+0x2750f
/opt/scylladb/libreloc/libc.so.6+0x275c8
0x4ad1f4
Aborted (core dumped)
iotune is used from Scylla setup script, and users may not understand what is the problem with this message. It should have better error message.
Testing environment is on Vagrant(Virtualbox) with 1 cpu and 512MB memory, Rocky Linux 9.