Skip to content

Unikraft redis doesn't start with kraft run, works correctly when started with Qemu #8

Open
@andrejvelichkovski

Description

@andrejvelichkovski

Hello, I noticed that when starting redis with the run option (instead of run_qemu) in the MUSL scripts it gives this error:

0:M 05 Dec 2022 19:40:42.023 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
0:M 05 Dec 2022 19:40:42.026 # Redis version=5.0.6, bits=64, commit=c5ee3442, modified=1, pid=0, just started
0:M 05 Dec 2022 19:40:42.031 # Configuration loaded
0:M 05 Dec 2022 19:40:42.097 # You requested maxclients of 10000 requiring at least 10032 max file descriptors.
0:M 05 Dec 2022 19:40:42.102 # Server can't set maximum open files to 10032 because of OS error: No such file or directory.
0:M 05 Dec 2022 19:40:42.107 # Current maximum open files is 1024. maxclients has been reduced to 992 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'.
0:M 05 Dec 2022 19:40:42.116 # Fatal: Can't initialize Background Jobs.

It works all good when started directly with Qemu, so I guess this is not a big issue, but I wanted to report it still in case it helps with something else.

I have used this script for setup/build/run/run_qemu: https://github.com/unikraft-upb/scripts/blob/main/musl/do-redis

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions