Description of problem:
while sending multiple failing port-forwarding requests, crio memory usage increases until the node dies
Version-Release number of selected component (if applicable):
OCP 4.15.2 cri-o-1.28.4-4.rhaos4.15.git92d1839.el9.x86_64
How reproducible:
all the time
Steps to Reproduce:
apiVersion: v1 kind: Pod metadata: name: myclient spec: restartPolicy: Never containers: - name: myclient image: quay.io/centos/centos:stream9 ports: - containerPort: 80 args: ["bash", "-c", "sleep 12000" ] resources: requests: cpu: 200m imagePullPolicy: IfNotPresent readinessProbe: failureThreshold: 3000 httpGet: path: /ready port: 8080 scheme: HTTP initialDelaySeconds: 1 periodSeconds: 1 successThreshold: 1 timeoutSeconds: 1
1. Create this pod 2. while sleep 1 ; do kubectl port-forward myclient 15000:8080 & sleep 1 && curl localhost:15000/ && wait; done
Actual results:
crio memory increases as long as the while loop above is running until there is no memory left
Expected results:
crio memory remains stable
Additional info:
https://issues.redhat.com/browse/OSSM-2344 might be what is causing the many port-forward in our case
- links to
-
RHBA-2024:4156 OpenShift Container Platform 4.16.z bug fix update