Out of memory < 64M?

Jeremy Wohl jeremyw-memcached at igmus.org
Mon May 16 16:52:54 PDT 2005


On Mon, May 16, 2005 at 03:04:27PM -0600, Jeremy Wohl wrote:
> ..which failed thru several restarts after ~200K operations.  However,
> a 64M max has made it thru 1.5M ops.

Scratch that.  Inserting a 302 byte value into the following environment
returns out of memory, again.

I see the smallest chunk is 2048 for a 302 byte value, and I have 2 free.
Does that mean something is going wrong?

What is recommended debug method, here?  (Short of increasing max mem until
it goes away. :)

thanks,
-jeremy

stats
STAT pid 13715
STAT uptime 149506
STAT time 1116286961
STAT version 1.1.11
STAT rusage_user 69:697404
STAT rusage_system 148:269459
STAT curr_items 15712
STAT total_items 649476
STAT bytes 44392090
STAT curr_connections 3
STAT total_connections 329515
STAT connection_structures 88
STAT cmd_get 1202185
STAT cmd_set 647857
STAT get_hits 1068399
STAT get_misses 133786
STAT bytes_read 2620165639
STAT bytes_written 2851363084
STAT limit_maxbytes 67108864
END
stats slabs
STAT 6:chunk_size 64
STAT 6:chunks_per_page 16384
STAT 6:total_pages 1
STAT 6:total_chunks 16384
STAT 6:used_chunks 16384
STAT 6:free_chunks 0
STAT 6:free_chunks_end 16374
STAT 7:chunk_size 128
STAT 7:chunks_per_page 8192
STAT 7:total_pages 1
STAT 7:total_chunks 8192
STAT 7:used_chunks 8192
STAT 7:free_chunks 0
STAT 7:free_chunks_end 0
STAT 11:chunk_size 2048
STAT 11:chunks_per_page 512
STAT 11:total_pages 1
STAT 11:total_chunks 512
STAT 11:used_chunks 510
STAT 11:free_chunks 2
STAT 11:free_chunks_end 400
STAT 12:chunk_size 4096
STAT 12:chunks_per_page 256
STAT 12:total_pages 7
STAT 12:total_chunks 1792
STAT 12:used_chunks 1792
STAT 12:free_chunks 0
STAT 12:free_chunks_end 0
STAT 13:chunk_size 8192
STAT 13:chunks_per_page 128
STAT 13:total_pages 37
STAT 13:total_chunks 4736
STAT 13:used_chunks 4736
STAT 13:free_chunks 0
STAT 13:free_chunks_end 0
STAT 14:chunk_size 16384
STAT 14:chunks_per_page 64
STAT 14:total_pages 12
STAT 14:total_chunks 768
STAT 14:used_chunks 768
STAT 14:free_chunks 0
STAT 14:free_chunks_end 0
STAT 15:chunk_size 32768
STAT 15:chunks_per_page 32
STAT 15:total_pages 2
STAT 15:total_chunks 64
STAT 15:used_chunks 64
STAT 15:free_chunks 0
STAT 15:free_chunks_end 0
STAT 16:chunk_size 65536
STAT 16:chunks_per_page 16
STAT 16:total_pages 2
STAT 16:total_chunks 32
STAT 16:used_chunks 32
STAT 16:free_chunks 0
STAT 16:free_chunks_end 0
STAT 17:chunk_size 131072
STAT 17:chunks_per_page 8
STAT 17:total_pages 1
STAT 17:total_chunks 8
STAT 17:used_chunks 8
STAT 17:free_chunks 0
STAT 17:free_chunks_end 0
STAT active_slabs 9
STAT total_malloced 67108864
END
_____________________________________________________________________
jeremy wohl ..: http://igmus.org


More information about the memcached mailing list