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

Segmentation fault when starting redis server with non existent path to pmfile #16

Closed
kasiawasiuta opened this issue Feb 7, 2018 · 1 comment

Comments

@kasiawasiuta
Copy link

kasiawasiuta commented Feb 7, 2018

Having myconfig.conf file with following registration:

pmfile /mnt/non-existent-dir/redis.pm 3gb

and starting redis-server:
./redis-server myconfig.conf
we get:

760:C 07 Feb 18:02:52.638 * Start init Persistent memory file /mnt/non-existent-dir/redis.pm size 3.00G
Segmentation fault (core dumped)

The same situation is when starting two processes of redis-server with two config files pointing to the same pmfile path (which exists in this case)
Redis version: 3.2.7-25-g1e7aa59
Pmdk version: 1.3+b2-614-g1bc6897

@arbc139
Copy link

arbc139 commented Feb 9, 2018

I solved to run redis-server with sudo authority.
Or... make directory on user home (ex. /home/totorody/pmem-mnt), and mount /dev/pmem0 to it. then run redis-server without sudo authority.

@KFilipek KFilipek closed this as completed Feb 7, 2020
michalbiesek pushed a commit to michalbiesek/redis that referenced this issue Jun 19, 2020
Back port memKeyDB to redis v3.2.12 --revised
PatKamin pushed a commit to PatKamin/redis that referenced this issue Jul 13, 2022
5.0.9 devel non doc pieces for deployment
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

3 participants