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

file handlers // connection leak #6

Closed
rshah2019 opened this issue Nov 8, 2021 · 1 comment
Closed

file handlers // connection leak #6

rshah2019 opened this issue Nov 8, 2021 · 1 comment

Comments

@rshah2019
Copy link

rshah2019 commented Nov 8, 2021

It looks like my server crashes after few hours with file descriptor out of range error. It seems like resource clean up may not be happening. am I doing something wrong ?

File "/usr/local/lib/python3.6/site-packages/waitress/wasyncore.py", line 245, in loop poll_fun(timeout, map) File "/usr/local/lib/python3.6/site-packages/waitress/wasyncore.py", line 172, in poll r, w, e = select.select(r, w, e, timeout) ValueError: filedescriptor out of range in select()

from blp import blp
 sapiQuery = blp.BlpQuery(host='<name>', parser=blp.BlpParser(raise_security_errors=False)).start()
    sapiResults = sapiQuery.bdh(
        res['UnderlyingDefaultTicker'],
        ["PX_VOLUME_PRE_SESSION", "PX_LAST_PRE_SESSION"],
        start_date=today,
        end_date=today
    )
 sapiQuery.stop()
@matthewgilbert
Copy link
Owner

Not reproducible / clear if this issue is with this library or a dependency so closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants