<?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>Mon, 20 May 2013 17:35:24 +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 (no replies)</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,222674,222674#msg-222674</guid>
            <title>per-key cache misses (no replies)</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,221790,221790#msg-221790</guid>
            <title>curious questions (1 reply)</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 01:10:13 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,219973,219973#msg-219973</guid>
            <title>Memcached underutilized (3 replies)</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>Sat, 23 Oct 2010 14:30:05 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,219185,219185#msg-219185</guid>
            <title>Matrix in memcache (4 replies)</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, 29 Oct 2010 03:10: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 (1 reply)</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, 28 Oct 2010 03:30:07 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,218154,218154#msg-218154</guid>
            <title>cannot assign requested address (99) (2 replies)</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>Fri, 22 Oct 2010 08:50:17 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,217516,217516#msg-217516</guid>
            <title>Most efficient way of modifying value (5 replies)</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, 26 Oct 2010 23:30:07 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,217162,217162#msg-217162</guid>
            <title>next planned release of memcached (2 replies)</title>
            <link>http://www.serverphorums.com/read.php?9,217162,217162#msg-217162</link>
            <description><![CDATA[ Folks,<br />
<br />
May be anybody know, when will be a next planned release of memcached.<br />
Especially I am interested in a release of Win32 branch.]]></description>
            <dc:creator>Pavel Kushnirchuk</dc:creator>
            <category>Memcached</category>
            <pubDate>Tue, 19 Oct 2010 18:40:11 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,216563,216563#msg-216563</guid>
            <title>Enhancement of memcached (2 replies)</title>
            <link>http://www.serverphorums.com/read.php?9,216563,216563#msg-216563</link>
            <description><![CDATA[ Sorry may be my question is a bit stupid.<br />
I need to extend a memcached with very simple additional<br />
functionality(allow to listen memcached on multiple IP addresses).<br />
Could I do all necessary changes in Win32 branch? Will all my changes<br />
to go to any of next releases?]]></description>
            <dc:creator>Pavel Kushnirchuk</dc:creator>
            <category>Memcached</category>
            <pubDate>Mon, 18 Oct 2010 23:50:05 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,216562,216562#msg-216562</guid>
            <title>PHP and memcached issues (1 reply)</title>
            <link>http://www.serverphorums.com/read.php?9,216562,216562#msg-216562</link>
            <description><![CDATA[ Hi all,<br />
Congratulations about your wonderful community<br />
<br />
I'm kindly asking your help to resolve an issue:<br />
<br />
Im struggling to use memcache with PHP on my server.<br />
I run Red Hat Enterprise Linux Server release 5.5 with php-memcache<br />
3.0.4 and memcached 1.4.5 installed.<br />
<br />
The PHP implementation i have setup returns an exception that it<br />
cannot store data to memcached<br />
I don't have access to the code since its encrypted but i would like<br />
to verify that my configuration is correct.<br />
Is anyone willing to help me? Would be much appreciated<br />
<br />
Thank you<br />
Chris]]></description>
            <dc:creator>christophorosp</dc:creator>
            <category>Memcached</category>
            <pubDate>Mon, 18 Oct 2010 17:40:26 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,216561,216561#msg-216561</guid>
            <title>memcached server for listening of list of IP addresses (no replies)</title>
            <link>http://www.serverphorums.com/read.php?9,216561,216561#msg-216561</link>
            <description><![CDATA[ Is it planned for any of future releases of memcached to include<br />
support for listening of list of IP addresses.]]></description>
            <dc:creator>Pavel Kushnirchuk</dc:creator>
            <category>Memcached</category>
            <pubDate>Mon, 18 Oct 2010 17:40:26 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,216508,216508#msg-216508</guid>
            <title>how do you find out which version of memcached you have installed? (1 reply)</title>
            <link>http://www.serverphorums.com/read.php?9,216508,216508#msg-216508</link>
            <description><![CDATA[ ]]></description>
            <dc:creator>Ilan Berkner</dc:creator>
            <category>Memcached</category>
            <pubDate>Mon, 18 Oct 2010 16:50:35 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,216507,216507#msg-216507</guid>
            <title>Running stats command but its not showing listen_disabled_num? (no replies)</title>
            <link>http://www.serverphorums.com/read.php?9,216507,216507#msg-216507</link>
            <description><![CDATA[ ]]></description>
            <dc:creator>Ilan Berkner</dc:creator>
            <category>Memcached</category>
            <pubDate>Mon, 18 Oct 2010 16:40:20 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,216318,216318#msg-216318</guid>
            <title>Memory capacity overflow of memcached (3 replies)</title>
            <link>http://www.serverphorums.com/read.php?9,216318,216318#msg-216318</link>
            <description><![CDATA[ Hi,<br />
<br />
My team try to use memcached to provide PHP caching recently but we<br />
find out there is a memory overflow problem.<br />
<br />
Here is the steps we have tested.<br />
(1)Create memcached with the max. memory is 4MB .<br />
(2)Add 900KB data from web to memcached 3 times.<br />
(3)Add 700KB data from web to memcached.<br />
(4)Add 500KB data from web to memcached.<br />
(5)Add 300KB data from web to memcached.<br />
(6)The new data still can transfer to memcached when new data size is<br />
greater than memcached remaining space size.<br />
<br />
We use &quot;stats&quot; to check &quot;bytes&quot; and it shows the memory size is over<br />
4MB.<br />
Could you help to clarify what is going on?<br />
Thank you.<br />
<br />
Regards,<br />
Yashushi]]></description>
            <dc:creator>yashushi</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,216228,216228#msg-216228</guid>
            <title>xmemcached 1.2.6.1 released and update the java memcached client benchmark (2 replies)</title>
            <link>http://www.serverphorums.com/read.php?9,216228,216228#msg-216228</link>
            <description><![CDATA[ hi all<br />
<br />
 xmemcached is an open-source memcached client for java,i am pleased<br />
to announce the release of Xmemcached version 1.2.6.1,it is a minor<br />
version fixed bugs.if you use maven ,you cloud use it as<br />
<br />
 &lt;dependency&gt;<br />
      &lt;groupId&gt;com.googlecode.xmemcached&lt;/groupId&gt;<br />
      &lt;artifactId&gt;xmemcached&lt;/artifactId&gt;<br />
      &lt;version&gt;1.2.6.1&lt;/version&gt;<br />
 &lt;/dependency&gt;<br />
<br />
And also i have updated the java memcached client performance<br />
benchmark ,you can check it on<br />
<br />
<a href="http://xmemcached.googlecode.com/svn/trunk/benchmark/benchmark.html" target="_blank"  rel="nofollow">http://xmemcached.googlecode.com/svn/trunk/benchmark/benchmark.html</a><br />
<br />
<br />
homepage:  <a href="http://code.google.com/p/xmemcached/" target="_blank"  rel="nofollow">http://code.google.com/p/xmemcached/</a><br />
download:    <a href="http://code.google.com/p/xmemcached/downloads/list" target="_blank"  rel="nofollow">http://code.google.com/p/xmemcached/downloads/list</a><br />
wiki:             <a href="http://code.google.com/p/xmemcached/wiki/User_Guide" target="_blank"  rel="nofollow">http://code.google.com/p/xmemcached/wiki/User_Guide</a><br />
<br />
Any suggestions are welcome,thanks.]]></description>
            <dc:creator>dennis</dc:creator>
            <category>Memcached</category>
            <pubDate>Mon, 18 Oct 2010 11:10:09 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,215816,215816#msg-215816</guid>
            <title>Updated: Problems about two memcached java clients: spy and gwhalin (10 replies)</title>
            <link>http://www.serverphorums.com/read.php?9,215816,215816#msg-215816</link>
            <description><![CDATA[ Follow up my previous question. I tried to read those 6 million<br />
&lt;key,value&gt; records out. Both API are capable, but the spymemcache API<br />
is faster (16 minutes) than the Whalin's v2.5.1 distribution  (24<br />
minutes) (http://github.com/gwhalin/Memcached-Java-Client/downloads)<br />
..Since the spymemcache cannot insert that much, I came to a strange<br />
hybrid settings using Whalin's API to store, and using spymemcache to<br />
read ...<br />
<br />
I am really curious why spy cannot store up to 6 million...<br />
<br />
<br />
On Sat, Oct 16, 2010 at 12:59 PM, Shi Yu &lt;shee.yu@gmail.com&gt; wrote:<br />
&gt; Hi,<br />
&gt;<br />
&gt; I have two problems when using memcached java clients the spymemcached<br />
&gt; (http://code.google.com/p/spymemcached/) and the gwhalin java client<br />
&gt; for memcached (http://github.com/gwhalin/Memcached-Java-Client). I<br />
&gt; found that the spymemcached failed to store more than 4.3 million<br />
&gt; records sometimes 3.7 million (please see my code below). There was no<br />
&gt; error no exception, but simply the code automatically stopped at the<br />
&gt; 4.3 million and didn't even hit the final line. In contrast, the<br />
&gt; gwhalin java client was able to insert 6 million records without<br />
&gt; problem, however, comparing the speed of inserting the first 4 million<br />
&gt; records that the gwhalin client is much slower than the spymemcached.<br />
&gt; The memcached server is set up using the following command<br />
&gt; &quot;./memcached -d -m 4000 127.0.0.1 -p 11211&quot; and I think there is no<br />
&gt; problem at the server side. What is the problem here, should I adjust<br />
&gt; any settings? Thanks?<br />
&gt;<br />
&gt; -Shi<br />
&gt;<br />
&gt;<br />
&gt; //spymemcached code<br />
&gt; public static void main(String[] args) throws Exception {<br />
&gt;    MemcachedClient mc=new MemcachedClient(new<br />
&gt; InetSocketAddress(&quot;ocuic32.research&quot;, 11211));<br />
&gt;     mc.flush();<br />
&gt;     System.out.println(&quot;Memchaced flushed ...&quot;);<br />
&gt;     int count = 0;<br />
&gt;     for(int i=0;i&lt;6000000;i++){<br />
&gt;            String a = &quot;String&quot;+i;<br />
&gt;            String b = &quot;Value&quot;+i;<br />
&gt;<br />
&gt;            mc.add(a,i,(String) b);<br />
&gt;            count ++;<br />
&gt;            if (String.valueOf(count).endsWith(&quot;00000&quot;))<br />
&gt; System.out.println(count+ &quot; elements added.&quot;);<br />
&gt;    }<br />
&gt;<br />
&gt;    System.out.println(&quot;done &quot;+ count +&quot; records inserted&quot;);<br />
&gt; //spymemcached aint able to get this line<br />
&gt; }<br />
&gt;<br />
&gt;<br />
&gt;<br />
&gt; //gwhalin memcached code<br />
&gt; public static void main(String[] args) throws Exception {<br />
&gt;                BasicConfigurator.configure();<br />
&gt;                String[] servers = { &quot;ocuic32.research:11211&quot; };<br />
&gt;                SockIOPool pool = SockIOPool.getInstance();<br />
&gt;                pool.setServers( servers );<br />
&gt;                pool.setFailover( true );<br />
&gt;                pool.setInitConn( 10 );<br />
&gt;                pool.setMinConn( 5 );<br />
&gt;                pool.setMaxConn( 250 );<br />
&gt;                pool.setMaintSleep( 30 );<br />
&gt;                pool.setNagle( false );<br />
&gt;                pool.setSocketTO( 3000 );<br />
&gt;                pool.setAliveCheck( true );<br />
&gt;                pool.initialize();<br />
&gt;<br />
&gt;                 MemcachedClient mcc = new MemcachedClient();<br />
&gt;                 mcc.flushAll();<br />
&gt;                 int count = 0;<br />
&gt;                 int maxlength = 0;<br />
&gt;                 //while((line=br.readLine())!=null){<br />
&gt;<br />
&gt;                 for(int i=0;i&lt;6000000;i++){<br />
&gt;                     String a = &quot;String&quot;+i;<br />
&gt;                     String b = &quot;Value&quot;+i;<br />
&gt;                     String sha1_ad1 = AeSimpleSHA1.SHA1(a);<br />
&gt;                     mcc.set(sha1_ad1,(String) b);<br />
&gt;                     count ++;<br />
&gt;                     if (String.valueOf(count).endsWith(&quot;00000&quot;))<br />
&gt; System.out.println(count+ &quot; elements added.&quot;);<br />
&gt;<br />
&gt;                 }<br />
&gt;<br />
&gt;               System.out.println(&quot;done &quot;+ count +&quot; records<br />
&gt; inserted&quot;);  //gwhalin 's client is able to get this line, but very<br />
&gt; slow<br />
&gt;      }<br />
&gt;]]></description>
            <dc:creator>Shi Yu</dc:creator>
            <category>Memcached</category>
            <pubDate>Sun, 17 Oct 2010 10:00:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,215744,215744#msg-215744</guid>
            <title>Problems about two memcached java clients: spy and gwhalin (7 replies)</title>
            <link>http://www.serverphorums.com/read.php?9,215744,215744#msg-215744</link>
            <description><![CDATA[ Hi,<br />
<br />
I have two problems when using memcached java clients the spymemcached<br />
(http://code.google.com/p/spymemcached/) and the gwhalin java client<br />
for memcached (http://github.com/gwhalin/Memcached-Java-Client). I<br />
found that the spymemcached failed to store more than 4.3 million<br />
records sometimes 3.7 million (please see my code below). There was no<br />
error no exception, but simply the code automatically stopped at the<br />
4.3 million and didn't even hit the final line. In contrast, the<br />
gwhalin java client was able to insert 6 million records without<br />
problem, however, comparing the speed of inserting the first 4 million<br />
records that the gwhalin client is much slower than the spymemcached.<br />
The memcached server is set up using the following command<br />
&quot;./memcached -d -m 4000 127.0.0.1 -p 11211&quot; and I think there is no<br />
problem at the server side. What is the problem here, should I adjust<br />
any settings? Thanks?<br />
<br />
-Shi<br />
<br />
<br />
//spymemcached code<br />
public static void main(String[] args) throws Exception {<br />
    MemcachedClient mc=new MemcachedClient(new<br />
InetSocketAddress(&quot;ocuic32.research&quot;, 11211));<br />
     mc.flush();<br />
     System.out.println(&quot;Memchaced flushed ...&quot;);<br />
     int count = 0;<br />
     for(int i=0;i&lt;6000000;i++){<br />
            String a = &quot;String&quot;+i;<br />
            String b = &quot;Value&quot;+i;<br />
<br />
            mc.add(a,i,(String) b);<br />
            count ++;<br />
            if (String.valueOf(count).endsWith(&quot;00000&quot;))<br />
System.out.println(count+ &quot; elements added.&quot;);<br />
    }<br />
<br />
    System.out.println(&quot;done &quot;+ count +&quot; records inserted&quot;);<br />
//spymemcached aint able to get this line<br />
}<br />
<br />
<br />
<br />
//gwhalin memcached code<br />
public static void main(String[] args) throws Exception {<br />
                BasicConfigurator.configure();<br />
                String[] servers = { &quot;ocuic32.research:11211&quot; };<br />
                SockIOPool pool = SockIOPool.getInstance();<br />
                pool.setServers( servers );<br />
                pool.setFailover( true );<br />
                pool.setInitConn( 10 );<br />
                pool.setMinConn( 5 );<br />
                pool.setMaxConn( 250 );<br />
                pool.setMaintSleep( 30 );<br />
                pool.setNagle( false );<br />
                pool.setSocketTO( 3000 );<br />
                pool.setAliveCheck( true );<br />
                pool.initialize();<br />
<br />
                 MemcachedClient mcc = new MemcachedClient();<br />
                 mcc.flushAll();<br />
                 int count = 0;<br />
                 int maxlength = 0;<br />
                 //while((line=br.readLine())!=null){<br />
<br />
                 for(int i=0;i&lt;6000000;i++){<br />
                     String a = &quot;String&quot;+i;<br />
                     String b = &quot;Value&quot;+i;<br />
                     String sha1_ad1 = AeSimpleSHA1.SHA1(a);<br />
                     mcc.set(sha1_ad1,(String) b);<br />
                     count ++;<br />
                     if (String.valueOf(count).endsWith(&quot;00000&quot;))<br />
System.out.println(count+ &quot; elements added.&quot;);<br />
<br />
                 }<br />
<br />
               System.out.println(&quot;done &quot;+ count +&quot; records<br />
inserted&quot;);  //gwhalin 's client is able to get this line, but very<br />
slow<br />
      }]]></description>
            <dc:creator>Shi Yu</dc:creator>
            <category>Memcached</category>
            <pubDate>Sun, 17 Oct 2010 09:30:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,215527,215527#msg-215527</guid>
            <title>Key longer than 250 characters (3 replies)</title>
            <link>http://www.serverphorums.com/read.php?9,215527,215527#msg-215527</link>
            <description><![CDATA[ Hi<br />
<br />
I wonder whether the key in Memcached could be longer than 250<br />
characters. Is there any way to configure this? I feel the 250<br />
characters is too small because imagine if there is a dna sequence<br />
data as a key, it could exceed that limit.<br />
<br />
Shi]]></description>
            <dc:creator>Shi Yu</dc:creator>
            <category>Memcached</category>
            <pubDate>Sat, 16 Oct 2010 05:50:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,215271,215271#msg-215271</guid>
            <title>Deleting cache objects by group (1 reply)</title>
            <link>http://www.serverphorums.com/read.php?9,215271,215271#msg-215271</link>
            <description><![CDATA[ Hey,<br />
<br />
Is there a way I can delete the cache objects by group?<br />
I am using net.spy.memcached.MemcachedClient as my Java client. But it<br />
offers a functionality to delete cache by key.<br />
<br />
I am looking for something where I can group my keys and delete the<br />
group whenever I need to delete all of them.<br />
<br />
Thanks<br />
Abhilash]]></description>
            <dc:creator>Abhilash</dc:creator>
            <category>Memcached</category>
            <pubDate>Fri, 15 Oct 2010 18:20:10 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,214925,214925#msg-214925</guid>
            <title>Silicon Valley and Memcache (no replies)</title>
            <link>http://www.serverphorums.com/read.php?9,214925,214925#msg-214925</link>
            <description><![CDATA[ We are recruiting for two Data Warehousing/Cloud Computing software<br />
companies in the South Bay of Silicon Valley.  One is a block from the<br />
Cal-train.<br />
<br />
They are looking for Sr Software Engineers with a C++ and Memcached<br />
background and Sr QA Engineers.<br />
<br />
Please call me or suggest and we can discuss the specifics.<br />
<br />
Thank you<br />
<br />
<br />
Dave Haverstick<br />
Senior Technical Recruiter<br />
<br />
Office: 650-763-8758  x200<br />
Email: <a href="mailto:&#100;&#97;&#118;&#101;&#104;&#64;&#116;&#114;&#105;&#97;&#100;&#103;&#114;&#111;&#117;&#112;&#46;&#99;&#111;&#109;">&#100;&#97;&#118;&#101;&#104;&#64;&#116;&#114;&#105;&#97;&#100;&#103;&#114;&#111;&#117;&#112;&#46;&#99;&#111;&#109;</a><br />
LinkedIn: www.linkedin.com/in/davetriadgroup]]></description>
            <dc:creator>Dave Haverstick</dc:creator>
            <category>Memcached</category>
            <pubDate>Fri, 15 Oct 2010 01:50:06 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,214797,214797#msg-214797</guid>
            <title>1MB limit on object size (3 replies)</title>
            <link>http://www.serverphorums.com/read.php?9,214797,214797#msg-214797</link>
            <description><![CDATA[ Hi,<br />
<br />
I am using<br />
memcached server version 1.4.4 on Linux and<br />
spy memcached client version 2.4.2<br />
<br />
I performed a test by storing and retrieving objects of size 1.8MB and<br />
3.6MB. I am able to retrieve the objects successfully without any<br />
error. My load tests show some timeout exceptions when memcached<br />
server is under heavy load, which is expected.<br />
<br />
Memcached wiki website states that one of the reasons we should not be<br />
using memcached is if the object size exceeds 1MB. I want to know if<br />
this is a hard limit, or just that memcached is not efficient in that<br />
scenario due to the storage model.<br />
<br />
The reason for my question is that I have just one object(which is a<br />
list) which might exceed 1MB in future, but currently, it is not<br />
exceeding the limit. I considered storing it in several chunks and<br />
using bulkGet() to retrieve the multiple small objects. The response<br />
times are not efficient in case of bulkGet(). I should not be using<br />
memcached for this object( and should look into other caching<br />
mechanisms) but dont want to change the implementation till next<br />
release. Please suggest.<br />
<br />
Thanks,]]></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,214594,214594#msg-214594</guid>
            <title>Issue 160 in memcached: problems when save objects into the memcached (no replies)</title>
            <link>http://www.serverphorums.com/read.php?9,214594,214594#msg-214594</link>
            <description><![CDATA[ Status: New<br />
Owner: ----<br />
Labels: Type-Defect Priority-Medium<br />
<br />
New issue 160 by jameshu1984: problems when save objects into the memcached<br />
<a href="http://code.google.com/p/memcached/issues/detail?id=160" target="_blank"  rel="nofollow">http://code.google.com/p/memcached/issues/detail?id=160</a><br />
<br />
now i'm working on a project with memcached in php, and now i have a  <br />
problem stuck me for some days<br />
<br />
when i tried to save object into the memcached, the value stored in the  <br />
memcached didnt match the thing i put into<br />
<br />
suppose now i want to save a object<br />
<br />
class Test_Obj {<br />
	<br />
	public $a = 1;<br />
	public $b = 2;<br />
	public $c = 3;<br />
	<br />
	/*<br />
	 */<br />
	public function __sleep(){<br />
		print 'test';<br />
		return array('a', 'b');<br />
	}<br />
	/*<br />
	 */<br />
	public function __unset($name){<br />
		unset($this-&gt;$name);<br />
	}<br />
}<br />
<br />
$testObj = new Test_Obj();<br />
$memcached = new Memcached();<br />
$memcachedKey = 'test_obj';<br />
$memcached-&gt;setOption(Mist_Memcached::OPT_SERIALIZER,Memcached::SERIALIZER_PHP);<br />
$memcached-&gt;set($memcachedKey, $testObj, 10);<br />
$data = $memcached-&gt;get($memcachedKey);<br />
var_dump($data);<br />
<br />
i think the output should be like:<br />
testobject(Test_Obj)#252 (3) { [&quot;a&quot;]=&gt;  int(2) [&quot;b&quot;]=&gt;  int(2)}<br />
<br />
but actually the result is different:<br />
testobject(Test_Obj)#252 (3) { [&quot;a&quot;]=&gt;  int(2) [&quot;b&quot;]=&gt;  int(2) [&quot;c&quot;]=&gt;   <br />
int(3) }<br />
<br />
<br />
what i couldnt understand is, it does invoke the __sleep function, print  <br />
the 'test' string, but the value stored in the memcached still have the 'c'  <br />
property.<br />
<br />
<br />
and i tested for the second time.<br />
<br />
i added some unset code like:<br />
$testObj = new Test_Obj();<br />
$memcached = new Memcached();<br />
$memcachedKey = 'test_obj';<br />
$memcached-&gt;setOption(Mist_Memcached::OPT_SERIALIZER,Memcached::SERIALIZER_PHP);<br />
unset($testObj-&gt;c);<br />
$memcached-&gt;set($memcachedKey, $testObj, 10);<br />
$data = $memcached-&gt;get($memcachedKey);<br />
var_dump($data);<br />
<br />
the output is the same as above.<br />
testobject(Test_Obj)#252 (3) { [&quot;a&quot;]=&gt;  int(2) [&quot;b&quot;]=&gt;  int(2) [&quot;c&quot;]=&gt;   <br />
int(3) }<br />
<br />
i cant understand why i unset the property 'c' but still get the the  <br />
memcached value with the property 'c'<br />
<br />
<br />
<br />
is there anyone can help me? honestly thanks]]></description>
            <dc:creator>Anonymous User</dc:creator>
            <category>Memcached</category>
            <pubDate>Thu, 14 Oct 2010 12:00:11 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,214297,214297#msg-214297</guid>
            <title>Flush a particular Cache Client (no replies)</title>
            <link>http://www.serverphorums.com/read.php?9,214297,214297#msg-214297</link>
            <description><![CDATA[ I know that the flush_all command will invalidate the contents of the<br />
entire memcached instance.<br />
I am using a Java-based Spy Memcached client, which has CacheClient<br />
names configured.<br />
Suppose I wanted to flush a specific CacheClient?<br />
How would I do that?]]></description>
            <dc:creator>circuitsdorf</dc:creator>
            <category>Memcached</category>
            <pubDate>Wed, 13 Oct 2010 22:20:04 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,214222,214222#msg-214222</guid>
            <title>Is memcache add() atomic on a multithreaded memcached? (17 replies)</title>
            <link>http://www.serverphorums.com/read.php?9,214222,214222#msg-214222</link>
            <description><![CDATA[ Hi everyone,<br />
<br />
we have the following situation: due to massive simultaneous inserts<br />
in mysql on possibly identical primary keys, we use the atomic<br />
memcache add() as a semaphore. In a few cases we observed the<br />
behaviour, that two simultaneous add() using the same key from<br />
different clients both returned true (due to consistent hashing the<br />
key has to be on the same machine).<br />
<br />
Is it now possible, that the multithreaded memcached does return true<br />
on two concurrent add() on the same key, if the requests are handled<br />
by two different threads on the same machine?<br />
<br />
Any information on this would be appreciated.<br />
<br />
Kind regard,<br />
<br />
Jerome]]></description>
            <dc:creator>elSchrom</dc:creator>
            <category>Memcached</category>
            <pubDate>Sun, 17 Oct 2010 18:10:07 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,214206,214206#msg-214206</guid>
            <title>Monitoring Memcached w/ Evident ClearStone (no replies)</title>
            <link>http://www.serverphorums.com/read.php?9,214206,214206#msg-214206</link>
            <description><![CDATA[ To Fellow Memcached Users,<br />
<br />
Evident Software would like to invite you to the following webinar.<br />
Date/Time: October 21, 2010 (Thursday) – 2pm EST<br />
<br />
Duration: 45 minutes<br />
<br />
Webinar Topic<br />
Attendees will learn how Evident ClearStone can be used to monitor and<br />
manage your Cassandra, Memcached, or Oracle Coherence application<br />
environments.<br />
<br />
Who should attend?<br />
Anyone who is responsible for developing, testing, or supporting<br />
applications that use NoSQL products like Cassandra or distributed<br />
caching technologies like Oracle Coherence, Memcached.<br />
<br />
Sign-up<br />
Go to <a href="http://www.evidentsoftware.com/category/news-events/events" target="_blank"  rel="nofollow">http://www.evidentsoftware.com/category/news-events/events</a> and<br />
sign up today.<br />
Inform your colleagues about this event.<br />
<br />
Website: www.evidentsoftware.com<br />
Email: <a href="mailto:&#105;&#110;&#102;&#111;&#64;&#101;&#118;&#105;&#100;&#101;&#110;&#116;&#115;&#111;&#102;&#116;&#119;&#97;&#114;&#101;&#46;&#99;&#111;&#109;">&#105;&#110;&#102;&#111;&#64;&#101;&#118;&#105;&#100;&#101;&#110;&#116;&#115;&#111;&#102;&#116;&#119;&#97;&#114;&#101;&#46;&#99;&#111;&#109;</a><br />
Twitter: @evidentsoftware]]></description>
            <dc:creator>Tim Sneed</dc:creator>
            <category>Memcached</category>
            <pubDate>Wed, 13 Oct 2010 18:10:08 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,214159,214159#msg-214159</guid>
            <title>Proxy Manager ? (1 reply)</title>
            <link>http://www.serverphorums.com/read.php?9,214159,214159#msg-214159</link>
            <description><![CDATA[ As I am readin and using memcached more (by the way amazing software)<br />
I am looking at sharding, scaling and the whole consistent hashing<br />
stuff. Our environment is PHP 5.3+ by the way.<br />
<br />
Im wondering if anything exists that can act as a manager for what is<br />
stored and on which server. Specifically is there not some sort of<br />
proxy server that handles the request and decides which server to<br />
goto?<br />
<br />
I appreciate this puts a layer of latency infront of memcached but<br />
(hypothetically if something doesn't exist) if this is a bad idead<br />
then why?<br />
<br />
Perhaps a more theoretical post than anything else so thanks in<br />
advance.<br />
<br />
Dom W]]></description>
            <dc:creator>Dominic Webb</dc:creator>
            <category>Memcached</category>
            <pubDate>Wed, 13 Oct 2010 16:30:05 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,212208,212208#msg-212208</guid>
            <title>Gigs of swap being used, but why? (5 replies)</title>
            <link>http://www.serverphorums.com/read.php?9,212208,212208#msg-212208</link>
            <description><![CDATA[ Hi :)<br />
<br />
We have a small farm of 8 memcached boxes (Dell R210s, Debian Lenny<br />
x64) with 8GB RAM.  I've just noticed that a) there is swap configured<br />
on these machines (probably my bad) and b) many gigabytes of swap is<br />
being used.<br />
<br />
memcache09:~# ps faux<br />
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME<br />
COMMAND<br />
[kernel processes omitted]<br />
root         1  0.0  0.0  10312   296 ?        Ss   Feb18   1:19 init<br />
[2]<br />
root      1013  0.0  0.0  16920   236 ?        S&lt;s  Feb18   0:00 udevd<br />
--daemon<br />
root      1943  0.0  0.0 126172  1532 ?        Sl   Feb18   0:23 /usr/<br />
sbin/rsyslogd -c3<br />
root      1954  0.0  0.0   3796   228 ?        Ss   Feb18   0:00 /usr/<br />
sbin/acpid<br />
root      1970  0.0  0.0  48864   516 ?        Ss   Feb18   0:00 /usr/<br />
sbin/sshd<br />
root     10929  0.0  0.0  66068  3112 ?        Ss   13:10   0:00  \_<br />
sshd: root@pts/0<br />
root     10931  0.0  0.0  18756  1836 pts/0    Ss   13:10   0:00<br />
\_ -bash<br />
root     10962  0.0  0.0  15980  1052 pts/0    R+   13:27<br />
0:00          \_ ps faxu<br />
root      2011  0.0  0.0  19804   372 ?        Ss   Feb18   0:09 /usr/<br />
sbin/cron<br />
root      2028  0.0  0.0   3796   208 tty1     Ss+  Feb18   0:00 /sbin/<br />
getty 38400 tty1<br />
root      2029  0.0  0.0   3796   208 tty2     Ss+  Feb18   0:00 /sbin/<br />
getty 38400 tty2<br />
root      2030  0.0  0.0   3796   208 tty3     Ss+  Feb18   0:00 /sbin/<br />
getty 38400 tty3<br />
root      2032  0.0  0.0   3796   208 tty4     Ss+  Feb18   0:00 /sbin/<br />
getty 38400 tty4<br />
root      2034  0.0  0.0   3796   208 tty5     Ss+  Feb18   0:00 /sbin/<br />
getty 38400 tty5<br />
root      2036  0.0  0.0   3796   208 tty6     Ss+  Feb18   0:00 /sbin/<br />
getty 38400 tty6<br />
nobody   31164  1.0 37.4 3521308 3072284 ?     Sl   Apr28 2413:10 /usr/<br />
bin/memcached -m 2928 -p 11212 -u nobody -c 8192<br />
nobody   31179  0.0  1.7 429080 144436 ?       Ssl  Apr28  50:44 /usr/<br />
bin/memcached -m 192 -p 11213 -u nobody -c 8192<br />
nobody   31381  0.2 54.6 5427948 4478588 ?     Sl   Apr28 594:38 /usr/<br />
bin/memcached -m 4680 -p 11211 -u nobody -c 8192<br />
<br />
memcache09:~# free<br />
             total       used       free     shared    buffers<br />
cached<br />
Mem:       8199492    8099508      99984          0      16052<br />
16900<br />
-/+ buffers/cache:    8066556     132936<br />
Swap:      9936160    3620640    6315520<br />
<br />
The 'swappiness' proc knob was on its default of 60, but I just don't<br />
get it... the VIRT columns of all running process don't add up to<br />
anywhere near (physical RAM + swap in use) (they add to under 10GB)<br />
<br />
It can't even be disk cache because there's only 660MB in use on the<br />
rootfs...<br />
<br />
Filesystem           1K-blocks      Used Available Use% Mounted on<br />
/dev/sda1            230528596    669032 218149388   1% /<br />
<br />
I fully expect if I restart the 3 memcache processes (not something I<br />
want to do since it will hurt live performance) the swap will zero,<br />
but that doesn't solve the root cause.<br />
<br />
Any ideas would be warmly welcomed! :)<br />
<br />
Cheers,<br />
Gavin]]></description>
            <dc:creator>Gavin Hamill</dc:creator>
            <category>Memcached</category>
            <pubDate>Sat, 09 Oct 2010 19:30:05 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?9,212195,212195#msg-212195</guid>
            <title>memcached timeout error because of slow response (6 replies)</title>
            <link>http://www.serverphorums.com/read.php?9,212195,212195#msg-212195</link>
            <description><![CDATA[ Hi,<br />
<br />
we expirience memcache slow responses. (rare, only 3..5x per 24h)<br />
I tracked the &quot;mecache timeout errors&quot; down to the following:<br />
<br />
36278 13:52:46.020698 192.168.43.129 -&gt; 192.168.43.133 MEMCACHE get<br />
key<br />
36299 13:52:46.061557 192.168.43.133 -&gt; 192.168.43.129 TCP memcache &gt;<br />
47127 [ACK] Seq=1 Ack=75 Win=68 Len=0 TSV=623862695<br />
40947 13:52:47.024100 192.168.43.129 -&gt; 192.168.43.133 TCP 47127 &gt;<br />
memcache [FIN, ACK] Seq=75 Ack=1 Win=501 Len=0 TSV=324<br />
41125 13:52:47.061603 192.168.43.133 -&gt; 192.168.43.129 TCP memcache &gt;<br />
47127 [ACK] Seq=1 Ack=76 Win=68 Len=0 TSV=623862945<br />
45256 13:52:48.316037 192.168.43.133 -&gt; 192.168.43.129 MEMCACHE VALUE<br />
key<br />
 limited during capture]<br />
45257 13:52:48.316096 192.168.43.129 -&gt; 192.168.43.133 TCP 47127 &gt;<br />
memcache [RST] Seq=76 Win=0 Len=0<br />
45262 13:52:48.316055 192.168.43.133 -&gt; 192.168.43.129 MEMCACHE<br />
MEMCACHE Continuation[Packet size limited during capture]<br />
45263 13:52:48.316134 192.168.43.129 -&gt; 192.168.43.133 TCP 47127 &gt;<br />
memcache [RST] Seq=76 Win=0 Len=0<br />
<br />
so it is clear: the memcache accepts the &quot;get key&quot;, but does not<br />
respond during the timeout value of 1 second.<br />
and no, we do not have packet loss here, becaues this is the trace of<br />
the same time on the memcached server:<br />
<br />
34602 13:52:46.021765 192.168.43.129 -&gt; 192.168.43.133 MEMCACHE get<br />
key<br />
34606 13:52:46.062537 192.168.43.133 -&gt; 192.168.43.129 TCP memcache &gt;<br />
47127 [ACK] Seq=1 Ack=75 Win=68 Len=0 TSV=<br />
38633 13:52:47.025136 192.168.43.129 -&gt; 192.168.43.133 TCP 47127 &gt;<br />
memcache [FIN, ACK] Seq=75 Ack=1 Win=501 Len=<br />
38745 13:52:47.062530 192.168.43.133 -&gt; 192.168.43.129 TCP memcache &gt;<br />
47127 [ACK] Seq=1 Ack=76 Win=68 Len=0 TSV=<br />
40769 13:52:48.316909 192.168.43.133 -&gt; 192.168.43.129 MEMCACHE VALUE<br />
key<br />
limited during capture]<br />
40772 13:52:48.316919 192.168.43.133 -&gt; 192.168.43.129 MEMCACHE<br />
MEMCACHE Continuation[Packet size limited during<br />
40785 13:52:48.317124 192.168.43.129 -&gt; 192.168.43.133 TCP 47127 &gt;<br />
memcache [RST] Seq=76 Win=0 Len=0<br />
40788 13:52:48.317179 192.168.43.129 -&gt; 192.168.43.133 TCP 47127 &gt;<br />
memcache [RST] Seq=76 Win=0 Len=0<br />
<br />
<br />
now some data:<br />
memcached-server is running 2.6.31-gentoo-r4, memcache-1.4.5 and a<br />
mysql instance.<br />
it is a single quadcore@2.5 GHz w/ 8 GB RAM, about 6 GB free.<br />
it is configured for 2GB of RAM, and uses about 1300 pages. no<br />
evictions occure.<br />
during the time when those sporadically slow responses (I had a trace<br />
of a 20 second-response for a set command) a lot of other memcache<br />
requests in the meantime are processed normally.<br />
the network is a gbit switch, both servers use serverboard with<br />
onboard gbit nics (intel),<br />
and the traffic during that is quite low (about 20Mbit/s and 3000<br />
packets/s on the memcached-server).<br />
also load and io are low.<br />
<br />
any hints ?<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,211883,211883#msg-211883</guid>
            <title>using memcached for php session management - high load site (4 replies)</title>
            <link>http://www.serverphorums.com/read.php?9,211883,211883#msg-211883</link>
            <description><![CDATA[ Hi All,<br />
<br />
Newbie question, looked around, not clear on the answers.<br />
<br />
4 php application servers, currently using file system for session<br />
management<br />
<br />
switched over to single 2GB memcached server for dealing with php<br />
sessions<br />
<br />
high load site, 3mm page views a day<br />
<br />
our cpu and server load was getting &quot;out of control&quot; when I switched<br />
over to the memcached for php session management<br />
<br />
how many concurrent connections can memcached handle? how do i check<br />
to see if in fact this is the bottleneck?<br />
<br />
any other information regarding what settings / stat values to look<br />
for would be helpful.<br />
<br />
I'm considering using a memcaced server for each php app server but<br />
then it wouldn't be a centralized situation.]]></description>
            <dc:creator>iberkner</dc:creator>
            <category>Memcached</category>
            <pubDate>Wed, 13 Oct 2010 02:50:02 +0200</pubDate>
        </item>
    </channel>
</rss>
