<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Serverphorums.com - Memcached</title>
        <description>memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load. Archive started on 2009/08/31.</description>
        <link>http://www.serverphorums.com/list.php?9</link>
        <lastBuildDate>Tue, 18 Jun 2013 22:49:12 +0200</lastBuildDate>
        <generator>Phorum 5.2.18</generator>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,667241,667241#msg-667241</guid>
            <title>The Very Versatile Thomas Sabo Necklace</title>
            <link>http://www.serverphorums.com/read.php?9,667241,667241#msg-667241</link>
            <description><![CDATA[ The <br />
<a href="http://www.charmthomassabouksale.co.uk/" target="_blank"  rel="nofollow">thomas sabo</a> necklace and other jewellery lines are aimed at both women and men. This is part of the large success of this high quality silver jewellery. There is a little something for everybody no matter what their taste. Part of being successful in the jewellery business is being able to cater to a very wide audience.<br />
<br />
One of the most endearingly popular products is the charm necklace. You can choose a necklace or a bracelet to adorn with multiple decorative charms, and there are plenty out there to choose from. These <br />
<a href="http://www.charmthomassabouksale.co.uk/" target="_blank"  rel="nofollow">thomas sabo uk</a> come from every interest and aspect of life that you can think of. Everyone can have a necklace that reflects their individual taste and experiences. In today's society, we are into being unique and showing others who we are. This is the great thing about the Thomas Sabo Necklace and charm line.<br />
<br />
All necklaces and bracelets are sterling silver of the highest quality. Depending on the length of the Thomas Sabo Necklace, it has many different weights. You can start at around dhs80 in price and work up to dhs250. After you choose a necklace, there are silver connectors that you choose from based again on weight.<br />
<br />
If you buy a <br />
<a href="http://www.charmthomassabouksale.co.uk/" target="_blank"  rel="nofollow">thomas sabo charms</a> necklace, it is advised to wear no more than three charms. Because of the weight of the silver, your neck can get weighed down pretty quick. It isn't easy limiting yourself. You can get as many charms as you want with a bracelet. With a Thomas Sabo Necklace, you can create a unique collection of charms and then just alternate. This will give you a unique look everyday or whenever you feel like you want to change. You can also have the feeling that you are wearing new jewellery every day. You will feel different when being able to have a fresh look whenever you want it.<br />
<br />
Today, many men are going for the <br />
<a href="http://www.charmthomassabouksale.co.uk/" target="_blank"  rel="nofollow">thomas sabo sale</a> Necklace. There are many masculine charms and charms that carry a more chunky character. There is a line of Gothic charms that appeal to a lot of men as well. There is no reason in today's day and age, why jewellery lines can't cater more to the individual sides of men. Thomas Sabo has done that with his ever growing line of sterling silver jewellery and necklaces.<br />
<br />
Anyone can accessorise with their Thomas Sabo Necklace. You can buy rings, earrings, key chains, bracelets, and the endless number of charms. The statement to be made with this jewellery is almost infinitely variable.<br />
<br />
If you are looking for Thomas Sabo necklaces, many retailers on the internet sell this fine line of sterling silver jewellery. Many suppliers offer everything from the wide collection of necklaces and charms, to bracelets, earrings, rings, and more. You can find whatever you are looking for when it comes to Thomas Sabo. Get in on a high quality silver jewellery line that can be as unique as you are. There really is something special for everyone.<br />
<br />
Making a purchase could not be easier. Just browse our store, and add any items that you wish to buy into the shopping cart.We sell a range of jewellery, including Thomas Sabo necklace and other brands. Please visit our website at <a href="http://www.charmthomassabouksale.co.uk/" target="_blank"  rel="nofollow">thomas sabo charms uk</a>.]]></description>
            <dc:creator>nini01</dc:creator>
            <category>Memcached</category>
            <pubDate>Mon, 11 Mar 2013 06:36:09 +0100</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,219185,222944#msg-222944</guid>
            <title>Re: Matrix in memcache</title>
            <link>http://www.serverphorums.com/read.php?9,219185,222944#msg-222944</link>
            <description><![CDATA[ You can store them but it shouldn't be your only copy. I frequently<br />
cache documents in memcache so I don't have to pull them off the<br />
filesystem as often but I do store them in the filesystem. If using a<br />
lot of memory you may have to increase the size of your cache.]]></description>
            <dc:creator>PlumbersStock.com</dc:creator>
            <category>Memcached</category>
            <pubDate>Fri, 29 Oct 2010 03:10:06 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,222674,222674#msg-222674</guid>
            <title>per-key cache misses</title>
            <link>http://www.serverphorums.com/read.php?9,222674,222674#msg-222674</link>
            <description><![CDATA[ Hi All,<br />
<br />
The following article describes how to use sFlow instrumentation in<br />
Memcached to identify the top keys responsible for cache misses:<br />
<a href="http://blog.sflow.com/2010/10/memcached-missed-keys.html" target="_blank"  rel="nofollow">http://blog.sflow.com/2010/10/memcached-missed-keys.html</a><br />
<br />
For anyone interested in trying out sFlow in Memcached, the patch can<br />
be downloaded from github:<br />
<a href="http://github.com/sflow/memcached" target="_blank"  rel="nofollow">http://github.com/sflow/memcached</a><br />
<br />
Cheers,<br />
Peter]]></description>
            <dc:creator>Peter Phaal</dc:creator>
            <category>Memcached</category>
            <pubDate>Thu, 28 Oct 2010 18:40:07 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,219185,222491#msg-222491</guid>
            <title>Re: Matrix in memcache</title>
            <link>http://www.serverphorums.com/read.php?9,219185,222491#msg-222491</link>
            <description><![CDATA[ No, it's a cache, not a storage solution. When you put things in memcache<br />
you are not guaranteed to be able to retrieve them again.<br />
<br />
<br />
/Henrik<br />
<br />
On Thu, Oct 28, 2010 at 07:23, Sreejith S &lt;srssreejith@gmail.com&gt; wrote:<br />
<br />
&gt; Hi..<br />
&gt; Thnk u for ur reply...<br />
&gt; let me explain my scenario<br />
&gt; On a sample set od 1000 documents i am generating a matrix of (may be)<br />
&gt; 1000000 * 1000 .I have much larger document set than this say 50000.<br />
&gt; So can memcahe be able to store these huge matrix representation as u<br />
&gt; said??<br />
&gt;<br />
&gt; Sreejith<br />
&gt;<br />
&gt;<br />
&gt;<br />
&gt; On Thu, Oct 28, 2010 at 6:56 AM, PlumbersStock.com &lt;<br />
&gt; michaelm@plumbersstock.com&gt; wrote:<br />
&gt;<br />
&gt;&gt; When dealing with large data sets I sometimes split it into parts that<br />
&gt;&gt; will fit with a master object that stores how many parts it should<br />
&gt;&gt; have. Of course it could still fall out of cache but it's no worse<br />
&gt;&gt; than if it was one large object that fell out of cache and possible<br />
&gt;&gt; better if you kept a primary copy somewhere so you only have to grab<br />
&gt;&gt; the missing chunks from it.<br />
&gt;&gt;<br />
&gt;&gt; big_object: 5<br />
&gt;&gt; big_object_0: data<br />
&gt;&gt; big_object_1: data<br />
&gt;&gt; big_object_2: data<br />
&gt;&gt; big_object_3: data<br />
&gt;&gt; big_object_4: data<br />
&gt;<br />
&gt;<br />
&gt;]]></description>
            <dc:creator>Henrik Schröder</dc:creator>
            <category>Memcached</category>
            <pubDate>Thu, 28 Oct 2010 10:50:10 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,219185,222453#msg-222453</guid>
            <title>Re: Matrix in memcache</title>
            <link>http://www.serverphorums.com/read.php?9,219185,222453#msg-222453</link>
            <description><![CDATA[ Hi..<br />
Thnk u for ur reply...<br />
let me explain my scenario<br />
On a sample set od 1000 documents i am generating a matrix of (may be)<br />
1000000 * 1000 .I have much larger document set than this say 50000.<br />
So can memcahe be able to store these huge matrix representation as u said??<br />
<br />
Sreejith<br />
<br />
<br />
On Thu, Oct 28, 2010 at 6:56 AM, PlumbersStock.com &lt;<br />
michaelm@plumbersstock.com&gt; wrote:<br />
<br />
&gt; When dealing with large data sets I sometimes split it into parts that<br />
&gt; will fit with a master object that stores how many parts it should<br />
&gt; have. Of course it could still fall out of cache but it's no worse<br />
&gt; than if it was one large object that fell out of cache and possible<br />
&gt; better if you kept a primary copy somewhere so you only have to grab<br />
&gt; the missing chunks from it.<br />
&gt;<br />
&gt; big_object: 5<br />
&gt; big_object_0: data<br />
&gt; big_object_1: data<br />
&gt; big_object_2: data<br />
&gt; big_object_3: data<br />
&gt; big_object_4: data]]></description>
            <dc:creator>Sreejith S</dc:creator>
            <category>Memcached</category>
            <pubDate>Thu, 28 Oct 2010 07:30:06 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,219185,222406#msg-222406</guid>
            <title>Re: Matrix in memcache</title>
            <link>http://www.serverphorums.com/read.php?9,219185,222406#msg-222406</link>
            <description><![CDATA[ When dealing with large data sets I sometimes split it into parts that<br />
will fit with a master object that stores how many parts it should<br />
have. Of course it could still fall out of cache but it's no worse<br />
than if it was one large object that fell out of cache and possible<br />
better if you kept a primary copy somewhere so you only have to grab<br />
the missing chunks from it.<br />
<br />
big_object: 5<br />
big_object_0: data<br />
big_object_1: data<br />
big_object_2: data<br />
big_object_3: data<br />
big_object_4: data]]></description>
            <dc:creator>PlumbersStock.com</dc:creator>
            <category>Memcached</category>
            <pubDate>Thu, 28 Oct 2010 03:30:07 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,218840,222405#msg-222405</guid>
            <title>Re: memcached out of the box versus behavior tweaks</title>
            <link>http://www.serverphorums.com/read.php?9,218840,222405#msg-222405</link>
            <description><![CDATA[ I'm interested in this too. I have a couple machines with 128GB of RAM<br />
in each. I noticed the CentOS RPM I was using doesn't seem to let you<br />
use more than 2GB of RAM per instance. I'd guess because it's 32bit.<br />
Would it be better to have several 2GB instances as virtual machines<br />
or a single massive instance? I have a 2GB instance on each physical<br />
machine running now but they are completely inadequate as evictions<br />
are a common problem.]]></description>
            <dc:creator>PlumbersStock.com</dc:creator>
            <category>Memcached</category>
            <pubDate>Thu, 28 Oct 2010 03:30:07 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,212195,221989#msg-221989</guid>
            <title>Re: memcached timeout error because of slow response</title>
            <link>http://www.serverphorums.com/read.php?9,212195,221989#msg-221989</link>
            <description><![CDATA[ &gt; But yeah, hopefully you fixed it there.<br />
<br />
I suppose we finnally found it.<br />
I guess you might add those points to the timout wiki.<br />
<br />
The problem seemed to boil down to the following:<br />
vm.swappiness=60 (default) is a very bad idea, when combined<br />
with deadline as a io scheduler.<br />
<br />
symtom:<br />
- after memcached up some days, timeouts start.<br />
- after a server reboot, timeouts are gone.<br />
- after memcache restart, timeouts are gone<br />
- after memcached up some days, timeouts are back<br />
- compiling with the newest libevent/glibc improved<br />
  things, but did remove problems.<br />
<br />
environment:<br />
- server 8 GB RAM, dedicated for mysql+memcached<br />
- memcached configured for 2 GB<br />
- mysqld runnig, showing ~2000 queries/second/avg/24h<br />
- mysql needs about 2-3 GB RAM.<br />
- we're caching ojects up to one week.<br />
<br />
so normally one woud expect: 8 GB RAM -3 GB mysql -2 GB = 3 GB<br />
should be sufficient for the OS doing nothing else (despite<br />
running an amanda backup client during the bakcup in the night).<br />
<br />
the above machine startet to swap out (only some MB, it was<br />
less than 40MB, quite nothing, as the linux does using<br />
vm.swappiness=60 swap out normal OS prcoessess, too).<br />
<br />
And if there is one rarely used page of the memcache<br />
swapped out, and an item from that page is requested, when<br />
at the same time one mysql query creates some io, then<br />
the corresponding memcache-page will be swapped in AFTER<br />
the mysql process finishes (deadline io scheduler).<br />
and that could be too late for the one second timeout.<br />
<br />
I never had expected a machine to start swapping if<br />
free tells me that there are some GB free for caches.<br />
<br />
I never ever would have thought of 40M in swap when<br />
3+ GB are caches/free  would cause such a problem.<br />
<br />
conclusion:<br />
if you use memcache and need high amounts of memory with<br />
many objects, keep a look at your swap, and if there is<br />
something in it (even 1 kb) - it might be too much.<br />
after setting vm.swappiness to zero and paging in all swap,<br />
the effects were gone.<br />
<br />
It explains also that we encountered the problem only<br />
on this machine whereas on about 40 other servers we<br />
did not - this machine was the oldest hardware,<br />
the slowest disks (even if raid10 on 4 disks) and the<br />
least memory (oure newer mysql/memcache servers<br />
have 16..32GB RAM), so they did not start to swap out<br />
even with vm.swappiness=60 ...<br />
<br />
regards.<br />
<br />
Werner.]]></description>
            <dc:creator>dl4ner</dc:creator>
            <category>Memcached</category>
            <pubDate>Wed, 27 Oct 2010 12:20:08 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,221790,221797#msg-221797</guid>
            <title>Re: curious questions</title>
            <link>http://www.serverphorums.com/read.php?9,221790,221797#msg-221797</link>
            <description><![CDATA[ In my understandings, memcached server supports protocol-based<br />
retrieval. This makes the design and implementation more flexible and<br />
distributable. As a cache, the server would prioritize the frequently<br />
retrieved records than the less frequently retrieved ones. So useful<br />
information will be obtained much faster, in contrast, the useless<br />
information will be obtained slower and eventually be replaced by new<br />
information. Cache also has security advantages cause most of the<br />
applications are web-based, simply in that case it is not good to<br />
explore the ram-memory of a machine directly to the web.<br />
<br />
Shi<br />
<br />
On Tue, Oct 26, 2010 at 5:29 PM, Minh Doan &lt;daywednes@gmail.com&gt; wrote:<br />
&gt; Hi folks,<br />
&gt;<br />
&gt; Sorry for the following stupid question.<br />
&gt;<br />
&gt; I've got the idea of memcached. Memcached data are stored in multiple<br />
&gt; memcached servers which run independently. Whenever you need to lookup a<br />
&gt; (key/value), just calculate a hash to find the server id, and then call a<br />
&gt; lookup-service on the server. So:<br />
&gt;<br />
&gt; what are the advantages of memcached  against a normal server which store<br />
&gt; data in ram-memory?<br />
&gt; Thanks<br />
&gt; ---<br />
&gt; Minh<br />
&gt;<br />
&gt;]]></description>
            <dc:creator>Shi Yu</dc:creator>
            <category>Memcached</category>
            <pubDate>Wed, 27 Oct 2010 01:10:13 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,221790,221790#msg-221790</guid>
            <title>curious questions</title>
            <link>http://www.serverphorums.com/read.php?9,221790,221790#msg-221790</link>
            <description><![CDATA[ Hi folks,<br />
<br />
Sorry for the following stupid question.<br />
<br />
I've got the idea of memcached. Memcached data are stored in multiple<br />
memcached servers which run independently. Whenever you need to lookup a<br />
(key/value), just calculate a hash to find the server id, and then call a<br />
lookup-service on the server. So:<br />
<br />
what are the advantages of memcached  against a normal server which store<br />
data in ram-memory?<br />
Thanks<br />
---<br />
Minh]]></description>
            <dc:creator>Minh Doan</dc:creator>
            <category>Memcached</category>
            <pubDate>Wed, 27 Oct 2010 00:40:09 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,217516,221753#msg-221753</guid>
            <title>Re: Most efficient way of modifying value</title>
            <link>http://www.serverphorums.com/read.php?9,217516,221753#msg-221753</link>
            <description><![CDATA[ Thanks, rhohitk. I found out about redis after some further<br />
investigation; looks perfect for this problem.<br />
<br />
On Tue, Oct 26, 2010 at 3:58 PM, Rohit Karlupia &lt;iamrohit@gmail.com&gt; wrote:<br />
&gt; May be you are better off using redis which provides some in memory pre<br />
&gt; built data structures like lists and sets.<br />
&gt; thanks!<br />
&gt; rohitk<br />
&gt;<br />
&gt; On Tue, Oct 19, 2010 at 10:46 PM, Jorge &lt;boxerab@gmail.com&gt; wrote:<br />
&gt;&gt;<br />
&gt;&gt; Hello!<br />
&gt;&gt;<br />
&gt;&gt; I would like to use memcached as a fast cache for  a hospital order<br />
&gt;&gt; database.<br />
&gt;&gt;<br />
&gt;&gt; Each order has a location (5 possible values), procedure (about 100<br />
&gt;&gt; possible values),<br />
&gt;&gt; and patient status (3 different values).<br />
&gt;&gt;<br />
&gt;&gt; So, my thinking was for each order, create a key as follows:<br />
&gt;&gt;<br />
&gt;&gt; (location code)_(procedure code)_(status code)<br />
&gt;&gt;<br />
&gt;&gt; and the value would be a list of all orders matching a given code.<br />
&gt;&gt;<br />
&gt;&gt; So, doing a query on a given location, procedure and status will just<br />
&gt;&gt; entail reading the value from the key.<br />
&gt;&gt;<br />
&gt;&gt; My question is: what is the best way of modifying the value, as an in-<br />
&gt;&gt; memory list.<br />
&gt;&gt;<br />
&gt;&gt; Can this be done on the memcached server, or do I need the client to<br />
&gt;&gt; pull the value out,<br />
&gt;&gt; modify it, and put it back in?<br />
&gt;&gt;<br />
&gt;&gt; Thanks!<br />
&gt;&gt;<br />
&gt;<br />
&gt;]]></description>
            <dc:creator>Aaron Boxer</dc:creator>
            <category>Memcached</category>
            <pubDate>Tue, 26 Oct 2010 23:30:07 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,217516,221707#msg-221707</guid>
            <title>Re: Most efficient way of modifying value</title>
            <link>http://www.serverphorums.com/read.php?9,217516,221707#msg-221707</link>
            <description><![CDATA[ On Oct 19, 10:16 am, Jorge &lt;boxe...@gmail.com&gt; wrote:<br />
<br />
&gt; My question is: what is the best way of modifying the value, as an in-<br />
&gt; memory list.<br />
<br />
    Just append the new value with some sort of separator.<br />
<br />
&gt; Can this be done on the memcached server, or do I need the client to<br />
&gt; pull the value out,<br />
&gt; modify it, and put it back in?<br />
<br />
    If you need something more complex than append, you can build save<br />
an arbitrarily complex transformations with CAS.]]></description>
            <dc:creator>Dustin</dc:creator>
            <category>Memcached</category>
            <pubDate>Tue, 26 Oct 2010 22:20:11 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,217516,221679#msg-221679</guid>
            <title>Re: Most efficient way of modifying value</title>
            <link>http://www.serverphorums.com/read.php?9,217516,221679#msg-221679</link>
            <description><![CDATA[ May be you are better off using redis which provides some in memory pre<br />
built data structures like lists and sets.<br />
<br />
thanks!<br />
rohitk<br />
<br />
<br />
On Tue, Oct 19, 2010 at 10:46 PM, Jorge &lt;boxerab@gmail.com&gt; wrote:<br />
<br />
&gt; Hello!<br />
&gt;<br />
&gt; I would like to use memcached as a fast cache for  a hospital order<br />
&gt; database.<br />
&gt;<br />
&gt; Each order has a location (5 possible values), procedure (about 100<br />
&gt; possible values),<br />
&gt; and patient status (3 different values).<br />
&gt;<br />
&gt; So, my thinking was for each order, create a key as follows:<br />
&gt;<br />
&gt; (location code)_(procedure code)_(status code)<br />
&gt;<br />
&gt; and the value would be a list of all orders matching a given code.<br />
&gt;<br />
&gt; So, doing a query on a given location, procedure and status will just<br />
&gt; entail reading the value from the key.<br />
&gt;<br />
&gt; My question is: what is the best way of modifying the value, as an in-<br />
&gt; memory list.<br />
&gt;<br />
&gt; Can this be done on the memcached server, or do I need the client to<br />
&gt; pull the value out,<br />
&gt; modify it, and put it back in?<br />
&gt;<br />
&gt; Thanks!<br />
&gt;<br />
&gt;]]></description>
            <dc:creator>Rohit Karlupia</dc:creator>
            <category>Memcached</category>
            <pubDate>Tue, 26 Oct 2010 22:00:15 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,217516,221603#msg-221603</guid>
            <title>Re: Most efficient way of modifying value</title>
            <link>http://www.serverphorums.com/read.php?9,217516,221603#msg-221603</link>
            <description><![CDATA[ On Oct 26, 6:57 am, nooby &lt;arce.emi...@gmail.com&gt; wrote:<br />
<br />
&gt;   Obviously this means that whatever value was there in the first<br />
&gt; place is not important so 'replace' operation should do the trick.<br />
&gt; That is, replace the value if and only if it already exists there.<br />
<br />
  I wouldn't recommend the replace operation in general.  All it means<br />
is ``only fail if I'm not destroying data somewhere.''  You can't make<br />
any assumptions as to what data is being destroyed.<br />
<br />
  Any place where you'd use replace, you probably want either plain<br />
set or set with a CAS.]]></description>
            <dc:creator>Dustin</dc:creator>
            <category>Memcached</category>
            <pubDate>Tue, 26 Oct 2010 19:50:14 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,217516,221584#msg-221584</guid>
            <title>Re: Most efficient way of modifying value</title>
            <link>http://www.serverphorums.com/read.php?9,217516,221584#msg-221584</link>
            <description><![CDATA[ Hi,<br />
<br />
  If I understand correctly you want to modify the value without<br />
having the client fetching the value first.<br />
  Obviously this means that whatever value was there in the first<br />
place is not important so 'replace' operation should do the trick.<br />
That is, replace the value if and only if it already exists there.<br />
<br />
If you have many clients trying to do an update the last replace wins<br />
which might not be what you want. You might want to look at compare<br />
and set operation which obviously requires you to do a get first.<br />
<br />
Also take a look at the memcached FAQ for the &quot;ghetto lock&quot; in this<br />
case you would do a lock even if the value already existed because the<br />
client will modify it anyway i guess.<br />
<br />
i hope this helps...<br />
<br />
<br />
<br />
On Oct 19, 1:16 pm, Jorge &lt;boxe...@gmail.com&gt; wrote:<br />
&gt; Hello!<br />
&gt;<br />
&gt; I would like to use memcached as a fast cache for  a hospital order<br />
&gt; database.<br />
&gt;<br />
&gt; Each order has a location (5 possible values), procedure (about 100<br />
&gt; possible values),<br />
&gt; and patient status (3 different values).<br />
&gt;<br />
&gt; So, my thinking was for each order, create a key as follows:<br />
&gt;<br />
&gt; (location code)_(procedure code)_(status code)<br />
&gt;<br />
&gt; and the value would be a list of all orders matching a given code.<br />
&gt;<br />
&gt; So, doing a query on a given location, procedure and status will just<br />
&gt; entail reading the value from the key.<br />
&gt;<br />
&gt; My question is: what is the best way of modifying the value, as an in-<br />
&gt; memory list.<br />
&gt;<br />
&gt; Can this be done on the memcached server, or do I need the client to<br />
&gt; pull the value out,<br />
&gt; modify it, and put it back in?<br />
&gt;<br />
&gt; Thanks!]]></description>
            <dc:creator>nooby</dc:creator>
            <category>Memcached</category>
            <pubDate>Tue, 26 Oct 2010 19:30:06 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,219973,220159#msg-220159</guid>
            <title>Re: Memcached underutilized</title>
            <link>http://www.serverphorums.com/read.php?9,219973,220159#msg-220159</link>
            <description><![CDATA[ Hi Maxim<br />
<br />
Thanks for the clarification!<br />
<br />
Kind regards,<br />
amix<br />
<br />
On 23 Okt., 00:05, Maxim Dounin &lt;mdou...@mdounin.ru&gt; wrote:<br />
&gt; Hello!<br />
&gt;<br />
&gt;<br />
&gt;<br />
&gt;<br />
&gt;<br />
&gt;<br />
&gt;<br />
&gt;<br />
&gt;<br />
&gt; On Fri, Oct 22, 2010 at 02:51:05PM -0700, amix wrote:<br />
&gt; &gt; Have done some more debugging and here is what I have found.<br />
&gt;<br />
&gt; &gt; The general main differences for these two servers seems to be:<br />
&gt; &gt;             'curr_items': '132819',  (memcached 1.4.5)<br />
&gt; &gt;             'curr_items': '3907837', (memcached 1.2.2)<br />
&gt;<br />
&gt; &gt; Total items seem to be very similar, i.e.<br />
&gt; &gt;             'total_items': '62899221',  (memcached 1.4.5)<br />
&gt; &gt;             'total_items': '68416527', (memcached 1.2.2)<br />
&gt;<br />
&gt; &gt; Testing memcached 1.2.2 and memcached 1.4.5 and filling it up with<br />
&gt; &gt; sample data it seems like memcached 1.4.5 is much better at using<br />
&gt; &gt; memory that has been allocated by expired items. Is this correct?<br />
&gt;<br />
&gt; &gt; If so, it would mean that our cache is way underutilized in general<br />
&gt; &gt; and that 1.4.5 is much better at managing memory (i.e. it won't<br />
&gt; &gt; allocate memory if it does not need to).<br />
&gt;<br />
&gt; &gt; Could someone that's familiar with memcached internals please confirm<br />
&gt; &gt; this.<br />
&gt;<br />
&gt; Yes.<br />
&gt;<br />
&gt; Re-use of expired items before allocating new items was done by<br />
&gt; Trond Norbye[1][2] (in 1.4.0+).  Note that &quot;reclaimed&quot; stats shows<br />
&gt; how many times memcached re-used expired items.<br />
&gt;<br />
&gt; [1]http://code.google.com/p/memcached/issues/detail?id=14<br />
&gt; [2]http://github.com/memcached/memcached/commit/d3807d06f0693b0435545d35....<br />
&gt;<br />
&gt; Maxim Dounin]]></description>
            <dc:creator>amix</dc:creator>
            <category>Memcached</category>
            <pubDate>Sat, 23 Oct 2010 14:30:05 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,219973,219993#msg-219993</guid>
            <title>Re: Memcached underutilized</title>
            <link>http://www.serverphorums.com/read.php?9,219973,219993#msg-219993</link>
            <description><![CDATA[ Hello!<br />
<br />
On Fri, Oct 22, 2010 at 02:51:05PM -0700, amix wrote:<br />
<br />
&gt; Have done some more debugging and here is what I have found.<br />
&gt; <br />
&gt; The general main differences for these two servers seems to be:<br />
&gt;             'curr_items': '132819',  (memcached 1.4.5)<br />
&gt;             'curr_items': '3907837', (memcached 1.2.2)<br />
&gt; <br />
&gt; Total items seem to be very similar, i.e.<br />
&gt;             'total_items': '62899221',  (memcached 1.4.5)<br />
&gt;             'total_items': '68416527', (memcached 1.2.2)<br />
&gt; <br />
&gt; Testing memcached 1.2.2 and memcached 1.4.5 and filling it up with<br />
&gt; sample data it seems like memcached 1.4.5 is much better at using<br />
&gt; memory that has been allocated by expired items. Is this correct?<br />
&gt; <br />
&gt; If so, it would mean that our cache is way underutilized in general<br />
&gt; and that 1.4.5 is much better at managing memory (i.e. it won't<br />
&gt; allocate memory if it does not need to).<br />
&gt; <br />
&gt; Could someone that's familiar with memcached internals please confirm<br />
&gt; this.<br />
<br />
Yes.<br />
<br />
Re-use of expired items before allocating new items was done by <br />
Trond Norbye[1][2] (in 1.4.0+).  Note that &quot;reclaimed&quot; stats shows <br />
how many times memcached re-used expired items.<br />
<br />
[1] <a href="http://code.google.com/p/memcached/issues/detail?id=14" target="_blank"  rel="nofollow">http://code.google.com/p/memcached/issues/detail?id=14</a><br />
[2] <a href="http://github.com/memcached/memcached/commit/d3807d06f0693b0435545d35462de2829a61a7d1" target="_blank"  rel="nofollow">http://github.com/memcached/memcached/commit/d3807d06f0693b0435545d35462de2829a61a7d1</a><br />
<br />
Maxim Dounin]]></description>
            <dc:creator>Maxim Dounin</dc:creator>
            <category>Memcached</category>
            <pubDate>Sat, 23 Oct 2010 00:10:04 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,219973,219991#msg-219991</guid>
            <title>Re: Memcached underutilized</title>
            <link>http://www.serverphorums.com/read.php?9,219973,219991#msg-219991</link>
            <description><![CDATA[ Have done some more debugging and here is what I have found.<br />
<br />
The general main differences for these two servers seems to be:<br />
            'curr_items': '132819',  (memcached 1.4.5)<br />
            'curr_items': '3907837', (memcached 1.2.2)<br />
<br />
Total items seem to be very similar, i.e.<br />
            'total_items': '62899221',  (memcached 1.4.5)<br />
            'total_items': '68416527', (memcached 1.2.2)<br />
<br />
Testing memcached 1.2.2 and memcached 1.4.5 and filling it up with<br />
sample data it seems like memcached 1.4.5 is much better at using<br />
memory that has been allocated by expired items. Is this correct?<br />
<br />
If so, it would mean that our cache is way underutilized in general<br />
and that 1.4.5 is much better at managing memory (i.e. it won't<br />
allocate memory if it does not need to).<br />
<br />
Could someone that's familiar with memcached internals please confirm<br />
this.<br />
<br />
Regards,<br />
amix<br />
<br />
On 22 Okt., 23:12, amix &lt;ami...@gmail.com&gt; wrote:<br />
&gt; We have recently added a new memcached server, but it's underutilized<br />
&gt; or at least not as much utilized as our other memcached servers. The<br />
&gt; difference between this new server and the older server are following:<br />
&gt; * memcached 1.4.5 is run (instead of memcached 1.2.2)<br />
&gt; * Ubuntu 10 is run (instead of Ubuntu 8)<br />
&gt;<br />
&gt; Has something drastically changed between 1.2.2 and 1.4.5? Or has<br />
&gt; something changed between Ubuntu 8 and Ubuntu 10? Anybody else having<br />
&gt; a similar issue?<br />
&gt;<br />
&gt; Here is usage patterns from these two servers. Each of them have 3GB<br />
&gt; available, but the server running 1.4.5 only uses around 300MB. We are<br />
&gt; unsure what the cause is. These servers are run like this:<br />
&gt;<br />
&gt; memcached -m 3072 -k -p 11221 -u plurk -l 192.168.0.35 -c 10240<br />
&gt;<br />
&gt; Regards,<br />
&gt; amix<br />
&gt;<br />
&gt; [   (   '192.168.0.35:11221 (1)',<br />
&gt;         {   'accepting_conns': '1',<br />
&gt;             'auth_cmds': '0',<br />
&gt;             'auth_errors': '0',<br />
&gt;             'bytes': '71301667',<br />
&gt;             'bytes_read': '68596588527',<br />
&gt;             'bytes_written': '215641263049',<br />
&gt;             'cas_badval': '0',<br />
&gt;             'cas_hits': '0',<br />
&gt;             'cas_misses': '0',<br />
&gt;             'cmd_flush': '0',<br />
&gt;             'cmd_get': '246655883',<br />
&gt;             'cmd_set': '62909113',<br />
&gt;             'conn_yields': '0',<br />
&gt;             'connection_structures': '2526',<br />
&gt;             'curr_connections': '2262',<br />
&gt;             'curr_items': '132819',<br />
&gt;             'decr_hits': '0',<br />
&gt;             'decr_misses': '0',<br />
&gt;             'delete_hits': '2297822',<br />
&gt;             'delete_misses': '23286159',<br />
&gt;             'evictions': '0',<br />
&gt;             'get_hits': '163185291',<br />
&gt;             'get_misses': '83470592',<br />
&gt;             'incr_hits': '25466',<br />
&gt;             'incr_misses': '0',<br />
&gt;             'limit_maxbytes': '3221225472',<br />
&gt;             'listen_disabled_num': '0',<br />
&gt;             'pid': '7319',<br />
&gt;             'pointer_size': '64',<br />
&gt;             'reclaimed': '36224211',<br />
&gt;             'rusage_system': '8341.840000',<br />
&gt;             'rusage_user': '3173.390000',<br />
&gt;             'threads': '4',<br />
&gt;             'time': '1287781046',<br />
&gt;             'total_connections': '139794',<br />
&gt;             'total_items': '62899221',<br />
&gt;             'uptime': '514507',<br />
&gt;             'version': '1.4.5'}),<br />
&gt;     (   '192.168.0.70:11221 (1)',<br />
&gt;         {   'bytes': '2879886510',<br />
&gt;             'bytes_read': '65548028841',<br />
&gt;             'bytes_written': '179395226207',<br />
&gt;             'cmd_get': '277646387',<br />
&gt;             'cmd_set': '68425776',<br />
&gt;             'connection_structures': '2553',<br />
&gt;             'curr_connections': '2291',<br />
&gt;             'curr_items': '3907837',<br />
&gt;             'evictions': '0',<br />
&gt;             'get_hits': '193391910',<br />
&gt;             'get_misses': '84254477',<br />
&gt;             'limit_maxbytes': '3221225472',<br />
&gt;             'pid': '17580',<br />
&gt;             'pointer_size': '64',<br />
&gt;             'rusage_system': '6113.240000',<br />
&gt;             'rusage_user': '3507.560000',<br />
&gt;             'threads': '1',<br />
&gt;             'time': '1287781045',<br />
&gt;             'total_connections': '138271',<br />
&gt;             'total_items': '68416527',<br />
&gt;             'uptime': '514517',<br />
&gt;             'version': '1.2.2'})]]]></description>
            <dc:creator>amix</dc:creator>
            <category>Memcached</category>
            <pubDate>Sat, 23 Oct 2010 00:00:16 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,219973,219973#msg-219973</guid>
            <title>Memcached underutilized</title>
            <link>http://www.serverphorums.com/read.php?9,219973,219973#msg-219973</link>
            <description><![CDATA[ We have recently added a new memcached server, but it's underutilized<br />
or at least not as much utilized as our other memcached servers. The<br />
difference between this new server and the older server are following:<br />
* memcached 1.4.5 is run (instead of memcached 1.2.2)<br />
* Ubuntu 10 is run (instead of Ubuntu 8)<br />
<br />
Has something drastically changed between 1.2.2 and 1.4.5? Or has<br />
something changed between Ubuntu 8 and Ubuntu 10? Anybody else having<br />
a similar issue?<br />
<br />
Here is usage patterns from these two servers. Each of them have 3GB<br />
available, but the server running 1.4.5 only uses around 300MB. We are<br />
unsure what the cause is. These servers are run like this:<br />
<br />
memcached -m 3072 -k -p 11221 -u plurk -l 192.168.0.35 -c 10240<br />
<br />
Regards,<br />
amix<br />
<br />
[   (   '192.168.0.35:11221 (1)',<br />
        {   'accepting_conns': '1',<br />
            'auth_cmds': '0',<br />
            'auth_errors': '0',<br />
            'bytes': '71301667',<br />
            'bytes_read': '68596588527',<br />
            'bytes_written': '215641263049',<br />
            'cas_badval': '0',<br />
            'cas_hits': '0',<br />
            'cas_misses': '0',<br />
            'cmd_flush': '0',<br />
            'cmd_get': '246655883',<br />
            'cmd_set': '62909113',<br />
            'conn_yields': '0',<br />
            'connection_structures': '2526',<br />
            'curr_connections': '2262',<br />
            'curr_items': '132819',<br />
            'decr_hits': '0',<br />
            'decr_misses': '0',<br />
            'delete_hits': '2297822',<br />
            'delete_misses': '23286159',<br />
            'evictions': '0',<br />
            'get_hits': '163185291',<br />
            'get_misses': '83470592',<br />
            'incr_hits': '25466',<br />
            'incr_misses': '0',<br />
            'limit_maxbytes': '3221225472',<br />
            'listen_disabled_num': '0',<br />
            'pid': '7319',<br />
            'pointer_size': '64',<br />
            'reclaimed': '36224211',<br />
            'rusage_system': '8341.840000',<br />
            'rusage_user': '3173.390000',<br />
            'threads': '4',<br />
            'time': '1287781046',<br />
            'total_connections': '139794',<br />
            'total_items': '62899221',<br />
            'uptime': '514507',<br />
            'version': '1.4.5'}),<br />
    (   '192.168.0.70:11221 (1)',<br />
        {   'bytes': '2879886510',<br />
            'bytes_read': '65548028841',<br />
            'bytes_written': '179395226207',<br />
            'cmd_get': '277646387',<br />
            'cmd_set': '68425776',<br />
            'connection_structures': '2553',<br />
            'curr_connections': '2291',<br />
            'curr_items': '3907837',<br />
            'evictions': '0',<br />
            'get_hits': '193391910',<br />
            'get_misses': '84254477',<br />
            'limit_maxbytes': '3221225472',<br />
            'pid': '17580',<br />
            'pointer_size': '64',<br />
            'rusage_system': '6113.240000',<br />
            'rusage_user': '3507.560000',<br />
            'threads': '1',<br />
            'time': '1287781045',<br />
            'total_connections': '138271',<br />
            'total_items': '68416527',<br />
            'uptime': '514517',<br />
            'version': '1.2.2'})]]]></description>
            <dc:creator>amix</dc:creator>
            <category>Memcached</category>
            <pubDate>Fri, 22 Oct 2010 23:30:15 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,155125,219610#msg-219610</guid>
            <title>Re: Issue 140 in memcached:  &quot;stats items&quot; does not return correct &quot;age&quot; value</title>
            <link>http://www.serverphorums.com/read.php?9,155125,219610#msg-219610</link>
            <description><![CDATA[ Comment #4 on issue 140 by <a href="mailto:&#115;&#97;&#110;&#106;&#101;&#101;&#118;&#97;&#46;&#46;&#46;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;">&#115;&#97;&#110;&#106;&#101;&#101;&#118;&#97;&#46;&#46;&#46;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;</a>:  &quot;stats items&quot; does not  <br />
return correct &quot;age&quot; value<br />
<a href="http://code.google.com/p/memcached/issues/detail?id=140" target="_blank"  rel="nofollow">http://code.google.com/p/memcached/issues/detail?id=140</a><br />
<br />
Is it possible to get a fix for this soon? It used to work in the old  <br />
version (1.2.6)<br />
<br />
Thanks.<br />
<br />
Sanjeev]]></description>
            <dc:creator>Anonymous User</dc:creator>
            <category>Memcached</category>
            <pubDate>Fri, 22 Oct 2010 20:50:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,218154,219228#msg-219228</guid>
            <title>Re: cannot assign requested address (99)</title>
            <link>http://www.serverphorums.com/read.php?9,218154,219228#msg-219228</link>
            <description><![CDATA[ STAT curr_connections 15<br />
STAT total_connections 340578<br />
<br />
Looks like your client code is creating and closing connections, instead of<br />
reusing them.<br />
You could increase the port range and/or decrease the tcp close timeout, but<br />
much easier fix would be to use the client libraries connection reusing<br />
ability.<br />
<br />
thanks!<br />
Rohit Karlupia<br />
<br />
<br />
On Fri, Oct 22, 2010 at 11:50 AM, dormando &lt;dormando@rydia.net&gt; wrote:<br />
<br />
&gt;<br />
&gt; &gt; We have a very busy high traffic site and recently started using memached<br />
&gt; to store frequently accessed queries.  We put memcached on each<br />
&gt; &gt; php application server so that the connection is local to the system.<br />
&gt; &gt; Today, during one of our peek times, we started getting this error and<br />
&gt; had to disable the caching of queries:<br />
&gt; &gt;<br />
&gt; &gt; [20-Oct-2010 12:05:57] PHP Warning: Memcache::connect() [&lt;a<br />
&gt; href='memcache.connect'&gt;memcache.connect&lt;/a&gt;]: Can't connect to<br />
&gt; &gt; 127.0.0.1:11211, Cannot assign requested address (99)<br />
&gt;<br />
&gt; You're probably running out of local ports. Google for that phrase and<br />
&gt; you'll probably find help :)<br />
&gt;<br />
&gt; Just as a side note; you're meant to set up memcached as a big cluster and<br />
&gt; use all the cache space, as noted at <a href="http://memcached.org/about" target="_blank"  rel="nofollow">http://memcached.org/about</a> - sticking<br />
&gt; them all to localhost only defeats half the purpose. yes I know that<br />
&gt; &quot;localhost is faster&quot; but it's more than adequate over the network.<br />
&gt;<br />
&gt; -Dormando]]></description>
            <dc:creator>Rohit Karlupia</dc:creator>
            <category>Memcached</category>
            <pubDate>Fri, 22 Oct 2010 08:50:17 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,218154,219218#msg-219218</guid>
            <title>Re: cannot assign requested address (99)</title>
            <link>http://www.serverphorums.com/read.php?9,218154,219218#msg-219218</link>
            <description><![CDATA[ &gt; We have a very busy high traffic site and recently started using memached to store frequently accessed queries.  We put memcached on each<br />
&gt; php application server so that the connection is local to the system.<br />
&gt; Today, during one of our peek times, we started getting this error and had to disable the caching of queries:<br />
&gt;<br />
&gt; [20-Oct-2010 12:05:57] PHP Warning: Memcache::connect() [&lt;a href='memcache.connect'&gt;memcache.connect&lt;/a&gt;]: Can't connect to<br />
&gt; 127.0.0.1:11211, Cannot assign requested address (99) <br />
<br />
You're probably running out of local ports. Google for that phrase and<br />
you'll probably find help :)<br />
<br />
Just as a side note; you're meant to set up memcached as a big cluster and<br />
use all the cache space, as noted at <a href="http://memcached.org/about" target="_blank"  rel="nofollow">http://memcached.org/about</a> - sticking<br />
them all to localhost only defeats half the purpose. yes I know that<br />
&quot;localhost is faster&quot; but it's more than adequate over the network.<br />
<br />
-Dormando]]></description>
            <dc:creator>dormando</dc:creator>
            <category>Memcached</category>
            <pubDate>Fri, 22 Oct 2010 08:30:07 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,219185,219185#msg-219185</guid>
            <title>Matrix in memcache</title>
            <link>http://www.serverphorums.com/read.php?9,219185,219185#msg-219185</link>
            <description><![CDATA[ Hi all..<br />
<br />
I have dense matrix (large sized matrix).Because of its size i could not be<br />
able to kept in memory.So i would like to use memcache.I configured<br />
memcached and is working.<br />
But how can i represent this Matrix input as a key,value pair.Is there any<br />
need to use any Db like MongoDb...<br />
<br />
Pls help me to find out the solution<br />
<br />
Thank you<br />
Sreejith]]></description>
            <dc:creator>Sreejith S</dc:creator>
            <category>Memcached</category>
            <pubDate>Fri, 22 Oct 2010 06:40:06 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,218840,218840#msg-218840</guid>
            <title>memcached out of the box versus behavior tweaks</title>
            <link>http://www.serverphorums.com/read.php?9,218840,218840#msg-218840</link>
            <description><![CDATA[ Hi all,<br />
<br />
Just wondering about a few things while pondering - what are most people <br />
using in terms of memcached out of the box - starting it up with a <br />
particular size, but not setting any particular behavior, or what <br />
settings have people modified in the behavior of the client that they've <br />
found useful for their installations?<br />
<br />
Also, for large installations, what have people found works better - one <br />
large instance or smaller multiple instances? I'm thinking if you were <br />
to use buckets, that the latter wouldn't be as necessary.<br />
<br />
Thoughts?]]></description>
            <dc:creator>Patrick Galbraith</dc:creator>
            <category>Memcached</category>
            <pubDate>Thu, 21 Oct 2010 17:11:07 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,218154,218154#msg-218154</guid>
            <title>cannot assign requested address (99)</title>
            <link>http://www.serverphorums.com/read.php?9,218154,218154#msg-218154</link>
            <description><![CDATA[ We have a very busy high traffic site and recently started using memached to<br />
store frequently accessed queries.  We put memcached on each php application<br />
server so that the connection is local to the system.<br />
<br />
Today, during one of our peek times, we started getting this error and had<br />
to disable the caching of queries:<br />
<br />
[20-Oct-2010 12:05:57] PHP Warning: Memcache::connect() [&lt;a<br />
href='memcache.connect'&gt;memcache.connect&lt;/a&gt;]: Can't connect to<br />
127.0.0.1:11211, Cannot assign requested address (99)<br />
<br />
In searching online for this error, I came across several articles, but<br />
nothing that I though was relevant to our case.  I tried increasing the<br />
number of connections from 1024 (default) to 5000 but the error continued.<br />
<br />
Does anyone have any suggestions / thoughts of where to look?<br />
<br />
stats information is below:<br />
<br />
STAT pid 13425<br />
STAT uptime 1940<br />
STAT time 1287591991<br />
STAT version 1.4.5<br />
STAT pointer_size 64<br />
STAT rusage_user 6.443020<br />
STAT rusage_system 25.109182<br />
STAT curr_connections 15<br />
STAT total_connections 340578<br />
STAT connection_structures 118<br />
STAT cmd_get 357224<br />
STAT cmd_set 136334<br />
STAT cmd_flush 0<br />
STAT get_hits 326956<br />
STAT get_misses 30268<br />
STAT delete_misses 0<br />
STAT delete_hits 0<br />
STAT incr_misses 0<br />
STAT incr_hits 0<br />
STAT decr_misses 0<br />
STAT decr_hits 0<br />
STAT cas_misses 0<br />
STAT cas_hits 0<br />
STAT cas_badval 0<br />
STAT auth_cmds 0<br />
STAT auth_errors 0<br />
STAT bytes_read 21641880<br />
STAT bytes_written 41425437<br />
STAT limit_maxbytes 1073741824<br />
STAT accepting_conns 1<br />
STAT listen_disabled_num 0<br />
STAT threads 4<br />
STAT conn_yields 0<br />
STAT bytes 2925203<br />
STAT curr_items 19070<br />
STAT total_items 136334<br />
STAT evictions 0<br />
STAT reclaimed 12<br />
END]]></description>
            <dc:creator>Ilan Berkner</dc:creator>
            <category>Memcached</category>
            <pubDate>Wed, 20 Oct 2010 18:30:10 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,216318,217929#msg-217929</guid>
            <title>Re: Memory capacity overflow of memcached</title>
            <link>http://www.serverphorums.com/read.php?9,216318,217929#msg-217929</link>
            <description><![CDATA[ Uhh, try 128MB? or higher?<br />
<br />
Are you adjusting the slab factor size? The minimum amount of memory<br />
memcached uses is 1MB * the number of slab classes + some misc stuff (the<br />
hash table, buffers, etc). 48M should be enough tho...<br />
<br />
Just in case; if you're asking if you set the memory limit to 128M, and<br />
you store 256M of data, what happens? That should work, and you should see<br />
'evictions' increasing in the 'stats' output. As it'll eject the oldest<br />
data to make room for newer data. You can start it with -M I think if you<br />
want to have it get pissed off once it's full.<br />
<br />
On Wed, 20 Oct 2010, yashushi wrote:<br />
<br />
&gt; Hi Dormando,<br />
&gt;<br />
&gt; We have tried the setting with 48MB and 64MB, but the same problem<br />
&gt; still comes out.<br />
&gt; Please kindly help to clarify.<br />
&gt; Thank you.<br />
&gt;<br />
&gt; -Yashushi<br />
&gt;<br />
&gt;<br />
&gt; On 10月18日, 下午4時50分, dormando &lt;dorma...@rydia.net&gt; wrote:<br />
&gt; &gt; &gt; Hi,<br />
&gt; &gt;<br />
&gt; &gt; &gt; My team try to use memcached to provide PHP caching recently but we<br />
&gt; &gt; &gt; find out there is a memoryoverflowproblem.<br />
&gt; &gt;<br />
&gt; &gt; &gt; Here is the steps we have tested.<br />
&gt; &gt; &gt; (1)Create memcached with the max. memory is 4MB .<br />
&gt; &gt; &gt; (2)Add 900KB data from web to memcached 3 times.<br />
&gt; &gt; &gt; (3)Add 700KB data from web to memcached.<br />
&gt; &gt; &gt; (4)Add 500KB data from web to memcached.<br />
&gt; &gt; &gt; (5)Add 300KB data from web to memcached.<br />
&gt; &gt; &gt; (6)The new data still can transfer to memcached when new data size is<br />
&gt; &gt; &gt; greater than memcached remaining space size.<br />
&gt; &gt;<br />
&gt; &gt; &gt; We use &quot;stats&quot; to check &quot;bytes&quot; and it shows the memory size is over<br />
&gt; &gt; &gt; 4MB.<br />
&gt; &gt; &gt; Could you help to clarify what is going on?<br />
&gt; &gt; &gt; Thank you.<br />
&gt; &gt;<br />
&gt; &gt; The lowest the memory limit can go is about 48M. It ignores anything<br />
&gt; &gt; lower.<br />
&gt; &gt;<br />
&gt; &gt; -Dormando<br />
&gt;]]></description>
            <dc:creator>dormando</dc:creator>
            <category>Memcached</category>
            <pubDate>Wed, 20 Oct 2010 09:30:13 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,216318,217924#msg-217924</guid>
            <title>Re: Memory capacity overflow of memcached</title>
            <link>http://www.serverphorums.com/read.php?9,216318,217924#msg-217924</link>
            <description><![CDATA[ Hi Dormando,<br />
<br />
We have tried the setting with 48MB and 64MB, but the same problem<br />
still comes out.<br />
Please kindly help to clarify.<br />
Thank you.<br />
<br />
-Yashushi<br />
<br />
<br />
On 10月18日, 下午4時50分, dormando &lt;dorma...@rydia.net&gt; wrote:<br />
&gt; &gt; Hi,<br />
&gt;<br />
&gt; &gt; My team try to use memcached to provide PHP caching recently but we<br />
&gt; &gt; find out there is a memoryoverflowproblem.<br />
&gt;<br />
&gt; &gt; Here is the steps we have tested.<br />
&gt; &gt; (1)Create memcached with the max. memory is 4MB .<br />
&gt; &gt; (2)Add 900KB data from web to memcached 3 times.<br />
&gt; &gt; (3)Add 700KB data from web to memcached.<br />
&gt; &gt; (4)Add 500KB data from web to memcached.<br />
&gt; &gt; (5)Add 300KB data from web to memcached.<br />
&gt; &gt; (6)The new data still can transfer to memcached when new data size is<br />
&gt; &gt; greater than memcached remaining space size.<br />
&gt;<br />
&gt; &gt; We use &quot;stats&quot; to check &quot;bytes&quot; and it shows the memory size is over<br />
&gt; &gt; 4MB.<br />
&gt; &gt; Could you help to clarify what is going on?<br />
&gt; &gt; Thank you.<br />
&gt;<br />
&gt; The lowest the memory limit can go is about 48M. It ignores anything<br />
&gt; lower.<br />
&gt;<br />
&gt; -Dormando]]></description>
            <dc:creator>yashushi</dc:creator>
            <category>Memcached</category>
            <pubDate>Wed, 20 Oct 2010 09:20:07 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,214797,217554#msg-217554</guid>
            <title>Re: 1MB limit on object size</title>
            <link>http://www.serverphorums.com/read.php?9,214797,217554#msg-217554</link>
            <description><![CDATA[ Peter and Dustin,<br />
<br />
Thanks a ton for your replies. The info did help me.<br />
<br />
-Sakuntala.<br />
<br />
<br />
On Oct 15, 12:58 pm, Dustin &lt;dsalli...@gmail.com&gt; wrote:<br />
&gt; On Oct 15, 9:56 am, &quot;Peter J. Holzer&quot; &lt;h...@hjp.at&gt; wrote:<br />
&gt;<br />
&gt; &gt; Yes, it's a hard limit (but you can recompile memcached if you want a<br />
&gt; &gt; higher limit). But most client libraries can compress the<br />
&gt; &gt; objects before storing it. If you have enabled compression in spy<br />
&gt; &gt; memcached client (which might be the default) it is possible that you<br />
&gt; &gt; can store items much larger than 1MB if they compress well.<br />
&gt;<br />
&gt;  If you don't want to recompile it, you can just use -I at runtime.<br />
&gt;<br />
&gt; -I            Override the size of each slab page. Adjusts max item<br />
&gt; size<br />
&gt;               (default: 1mb, min: 1k, max: 128m)]]></description>
            <dc:creator>Sakuntala</dc:creator>
            <category>Memcached</category>
            <pubDate>Tue, 19 Oct 2010 20:40:16 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,217516,217516#msg-217516</guid>
            <title>Most efficient way of modifying value</title>
            <link>http://www.serverphorums.com/read.php?9,217516,217516#msg-217516</link>
            <description><![CDATA[ Hello!<br />
<br />
I would like to use memcached as a fast cache for  a hospital order<br />
database.<br />
<br />
Each order has a location (5 possible values), procedure (about 100<br />
possible values),<br />
and patient status (3 different values).<br />
<br />
So, my thinking was for each order, create a key as follows:<br />
<br />
(location code)_(procedure code)_(status code)<br />
<br />
and the value would be a list of all orders matching a given code.<br />
<br />
So, doing a query on a given location, procedure and status will just<br />
entail reading the value from the key.<br />
<br />
My question is: what is the best way of modifying the value, as an in-<br />
memory list.<br />
<br />
Can this be done on the memcached server, or do I need the client to<br />
pull the value out,<br />
modify it, and put it back in?<br />
<br />
Thanks!]]></description>
            <dc:creator>Jorge</dc:creator>
            <category>Memcached</category>
            <pubDate>Tue, 19 Oct 2010 19:30:07 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,217162,217475#msg-217475</guid>
            <title>Re: next planned release of memcached</title>
            <link>http://www.serverphorums.com/read.php?9,217162,217475#msg-217475</link>
            <description><![CDATA[ Hi Pavel,<br />
<br />
On 10/19/10 12:00 AM, Pavel Kushnirchuk wrote:<br />
&gt; Folks,<br />
&gt;<br />
&gt; May be anybody know, when will be a next planned release of memcached.<br />
&gt; Especially I am interested in a release of Win32 branch.<br />
&gt;<br />
<br />
As dormando said, we're aiming to put some effort into this soon.  I'm<br />
curious though, what about Win32 are you looking for updates for?  Just<br />
want to be sure it's something we're thinking about already.<br />
<br />
- Matt]]></description>
            <dc:creator>Matt Ingenthron</dc:creator>
            <category>Memcached</category>
            <pubDate>Tue, 19 Oct 2010 18:40:11 +0200</pubDate>
        </item>
    </channel>
</rss>
