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

stdout maxBuffer length exceeded #3925

Closed
TTAbwill opened this issue Feb 21, 2024 · 6 comments · Fixed by #4061
Closed

stdout maxBuffer length exceeded #3925

TTAbwill opened this issue Feb 21, 2024 · 6 comments · Fixed by #4061
Assignees
Labels
Milestone

Comments

@TTAbwill
Copy link

Type: Bug

Describe the bug

Error message with OpenShift Cluster 4.12.49 by opening a namespace with a lot of deployments: stdout maxBuffer length exceeded

Expected Behavior

List namespace objects

Current Behavior

Error: stdout maxBuffer length exceeded

Steps to Reproduce

  1. Connect to OpenShift cluster
  2. Open a namespace with a lot of objects

Environment

Extension version: 1.11.0
VS Code version: Code 1.86.2 (903b1e9d8990623e3d7da1df3d33db3e42d80eda, 2024-02-13T19:40:56.878Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Remote OS version: Linux x64 5.14.0-378.el9.x86_64

@vrubezhny
Copy link
Contributor

@TTAbwill Any logs/stacktraces/additional info (like number of deployments or other objects etc.) that can help to isolate the problem?

@lgrossma
Copy link
Contributor

@TTAbwill can you please specify how many is "a lot of objects". I tried this with 15 deployments and got no error.

@TTAbwill
Copy link
Author

@lgrossma There are 216 deployments and some statefulsets ending up in about 400 pods inside the project.

@lgrossma
Copy link
Contributor

@vrubezhny I managed to replicate this. Created a cluster with over 200 deployments and when trying to list all the Pods under the Workloads tree item, I got the same error. The deployments itself loaded fine though. Also the Image Streams under the workloads loaded without a problem. Seems like the pods were the culprit in this case..

@vrubezhny
Copy link
Contributor

@lgrossma Any stacktraces available?

vrubezhny added a commit to vrubezhny/vscode-openshift-tools that referenced this issue Apr 12, 2024
The default value is set to 4Gb.

Fixes: redhat-developer#3925

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
vrubezhny added a commit to vrubezhny/vscode-openshift-tools that referenced this issue Apr 13, 2024
The default value is set to 4Gb.

Fixes: redhat-developer#3925

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
vrubezhny added a commit to vrubezhny/vscode-openshift-tools that referenced this issue Apr 13, 2024
The default value is set to 4Gb.

Fixes: redhat-developer#3925

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
vrubezhny added a commit to vrubezhny/vscode-openshift-tools that referenced this issue Apr 13, 2024
The default value is set to 4Gb.

Fixes: redhat-developer#3925

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
@datho7561
Copy link
Contributor

I tried reproducing on kind, but I was unable to run the extension due to my files being open. I tried reproducing on OpenShift Sandbox, but got resource limited to 30 deployments. I'll try minikube or crc next, maybe that will get around the "opened files" limitation, since it should be running in a VM.

datho7561 pushed a commit that referenced this issue Apr 15, 2024
The default value is set to 4Gb.

Fixes: #3925

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
@datho7561 datho7561 added this to the 1.14.0 milestone Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

4 participants