That's all you have to do on the memcached side. I don't know how well clients support larger items though; you'll want to verify that the client you are using will support larger items as well.
~Ryan > On Feb 11, 2014, at 11:52 PM, Ratnesh Kumar Gupta <[email protected]> > wrote: > > Hi Ryan , > > I would like to thanks for your reply. > > > "Finally,, what do you mean by "not showing anything in progress"? What > progress do you expect? memcached doesn't generally print anything out in > normal operation. On an ubuntu box I have, when I run 'memcached -I 2m' then > from another terminal run 'echo -ne "set foo 0 0 2000000\r\n$(printf > "%0.s----------" {1..200000})\r\n" | nc localhost 11211' I get the expected > output: STORED. So it works!" > > "By "the Warning" I presume you mean this: http://pastebin.com/jtdjda2D" yes > same warning i use to get.. actually i am new to this so having bit of > confusions. > > After the $ memcached -I 2m so it will set the item size limit as 2mb and > later we can perform the storing of data. is that all or i have to do some > other changes also. > > > >> On Wed, Feb 12, 2014 at 2:27 AM, Ryan McElroy <[email protected]> wrote: >> According to the man page, this is the correct method to increase the item >> size limit. >> >> By "the Warning" I presume you mean this: http://pastebin.com/jtdjda2D >> First of all, it's there for a reason: generally, if you think you need >> items larger than 1MB, you're probably framing the problem suboptimally for >> memcached. If possible, consider reframing the problem you're tackling so >> you can store more smaller items instead of one or a few larger items. >> >> Finally,, what do you mean by "not showing anything in progress"? What >> progress do you expect? memcached doesn't generally print anything out in >> normal operation. On an ubuntu box I have, when I run 'memcached -I 2m' then >> from another terminal run 'echo -ne "set foo 0 0 2000000\r\n$(printf >> "%0.s----------" {1..200000})\r\n" | nc localhost 11211' I get the expected >> output: STORED. So it works! >> >> ~Ryan >> >>> On Feb 11, 2014, at 9:43 AM, Ratnesh Kumar Gupta >>> <[email protected]> wrote: >>> >>> hi , >>> >>> i am working with Memcached 1.4.14 on ubuntu server. i am in need to >>> increase the size of the item for storing the data in memcache. >>> >>> i am using the command for updating the size as >>> >>> $ memcached -I 2m >>> >>> but its just shows me the Warning and it does not showing anything in >>> progress. Is this correct method .. ? >>> >>> Please help me in this as i am in urgent need of this. >>> >>> Thanks in advance >>> Ratnesh >>> -- >>> >>> --- >>> 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 [email protected]. >>> >>> For more options, visit https://groups.google.com/groups/opt_out. >> >> -- >> >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "memcached" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/memcached/eSBo2irFERk/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. > > > > -- > -- > *Thanks & Regards * > *Ratnesh Kumar Gupta* > *(+91 - 9403983944)* > > > -- > > --- > 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 [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
