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

Disk Read is too high when memory is exhausted #74128

Closed
shsjshentao opened this issue Feb 15, 2019 · 6 comments
Closed

Disk Read is too high when memory is exhausted #74128

shsjshentao opened this issue Feb 15, 2019 · 6 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. sig/node Categorizes an issue or PR as relevant to SIG Node. sig/windows Categorizes an issue or PR as relevant to SIG Windows.

Comments

@shsjshentao
Copy link
Contributor

shsjshentao commented Feb 15, 2019

image

What happened:
High disk read
What you expected to happen:
low disk read

How to reproduce it (as minimally and precisely as possible):
use polinux/stress image
run stress --vm 1 --vm-bytes 125M --vm-hang 1 in many pods or docker containers over max host memory
then look iotop or iostat
Anything else we need to know?:
none
Environment:

  • Kubernetes version (use kubectl version):
    k8s 1.13.1
  • Cloud provider or hardware configuration:
    docker 1.13.1
  • OS (e.g. from /etc/os-release):
    centos 7.2
  • Kernel (e.g. uname -a):
    4.4
  • Install tools:
    iotop
  • Others:
    none
@shsjshentao shsjshentao added the kind/bug Categorizes issue or PR as related to a bug. label Feb 15, 2019
@k8s-ci-robot k8s-ci-robot added the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label Feb 15, 2019
@shsjshentao
Copy link
Contributor Author

shsjshentao commented Feb 18, 2019

I think it is the same with https://github.com/kubernetes/kubernetes/issues/61999
@dashpole

@neolit123
Copy link
Member

/sig node

@k8s-ci-robot k8s-ci-robot added sig/node Categorizes an issue or PR as relevant to SIG Node. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Feb 18, 2019
@anarchistHH1983
Copy link

anarchistHH1983 commented Feb 18, 2019 via email

@k8s-ci-robot k8s-ci-robot added the sig/windows Categorizes an issue or PR as relevant to SIG Windows. label Feb 18, 2019
@dashpole
Copy link
Contributor

It probably isn't 100% the same as #61999, since that was fixed all the way back in 1.10.

Is there a reason why you are running 4 kubelets?

Can you tell me more about the memory exhaustion? The image looks like it is just showing high I/O

@shsjshentao
Copy link
Contributor Author

shsjshentao commented Feb 20, 2019

I only run one kubelet,and many things (not only kubelet) will happen high read io if memory exhausted.
And kubelet du is very slow
Feb 20 03:13:34 10-23-134-252 hyperkube[1549]: I0220 03:10:47.027142 1549 fsHandler.go:135] du and find on following dirs took 36m30.243286852s: [/var/lib/docker/overlay2...

@shsjshentao
Copy link
Contributor Author

sorry, it's not k8s bug, when i ran containers without k8s, it still happened this issue. Maybe a kernel issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. sig/node Categorizes an issue or PR as relevant to SIG Node. sig/windows Categorizes an issue or PR as relevant to SIG Windows.
Projects
None yet
Development

No branches or pull requests

5 participants