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

More than a million opened file in docker: lsof: no pwd entry for UID 33 #2583

Open
thepiger opened this issue May 15, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@thepiger
Copy link

commented May 15, 2019

When docker server is running if i run lsof on the terminal I get a lot of UID error

lsof: no pwd entry for UID 33
lsof: no pwd entry for UID 33
lsof: no pwd entry for UID 33
lsof: no pwd entry for UID 33
lsof: no pwd entry for UID 33
lsof: no pwd entry for UID 33

NAME="Container Linux by CoreOS"
ID=coreos
VERSION=1855.4.0
VERSION_ID=1855.4.0
BUILD_ID=2018-09-11-0003
PRETTY_NAME="Container Linux by CoreOS 1855.4.0 (Rhyolite)"
ANSI_COLOR="38;5;75"
HOME_URL="https://coreos.com/"
BUG_REPORT_URL="https://issues.coreos.com"
COREOS_BOARD="amd64-usr"

how can I fix it?

@thepiger thepiger changed the title lsof: no pwd entry for UID 33 More than a million opened file in docker: lsof: no pwd entry for UID 33 May 15, 2019

@ajeddeloh

This comment has been minimized.

Copy link

commented May 16, 2019

I can't trivially reproduce this just running systemctl start docker && lsof. Do you have a minimal reproduction case?

Also the version of Container Linux you're running is quite old. Can you confirm the issue is still present on the latest Stable, Beta or Alpha image?

@thepiger

This comment has been minimized.

Copy link
Author

commented May 16, 2019

Hi, i have 15 coreOS vm on vsphere in my production environment, and I use these image for running kubernetes so all of my pod are deployed like docker container in my virtual machines. Moreover on docker i run a container with datatog agent for getting metrics.
Yesterday my colleague report me a malfunction of datadog, i tried to restart the agent and he report me that he couldnt logs well because of the limit in file handler so i tried to list with lsof |wc and i got a lot of errors and the result of more than one million of opened files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.