You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just from eyeballing the code, I think the accept_new_conns() function (new
connection throttling) might not work.
accept_new_conns(false) is called by the listen thread when there aren't
enough file descriptors. Later, in conn_close(), the code calls
accept_new_conns(true) since closing a connection releases a file descriptor.
But, there's a sanity check in accept_new_conns(), line 3079...
if (! is_listen_thread())
return;
I haven't written a test or proven it live, but I think that
accept_new_conns(true) never really works because of that check. Meaning
once memcached stops accepting new connections, it never starts accepting
new connections anymore.
Original issue reported on code.google.com by steve....@gmail.com on 10 Apr 2009 at 8:45
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
steve....@gmail.com
on 10 Apr 2009 at 8:45The text was updated successfully, but these errors were encountered: