Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Infinite loop on EISCONN #17

Closed
alexey74 opened this issue Dec 12, 2014 · 0 comments
Closed

Infinite loop on EISCONN #17

alexey74 opened this issue Dec 12, 2014 · 0 comments
Labels
ARCHIVED - http://mzl.la/ghe-archive CLOSED at time of archiving

Comments

@alexey74
Copy link

Hello, I gave this library a try with my eventlet-based workers, and it appears to be OK most of the time, but sometimes the workers begin consuming 100% CPU and when I strace them I see that they are infinitely looping in connect() to a memcached server because of EISCONN:

connect(25, {sa_family=AF_INET, sin_port=htons(11211), sin_addr=inet_addr("10.0.41.175")}, 16) = -1 EISCONN (Transport endpoint is already connected)
connect(25, {sa_family=AF_INET, sin_port=htons(11211), sin_addr=inet_addr("10.0.41.175")}, 16) = -1 EISCONN (Transport endpoint is already connected)
connect(25, {sa_family=AF_INET, sin_port=htons(11211), sin_addr=inet_addr("10.0.41.175")}, 16) = -1 EISCONN (Transport endpoint is already connected)
etc.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ARCHIVED - http://mzl.la/ghe-archive CLOSED at time of archiving
Projects
None yet
Development

No branches or pull requests

2 participants