liuqian1990 / memcached

Automatically exported from code.google.com/p/memcached
0 stars 0 forks source link

LRU crawler causes memcached to refuse connections on FreeBSD 10.1 #402

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On FreeBSD 10.1 memcached refuses new connections when running the lru_crawler.

1. Start memcached with -o lru_crawler (does NOT happen when triggering 
"lru_crawler enable" via telnet)
2. Run the script attached: test_memcached <server> <port> 32
3. Wait for > 30sec
4. telnet into memcached and trigger "lru_crawler crawl all"

-> telnet will now refuse any commands
-> no new connections are accepted
-> connections will be stuck in CLOSE_WAIT, see "netstat -an | grep CLOSE_WAIT 
| wc -l"

memcached version 1.4.22
libevent 2.0.22-stable
FreeBSD 10.1-RELEASE-p9 #0

Original issue reported on code.google.com by arne.cl...@gmail.com on 16 Apr 2015 at 12:15

Attachments:

GoogleCodeExporter commented 9 years ago
I believe this is fixed in 1.4.23 if you'd like to try. please re-open if it's 
not.

Original comment by dorma...@rydia.net on 20 Apr 2015 at 6:49

GoogleCodeExporter commented 9 years ago
Confirmed fixed (does not halt anymore).
But because of Issue #403 I cannot check if it really runs correctly.

Original comment by arne.cl...@gmail.com on 20 Apr 2015 at 8:09