"Morphex's Blogologue": Encountering Python crash on numerous client connects to socketserver :
"Morphex's Blogologue": Encountering Python crash on numerous client connects to socketserver
by:
blow post content copied from Planet Python
click here to view original post
On the SMPS package, I've refactored a bit since the last blog post, and I also encountered what looks like a bug in Python.
Python can randomly crash if too many client connections are made to the socketserver, and it crashes in such a way that it is difficult for me as a regular Python programmer to understand what the problem could be.
So although I was tempted to do a bit of C debugging and poke around, I do have limited time and energy, so I did the smart thing and patched it up so that it is easy to reproduce the problem:
https://github.com/morphex/smps/commit/59fbc78ebddcc3a68c6ea...
and then I created an issue in the Python bug tracker:
https://github.com/python/cpython/issues/95204
July 24, 2022 at 10:09PM
Click here for more details...
=============================
The original post is available in Planet Python by
this post has been published as it is through automation. Automation script brings all the top bloggers post under a single umbrella.
The purpose of this blog, Follow the top Salesforce bloggers and collect all blogs in a single place through automation.
============================
by:
blow post content copied from Planet Python
click here to view original post
On the SMPS package, I've refactored a bit since the last blog post, and I also encountered what looks like a bug in Python.
Python can randomly crash if too many client connections are made to the socketserver, and it crashes in such a way that it is difficult for me as a regular Python programmer to understand what the problem could be.
So although I was tempted to do a bit of C debugging and poke around, I do have limited time and energy, so I did the smart thing and patched it up so that it is easy to reproduce the problem:
https://github.com/morphex/smps/commit/59fbc78ebddcc3a68c6ea...
and then I created an issue in the Python bug tracker:
https://github.com/python/cpython/issues/95204
July 24, 2022 at 10:09PM
Click here for more details...
=============================
The original post is available in Planet Python by
this post has been published as it is through automation. Automation script brings all the top bloggers post under a single umbrella.
The purpose of this blog, Follow the top Salesforce bloggers and collect all blogs in a single place through automation.
============================

Post a Comment