Jdesk / memcached

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

stats malloc is not 64-bit aware #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Build/install 64-bit memcached
2. Load memcached with a large number of items
3. Send a "stats malloc" command

What is the expected output? What do you see instead?
Expected output is stats without rolling over to negative integers.  stats
malloc currently gives something like the following (according to Mike
Lambert on the mailing list):
STAT mmapped_space 564604928   
STAT arena_size -1058820096
STAT total_alloc -2040194320
STAT total_free 981374224

Original issue reported on code.google.com by ingen...@gmail.com on 16 Jul 2009 at 5:10

GoogleCodeExporter commented 9 years ago
Stats malloc is removed from memcached 1.4. You are advised to use a tool 
provided by the operating system 
instead of limiting memcached to use a memory allocator that supports mallinfo.

Original comment by trond.no...@gmail.com on 16 Jul 2009 at 6:40