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

io_uring regression in 6.1 kernel #4308

Open
arnaldo2792 opened this issue Nov 20, 2024 · 2 comments
Open

io_uring regression in 6.1 kernel #4308

arnaldo2792 opened this issue Nov 20, 2024 · 2 comments
Labels
area/core Issues core to the OS (variant independent) type/bug Something isn't working

Comments

@arnaldo2792
Copy link
Contributor

What happened?

The latest Linux 6.1 kernel introduced a regression in applications using the io_uring syscalls, which could result in processes hanging and not being killed. In particular, nodejs applications seem susceptible to this regression (see amazonlinux/amazon-linux-2023#840 for details).

Affected versions

Bottlerocket 1.27.1 variants using the 6.1 kernel:

  • aws-k8s-1.28*
  • aws-k8s-1.29*
  • aws-k8s-1.30*
  • aws-k8s-1.31*
  • vmware-k8s-1.28*
  • vmware-k8s-1.29*
  • vmware-k8s-1.30*
  • vmware-k8s-1.31*
@arnaldo2792 arnaldo2792 added type/bug Something isn't working area/core Issues core to the OS (variant independent) labels Nov 20, 2024
@arnaldo2792 arnaldo2792 pinned this issue Nov 20, 2024
@arnaldo2792
Copy link
Contributor Author

Workaround for nodejs applications

Set the UV_USE_IO_URING=0 environment variable in your affected workloads:

apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: <>
spec:
  selector:
    matchLabels:
      name: <>
  template:
    metadata:
      labels:
        name: <>
    spec:
      containers:
      - name: <>
        image: <>:<>
        #...
        env:
          - name: UV_USE_IO_URING
            value: '0'

@larhauga
Copy link

larhauga commented Dec 3, 2024

Any updates on when to expect bottlerocket 1.27.2 or 1.28.0 with this fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core Issues core to the OS (variant independent) type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants