single object size limit

Jon Drukman jsd at cluttered.com
Tue Jan 10 17:30:39 UTC 2006


Jon Drukman wrote:
> Antony Dovgal wrote:
>> Brad, could you please comment this?
>> I can reproduce it easily increasing the size of the item.
>> And memcached's reply "SERVER_ERROR out of memory" doesn't look like 
>> something expected in this case.
>> Or is it?
> 
> this is super timely.  i just got bit by the exact same problem.
> 
> set get_ratings_by_item:2f62964ab0972 1 1134428488 1308636
> SERVER_ERROR out of memory
> 
> it doesn't even wait for you to start sending the data.
> 
> stats
> STAT pid 20309
> STAT uptime 5272096
> STAT time 1134425409
> STAT version 1.1.12
> STAT rusage_user 110.800000
> STAT rusage_system 274.130000
> STAT curr_items 155043
> STAT total_items 1443915
> STAT bytes 216307825
> STAT curr_connections 2
> STAT total_connections 91445
> STAT connection_structures 10
> STAT cmd_get 2576945
> STAT cmd_set 1443915
> STAT get_hits 1714407
> STAT get_misses 862538
> STAT bytes_read 3496808781
> STAT bytes_written 3228940968
> STAT limit_maxbytes 1073741824

anybody got any ideas about this?  i tried out brad's recently posted 
"prealloc slabs" patch but it doesn't fix this.



More information about the memcached mailing list