Jdesk / memcached

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

memcached will not actually use memory pool. #156

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.start memcached in gdb
2.telnet onto the server 
3.conn_from_freelist() will never get 'freecurr > 0'

What is the expected output? What do you see instead?
I expected that memcached would choose a free connection from the pool.

What version of the product are you using? On what operating system?
version 1.4.5
on ubuntu (Linux version 2.6.28-19-generic)

Please provide any additional information below.
I can fix this problem.

Original issue reported on code.google.com by angel...@gmail.com on 20 Sep 2010 at 10:04

GoogleCodeExporter commented 9 years ago
I misunderstood the connection pool, it's not a bug, sorry.

Original comment by angel...@gmail.com on 21 Sep 2010 at 2:49

GoogleCodeExporter commented 9 years ago
this connection pool is used to reuse former connections, not that pre-allocate 
connections.

Original comment by angel...@gmail.com on 21 Sep 2010 at 2:56

GoogleCodeExporter commented 9 years ago

Original comment by dsalli...@gmail.com on 21 Sep 2010 at 3:22