OS Error 23
-
Hello,
from time to time, trying to create a socket withinetSocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)I get to an exception (OS Error 23).
I just wonder what is OS Error 23 and how to prevent it.
Thanks
Thiery -
A quick google shows that the error could be caused by not closing the socket after using it? Unsure, but worth a try.
-
Hello @d-alvrzx , I have seen it --of course-- (but my socket is cleanly closed after use).
I solved the issue running the garbage collector every 1 seconds (OS Error 23 seems to be "too many open files").
-
This post is deleted! -
@Thierry Glad to hear you got it fixed :)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login