-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
webostv keeps files open until file limit is reached #6749
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
Comments
Thank you for posting! I couln't pin point the faulty component which also led to maximum files open on Raspbian and so crashing HASS! |
4 days with comonent disabled and no more crashes. No more extra open files. |
I tried fixing the pylgtv module so it handles timeouts correctly, so hopefully this solves the problem in home assistant |
unfortunately the timeout stuff was not the only problem in the pylgtv module, the reason for the crash was an asyncio thread leak I'l update the code and wait for the maintainer to release it and then create a new pull request |
I run the newest version of the docker image (0.40.2) and experience problems with the lg webos component
Home Assistant release (
hass --version
):0.40.2
Python release (
python3 --version
):Python 3.5.3
Component/platform:
webostv
Description of problem:
when enabling the media_player webostv for my LG OLEDE6V tv it works fine but keeps opening connections as if it is waiting for something, and after a number of hours it reaches the max open files on the docker image with is 4096
Expected:
when the component is disabled hass works fine and never crashes, and the file descriptors look like this
Problem-relevant
configuration.yaml
entries and steps to reproduce:when I enable the config for the webostv hass start crasing with the open files limit
after a couple of minutes with the webos component open the file descriptors look like this
and lines like this just keep stacking up (as if it is running some command and waiting for it to finish
after hours of this hass crashes with an open files limit error
Traceback (if applicable):
Additional info:
disabling the component removes the error and if I enable it I get it back so it should be reproducable
The text was updated successfully, but these errors were encountered: