For 100,000 1MB values I guess the memory I have allocated is insufficient. 
However, I tried inserting 10 1MB values into memcached but this too fails 
and memcached_strerror() returns "ITEM TOO BIG" (The value I have is a 
random alpha-numeric char array of size 1048756 bytes).
I am currently using a libmemcached client. Also please find the output of 
the stats command in the attached file.
I really appreciate the help. Thank you.

On Wednesday, July 13, 2016 at 2:39:43 PM UTC-5, Dormando wrote:
>
> Can you give more detail as to what exactly is failing? what error message 
> are you getting, what client are you using, what is the `stats` output 
> from some of your memcached instances, etc? 
>
> 100,000 1 meg values are going to take at least 100 gigabytes of RAM. if 
> you have 16 2G servers, you only have 32G of RAM available. I can't really 
> help until knowing what your real error message is but that math seems a 
> little odd. 
>
> On Wed, 13 Jul 2016, Sonia wrote: 
>
> > I have just started working with memcached and I am working on a test 
> program where I want to insert 100,000 values of size 1 MB into memcached.I 
> currently have 16 servers 
> > setup and I have setup the memory limit in the memcached configuration 
> file as 2 GB but for some reason my code is still failing. 
> > Has anybody faced a similar situation? 
> > 
> > -- 
> > 
> > --- 
> > You received this message because you are subscribed to the Google 
> Groups "memcached" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to memcached+...@googlegroups.com <javascript:>. 
> > For more options, visit https://groups.google.com/d/optout. 
> > 
> > 
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to memcached+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
stats
STAT pid 11196
STAT uptime 3105113
STAT time 1468452106
STAT version 1.4.20
STAT libevent 2.0.21-stable
STAT pointer_size 64
STAT rusage_user 27.684000
STAT rusage_system 83.740000
STAT curr_connections 10
STAT total_connections 32
STAT connection_structures 12
STAT reserved_fds 20
STAT cmd_get 111113
STAT cmd_set 149121
STAT cmd_flush 0
STAT cmd_touch 0
STAT get_hits 103047
STAT get_misses 8066
STAT delete_misses 0
STAT delete_hits 0
STAT incr_misses 0
STAT incr_hits 0
STAT decr_misses 0
STAT decr_hits 0
STAT cas_misses 0
STAT cas_hits 0
STAT cas_badval 0
STAT touch_hits 0
STAT touch_misses 0
STAT auth_cmds 0
STAT auth_errors 0
STAT bytes_read 49213990163
STAT bytes_written 3140411648
STAT limit_maxbytes 2147483648
STAT accepting_conns 1
STAT listen_disabled_num 0
STAT threads 4
STAT conn_yields 0
STAT hash_power_level 17
STAT hash_bytes 1048576
STAT hash_is_expanding 0
STAT malloc_fails 0
STAT bytes 2002153542
STAT curr_items 63930
STAT total_items 149121
STAT expired_unfetched 0
STAT evicted_unfetched 44139
STAT evictions 46073
STAT reclaimed 0
STAT crawler_reclaimed 0
END

Reply via email to