frevib / io_uring-echo-server

io_uring echo server
MIT License
365 stars 55 forks source link

io_uring_echo_server becomes unresponsive in an uninterruptible sleep state #13

Closed npuichigo closed 3 years ago

npuichigo commented 3 years ago

I faced the same issue during long running of the io_uring based server. Have u ever addressed this issue or have some insights about it?

frevib commented 3 years ago

Could you refer the to the other same issue?

npuichigo commented 3 years ago

Here I use io_uring together with c++ coroutines to write a simple tcp server. After running for a long time, the io_uring_enter is hang and has no response to any new request. I use top to check the process and it's just sleeping.

frevib commented 3 years ago

No, I haven’t run into this issue. But I also haven’t been involved in io_uring anymore for quite some time.

This seems like an issue with io_uring itself. I suggest asking

on the ML: https://lore.kernel.org/io-uring/ Jens on Twitter: @axboe

npuichigo commented 3 years ago

Thanks for your reply. I saw your extra information here so I think you may have ran into the same issue.

ericniebler commented 3 years ago

Yuchao, can you comment on why you closed this?

npuichigo commented 3 years ago

Hi @ericniebler, I replied in libunifex here and I think it's not a bug of io_uring.