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

Issue when using only PMEMs #212

Closed
adam-abed-abud opened this issue Jul 16, 2020 · 2 comments
Closed

Issue when using only PMEMs #212

adam-abed-abud opened this issue Jul 16, 2020 · 2 comments

Comments

@adam-abed-abud
Copy link

Hi!

I'm trying to use only the PMEMs but when I change the configuration file (redis.conf) to "only-pmem" at line 1788 I get the following error. Have you encountered this issue before?

I built the project on a centos 8 machine using the memkind allocator.

Thanks
Adam

=== REDIS BUG REPORT START: Cut & paste starting from here ===
191495:M 16 Jul 2020 11:38:21.300 # Redis 5.9.102 crashed by signal: 11
191495:M 16 Jul 2020 11:38:21.300 # Crashed running the instruction at: 0x7ff622b8cb1d
191495:M 16 Jul 2020 11:38:21.300 # Accessing address: (nil)
191495:M 16 Jul 2020 11:38:21.300 # Failed assertion: (:0)

------ STACK TRACE ------
EIP:
/lib64/libc.so.6(vsnprintf+0x7d)[0x7ff622b8cb1d]

Backtrace:
./redis-server 127.0.0.1:6379(logStackTrace+0x2e)[0x46e93e]
./redis-server 127.0.0.1:6379(sigsegvHandler+0x96)[0x46efb6]
/lib64/libpthread.so.0(+0x12dd0)[0x7ff622ee7dd0]
/lib64/libc.so.6(vsnprintf+0x7d)[0x7ff622b8cb1d]
/lib64/libc.so.6(__snprintf+0x93)[0x7ff622b6c2e3]
./redis-server 127.0.0.1:6379(redisAsciiArt+0xc9)[0x431ac9]
./redis-server 127.0.0.1:6379(main+0x3c6)[0x4254f6]
/lib64/libc.so.6(__libc_start_main+0xf3)[0x7ff622b366a3]
./redis-server 127.0.0.1:6379(_start+0x2e)[0x42583e]

------ INFO OUTPUT ------
Segmentation fault (core dumped)

@michalbiesek
Copy link

Hi,

Could you share your NUMA configuration - an output from command numactl --hardware? Do you have configured PMEM NUMA node correctly? See https://pmem.io/2020/01/20/memkind-dax-kmem.html for details.
Do you have installed memkind which supports automatic detection of PMEM NUMA node? Before building and installing libmemkind from sources, please ensure that you have libdaxctl-devel (v66 or later) installed on your machine.

You could quickly test Redis you build to ensure your machine is configured correctly with:

  • make MALLOC=memkind CFLAGS=-DREDIS_TEST
  • ./redis-server test pmem

Best Regards Michal

@adam-abed-abud
Copy link
Author

Hi Michal,

Indeed by configuring the PMEM NUMA node, it worked fine!

Thanks a lot.

Cheers,
Adam

PatKamin added a commit to PatKamin/redis that referenced this issue Oct 28, 2022
[5.0.10-devel] Fix make test failing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants