Skip to content

Websocket error #429

@AlexKovalevych

Description

@AlexKovalevych

I've used websocket similar to example in the documentation. After several messages sent getting this error. It happens from time to time unpredictably (means may happen after several requests or work for tens of requests and fail after that). Any idea where can be the problem and how to solve it?

socket.accept() out of system resource
socket: <socket.socket fd=6, family=AddressFamily.AF_INET, type=SocketType.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 8000)>
Traceback (most recent call last):
  File "/usr/local/Cellar/python3/3.4.2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/asyncio/selector_events.py", line 137, in _accept_connection
  File "/usr/local/Cellar/python3/3.4.2/Frameworks/Python.framework/Versions/3.4/lib/python3.4/socket.py", line 184, in accept
OSError: [Errno 24] Too many open files

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions