<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>enyim.com Memcached Client</title><link>http://www.codeplex.com/EnyimMemcached/Project/ProjectRss.aspx</link><description>Memcached client for .NET 2.0&amp;#43;</description><item><title>New Post: Struggling to configure basic Memcache</title><link>http://www.codeplex.com/EnyimMemcached/Thread/View.aspx?ThreadId=33628</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Or, another way to ask about scaling on a single machine:&lt;br&gt;
I see that the sample.config has this &amp;lt;servers&amp;gt; node:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;lt;servers&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add address=&amp;quot;127.0.0.1&amp;quot; port=&amp;quot;20002&amp;quot; /&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add address=&amp;quot;127.0.0.1&amp;quot; port=&amp;quot;20004&amp;quot; /&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add address=&amp;quot;127.0.0.1&amp;quot; port=&amp;quot;20006&amp;quot; /&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add address=&amp;quot;127.0.0.1&amp;quot; port=&amp;quot;20008&amp;quot; /&amp;gt;&lt;br&gt;
&amp;nbsp; &amp;lt;/servers&amp;gt;&lt;/p&gt;
&lt;p&gt;But what do I run from the command line to create this setup? I had assumed something like so:&lt;/p&gt;
&lt;p&gt;memcached -d install&lt;br&gt;
memcached -d start -p 20002&lt;br&gt;
memcached -d start -p 20004&lt;br&gt;
memcached -d start -p 20006&lt;br&gt;
memcached -d start -p 20008&lt;/p&gt;
&lt;p&gt;But that doesn't work - Data simply won't be persisted or retrieved. &lt;/p&gt;
&lt;p&gt;If I install it only on one other port (like 20002), then it works. But I cannot install it on multiple ports (on the same machine). The SetCache runs, I can see that activity is occuring (from running a port listener), but nothing is ever returned in the GetCache.&lt;/p&gt;
&lt;p&gt;Also, only one MemCache service instance is running. Not sure if this is supposed to work by having multiple MemCache services running - one for each port.&lt;/p&gt;
&lt;/div&gt;</description><author>tim3452</author><pubDate>Mon, 18 Aug 2008 16:53:58 GMT</pubDate><guid isPermaLink="false">New Post: Struggling to configure basic Memcache 20080818045358P</guid></item><item><title>New Post: Struggling to configure basic Memcache</title><link>http://www.codeplex.com/EnyimMemcached/Thread/View.aspx?ThreadId=33628</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hello,&lt;br&gt;
I was excitec when I learned about Enyim and Memcache, but I cannot find any tutorial or walkthrough to explain it. In particular, I'm really struggling to:&lt;/p&gt;
&lt;p&gt;1. Increase the memory size of the memcached process (it defaults to 64MB, but and I try using the -m switch to change it, but that either has no affect (it caps at 68076). I've tried things like stopping the service (&amp;quot;memcached -d stop&amp;quot;) and then restarting: &amp;quot;memcached -d start -m 256&amp;quot;&lt;/p&gt;
&lt;p&gt;2. Can I install multiple processes on a single server? The Memcached home page hinted at this right at the top (&lt;a href="http://www.danga.com/memcached/"&gt;http://www.danga.com/memcached/&lt;/a&gt;), &amp;quot;memcached -d -m 2048 -l 10.0.0.40 -p 11211&amp;quot;. It seems something like setting&amp;nbsp;it up on additional&amp;nbsp;ports? But again, I try variations of&lt;br&gt;
&amp;quot;memcached -d start -p 11222&amp;quot; to create a second service, but I see nothing happening. Even if there was a way to increase the process size beyond 64MB, it seems you'd want multiple instances of the process in order to provide the biggest cache.&lt;/p&gt;
&lt;p&gt;3. I hear references to this &amp;quot;deadtime&amp;quot; (once you start the server, how long it takes to become available). How can I set that? I don't see a config switch for it.&lt;/p&gt;
&lt;p&gt;4. If I set the &amp;quot;-v&amp;quot; switch, where does it log output too? I've got Log4Net installed, but I can't find any created log files.&lt;br&gt;
&lt;br&gt;
I'd appreciate anyone's insight. I figure these are the most basic scenarios, so they would need to have been solved already.&lt;br&gt;
&lt;br&gt;
Thanks&lt;/p&gt;
&lt;/div&gt;</description><author>tim3452</author><pubDate>Fri, 15 Aug 2008 22:10:30 GMT</pubDate><guid isPermaLink="false">New Post: Struggling to configure basic Memcache 20080815101030P</guid></item><item><title>New Post: Connection count?</title><link>http://www.codeplex.com/EnyimMemcached/Thread/View.aspx?ThreadId=30309</link><description>&lt;div style="line-height: normal;"&gt;I am wondering what the best usage pattern is with the MemcachedClient is too.&lt;br&gt;
&lt;br&gt;
Should we have a single instance (static or otherwise) of a MemcachedClient or should we create an instance each time we use it, i.e. &lt;br&gt;
&lt;br&gt;
using(MemcachedClient cache = new MemcachedClient()){&lt;br&gt;
&amp;nbsp;&amp;nbsp; ....&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
I suspect we should create an instance each time as there may be issues accessing a MemcachedClient object with multiple threads?&lt;br&gt;
&lt;/div&gt;</description><author>damoh</author><pubDate>Mon, 28 Jul 2008 23:01:10 GMT</pubDate><guid isPermaLink="false">New Post: Connection count? 20080728110110P</guid></item><item><title>Created Issue: Performance counters</title><link>http://www.codeplex.com/EnyimMemcached/WorkItem/View.aspx?WorkItemId=10610</link><description>It would be nice if there were performance counters for things like reads and writes per second.  Number of connections in the pool, number of active nodes, killed and resurected nodes and the like.  I don&amp;#39;t have a full list right now, but I&amp;#39;d be able to work something up if you were interested, along with contributing to the instrumentation.&lt;br /&gt;</description><author>andybrummer</author><pubDate>Thu, 17 Jul 2008 02:56:57 GMT</pubDate><guid isPermaLink="false">Created Issue: Performance counters 20080717025657A</guid></item><item><title>Commented Issue: asynchronous methods</title><link>http://www.codeplex.com/EnyimMemcached/WorkItem/View.aspx?WorkItemId=9676</link><description>Since this is a network I&amp;#47;O based system it would be nice if asynchronous methods were available &amp;#40;Begin&amp;#42;&amp;#47;End&amp;#42; and &amp;#42;Async&amp;#41; that could use IOCP under the hood &amp;#40;Socket.BeginSend&amp;#47;BeginRead&amp;#41;. I may have time to contribute this if you&amp;#39;re interested...&lt;br /&gt;Comments: ** Comment from web user: andybrummer ** &lt;p&gt;I&amp;#39;m very interested in this as well, and would be interested in contributing as well.&lt;/p&gt;</description><author>andybrummer</author><pubDate>Thu, 17 Jul 2008 02:52:19 GMT</pubDate><guid isPermaLink="false">Commented Issue: asynchronous methods 20080717025219A</guid></item><item><title>Commented Issue: Unbalanced distribution of cache items per server</title><link>http://www.codeplex.com/EnyimMemcached/WorkItem/View.aspx?WorkItemId=10127</link><description>Hi, we are using successfully in our production environment your memcached client. &lt;br /&gt;After 2 weeks of continuous working we have experienced an unbalanced distribution of items per server.&lt;br /&gt;It seems that some of the servers are more loaded than others, visibly the first and the last according to the order in which they appear in the configuration.&lt;br /&gt;&lt;br /&gt;These are our statistics&amp;#58;&lt;br /&gt;&lt;br /&gt;SERVERS&amp;#9;&amp;#9;CURRENT_ITEMS&lt;br /&gt;srv01&amp;#58;11211  &amp;#9;120681  &lt;br /&gt;srv01&amp;#58;11212 &amp;#9;61299 &amp;#9;&lt;br /&gt;srv01&amp;#58;11213 &amp;#9;35360 &amp;#9;&lt;br /&gt;srv01&amp;#58;11214 &amp;#9;38134 &amp;#9;&lt;br /&gt;srv02&amp;#58;11211 &amp;#9;70774 &amp;#9;&lt;br /&gt;srv02&amp;#58;11212 &amp;#9;57018 &amp;#9;&lt;br /&gt;srv02&amp;#58;11213 &amp;#9;74132 &amp;#9;&lt;br /&gt;srv02&amp;#58;11214 &amp;#9;71798 &amp;#9;&lt;br /&gt;srv03&amp;#58;11211 &amp;#9;34891 &amp;#9;&lt;br /&gt;srv03&amp;#58;11212 &amp;#9;76513 &amp;#9;&lt;br /&gt;srv03&amp;#58;11213 &amp;#9;66546 &amp;#9;&lt;br /&gt;srv03&amp;#58;11214 &amp;#9;118872&lt;br /&gt;Comments: ** Comment from web user: andybrummer ** &lt;p&gt;Sorry, just re-read the comment.  I&amp;#39;d like to add that the value after the second colon is the percentage of the hash space covered by the node, so the first node is getting 60&amp;#37; of the hashes.&lt;/p&gt;</description><author>andybrummer</author><pubDate>Thu, 17 Jul 2008 02:50:46 GMT</pubDate><guid isPermaLink="false">Commented Issue: Unbalanced distribution of cache items per server 20080717025046A</guid></item><item><title>Commented Issue: Unbalanced distribution of cache items per server</title><link>http://www.codeplex.com/EnyimMemcached/WorkItem/View.aspx?WorkItemId=10127</link><description>Hi, we are using successfully in our production environment your memcached client. &lt;br /&gt;After 2 weeks of continuous working we have experienced an unbalanced distribution of items per server.&lt;br /&gt;It seems that some of the servers are more loaded than others, visibly the first and the last according to the order in which they appear in the configuration.&lt;br /&gt;&lt;br /&gt;These are our statistics&amp;#58;&lt;br /&gt;&lt;br /&gt;SERVERS&amp;#9;&amp;#9;CURRENT_ITEMS&lt;br /&gt;srv01&amp;#58;11211  &amp;#9;120681  &lt;br /&gt;srv01&amp;#58;11212 &amp;#9;61299 &amp;#9;&lt;br /&gt;srv01&amp;#58;11213 &amp;#9;35360 &amp;#9;&lt;br /&gt;srv01&amp;#58;11214 &amp;#9;38134 &amp;#9;&lt;br /&gt;srv02&amp;#58;11211 &amp;#9;70774 &amp;#9;&lt;br /&gt;srv02&amp;#58;11212 &amp;#9;57018 &amp;#9;&lt;br /&gt;srv02&amp;#58;11213 &amp;#9;74132 &amp;#9;&lt;br /&gt;srv02&amp;#58;11214 &amp;#9;71798 &amp;#9;&lt;br /&gt;srv03&amp;#58;11211 &amp;#9;34891 &amp;#9;&lt;br /&gt;srv03&amp;#58;11212 &amp;#9;76513 &amp;#9;&lt;br /&gt;srv03&amp;#58;11213 &amp;#9;66546 &amp;#9;&lt;br /&gt;srv03&amp;#58;11214 &amp;#9;118872&lt;br /&gt;Comments: ** Comment from web user: andybrummer ** &lt;p&gt;I have some additional data for this issue&amp;#58;&lt;/p&gt;&lt;p&gt;4 servers&amp;#58;&lt;br /&gt;192.168.1.95&amp;#58;1121&lt;br /&gt;192.168.1.101&amp;#58;1121&lt;br /&gt;192.168.1.98&amp;#58;1121&lt;br /&gt;192.168.1.99&amp;#58;1121&lt;/p&gt;&lt;p&gt;I added some code to the defaultNodeLocator file to generate the hash space coverage for the nodes and this is what I got&lt;/p&gt;&lt;p&gt;192.168.1.98&amp;#58;11211&amp;#58;60.3270117799582&lt;br /&gt;192.168.1.99&amp;#58;11211&amp;#58;7.26672550832544&lt;br /&gt;192.168.1.101&amp;#58;11211&amp;#58;12.2046676725626&lt;br /&gt;192.168.1.95&amp;#58;11211&amp;#58;10.1610983279909&lt;/p&gt;&lt;p&gt;So 60 of all the hashes map to the first server.  I increased the ServerAddressMutations to somewhere around 1000 and the distribution was better.  I think the algorithm might need some tweaking to make sure the distribution is close to even.&lt;/p&gt;&lt;p&gt;I just set a breakpoint on line 69 and look at the contents of the builder.&lt;/p&gt;</description><author>andybrummer</author><pubDate>Thu, 17 Jul 2008 02:49:07 GMT</pubDate><guid isPermaLink="false">Commented Issue: Unbalanced distribution of cache items per server 20080717024907A</guid></item><item><title>Commented Issue: .Stats() does not resurect servers</title><link>http://www.codeplex.com/EnyimMemcached/WorkItem/View.aspx?WorkItemId=10551</link><description>.Stats&amp;#40;&amp;#41; does not resurect servers&lt;br /&gt;Comments: ** Comment from web user: ikatkov ** &lt;p&gt;So, if one server was marked as Dead it will be dead until somebody call GET&amp;#47;SET... command. If all you do is calling Stats&amp;#40;&amp;#41; this server will be dead forever. Workaround - always call dummy GET before .Stats&amp;#40;&amp;#41; or recreate Memcached client&lt;/p&gt;</description><author>ikatkov</author><pubDate>Tue, 15 Jul 2008 13:52:26 GMT</pubDate><guid isPermaLink="false">Commented Issue: .Stats() does not resurect servers 20080715015226P</guid></item><item><title>Created Issue: .Stats() does not resurect servers</title><link>http://www.codeplex.com/EnyimMemcached/WorkItem/View.aspx?WorkItemId=10551</link><description>.Stats&amp;#40;&amp;#41; does not resurect servers&lt;br /&gt;</description><author>ikatkov</author><pubDate>Tue, 15 Jul 2008 13:50:19 GMT</pubDate><guid isPermaLink="false">Created Issue: .Stats() does not resurect servers 20080715015019P</guid></item><item><title>Created Issue: GET("") fails with System.NotSupportedException</title><link>http://www.codeplex.com/EnyimMemcached/WorkItem/View.aspx?WorkItemId=10550</link><description>GET&amp;#40;&amp;#34;&amp;#34;&amp;#41; fails with System.NotSupportedException&lt;br /&gt;</description><author>ikatkov</author><pubDate>Tue, 15 Jul 2008 13:47:32 GMT</pubDate><guid isPermaLink="false">Created Issue: GET("") fails with System.NotSupportedException 20080715014732P</guid></item><item><title>Created Issue: change behavior of default keytransformer to encode forbidden chars</title><link>http://www.codeplex.com/EnyimMemcached/WorkItem/View.aspx?WorkItemId=10476</link><description>It would be quite helpful if the default key transformer simply encoded bad characters into &amp;#37;HEX or some other encoding mechanism, rather than throwing an error.&lt;br /&gt;</description><author>jconley</author><pubDate>Fri, 11 Jul 2008 18:20:37 GMT</pubDate><guid isPermaLink="false">Created Issue: change behavior of default keytransformer to encode forbidden chars 20080711062037P</guid></item><item><title>New Post: which keytransformer to use?</title><link>http://www.codeplex.com/EnyimMemcached/Thread/View.aspx?ThreadId=31345</link><description>&lt;div style="line-height: normal;"&gt;We're creating a framework that exposes a caching layer and don't want to limit the characters that can be in the key. How reliable are TigerHash/SHA1 in terms of hash collisions in the real world? I noticed the default for the library is just to pass through the keys. We can use Base64, but it seems like a waste of bytes. :)&lt;br&gt;
&lt;/div&gt;</description><author>jconley</author><pubDate>Fri, 11 Jul 2008 17:34:06 GMT</pubDate><guid isPermaLink="false">New Post: which keytransformer to use? 20080711053406P</guid></item><item><title>New Post: Node Location incompatible with PHP PECL memcache lib 'consistient'?</title><link>http://www.codeplex.com/EnyimMemcached/Thread/View.aspx?ThreadId=31122</link><description>&lt;div style="line-height: normal;"&gt;Hi all.&lt;br&gt;
I'm in the process of implementing a cache for a system with a mix of PHP and C# .NET code.&amp;nbsp; For the PHP end (web-server code), I'm using the standard PHP PECL memcache library.&amp;nbsp; It isn't as configurable as this client lib, but it has an option named &amp;quot;memcache.hash_strategy&amp;quot; which can take the values &amp;quot;standard&amp;quot; or &amp;quot;consistient&amp;quot;.&amp;nbsp; I've set it to &amp;quot;consistient&amp;quot;.&amp;nbsp; There is also an option named &amp;quot;memcache.hash_function&amp;quot; which can take the values &amp;quot;crc32&amp;quot; or &amp;quot;fnv&amp;quot; and which I've set to &amp;quot;fnv&amp;quot;.&amp;nbsp; The docs say ( &lt;a href="http://us2.php.net/manual/en/memcache.ini.php"&gt;http://us2.php.net/manual/en/memcache.ini.php&lt;/a&gt; ):&lt;br&gt;
&amp;quot;Controls which hash function to apply when mapping keys to servers, &lt;em&gt;crc32&lt;/em&gt;
uses the standard CRC32 hash while &lt;em&gt;fnv&lt;/em&gt; uses FNV-1a.&amp;quot;&lt;br&gt;
&lt;br&gt;
If I set the PHP strategy to &amp;quot;standard&amp;quot; everything works as I'd expect (with limited testing).&amp;nbsp; However, I wish to use the &amp;quot;consistient&amp;quot; option.&lt;br&gt;
&lt;br&gt;
On the C# .NET end, I'm using the default NodeLocator and KeyTransformer, which I understand uses the FNV1a has class and doesn't transform the keys (except for disallowing invalid chars).&amp;nbsp; I'm using a custom TransCoder to match what I have on the PHP end (encoded JSON strings).&lt;br&gt;
&lt;br&gt;
Now, with one memcached server everything works as expected.&amp;nbsp; However, if I have two memcached servers, the key-&amp;gt;node mapping between PHP and this client isn't the same.&amp;nbsp; For example, the key &amp;quot;ac_mykey12&amp;quot; is mapped to the first server by the enyim client and to the second by the PHP client.&lt;br&gt;
In both cases, the same two servers are added using addServer() in the same order (as IP address strings).&lt;br&gt;
&lt;br&gt;
Based on the configurations I'd guess the key hashing it the same.&amp;nbsp; How does the &amp;quot;consistient&amp;quot; PHP setting effect the node selection? (I understand what it does functionally - keep the same keys mapping to the same nodes regardless of their server index - but how?&amp;nbsp; is the IP address being incorporated into the hash? if so, exactly how?)&lt;br&gt;
&lt;br&gt;
I guess my real question is: how can I duplicate the behaviour of PHP's &amp;quot;consistient&amp;quot; stragety with enyim? (is it implemented already, or do I need to implement my own NodeLocation?&amp;nbsp; If so, I don't know what PHP is doing...)&amp;nbsp; Has anyone achieved this already?&lt;br&gt;
&lt;br&gt;
Any ideas/suggestions/pointers appreciated.&lt;br&gt;
Thanks.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;</description><author>davidljung</author><pubDate>Wed, 09 Jul 2008 04:15:31 GMT</pubDate><guid isPermaLink="false">New Post: Node Location incompatible with PHP PECL memcache lib 'consistient'? 20080709041531A</guid></item><item><title>New Post: ReaderWriter perf</title><link>http://www.codeplex.com/EnyimMemcached/Thread/View.aspx?ThreadId=31094</link><description>&lt;div style="line-height: normal;"&gt;I just wanted to suggest switching over to the ReaderWriterLockSlim lock in the .NET 3.5 library instead of using the ReaderWriterLock.&amp;nbsp; The perf of the new lock is significantly better and they've fixed issues with the upgrade capability where you have to check the lock cookie.&amp;nbsp; &lt;br&gt;
&lt;br&gt;
Also, as another perf optimization, you could probably use a new object expression compiled into a delegate for the fast activator instead of creating a new assembly.&amp;nbsp; That'll allow for code to be cleaned up instead of requiring an appdomain unload.&lt;br&gt;
&lt;br&gt;
Just a couple of thoughts.
&lt;/div&gt;</description><author>onovotny</author><pubDate>Tue, 08 Jul 2008 17:23:09 GMT</pubDate><guid isPermaLink="false">New Post: ReaderWriter perf 20080708052309P</guid></item><item><title>Commented Issue: Un-seal IMemcachedKeyTransformer Implementations</title><link>http://www.codeplex.com/EnyimMemcached/WorkItem/View.aspx?WorkItemId=10420</link><description>We&amp;#39;d like to extend the transformers for the purpose of automatically adding a prefix to every key so we can share our memcached farm between applications without worrying about key collisions. To do this today we have had to copy your transformer implementations.&lt;br /&gt;Comments: ** Comment from web user: jconley ** &lt;p&gt;I should say, it would also serve our purpose if there were a keyPrefix configuration item, as that&amp;#39;s what we&amp;#39;ve used this for anyway.&lt;/p&gt;</description><author>jconley</author><pubDate>Thu, 03 Jul 2008 17:36:33 GMT</pubDate><guid isPermaLink="false">Commented Issue: Un-seal IMemcachedKeyTransformer Implementations 20080703053633P</guid></item><item><title>Created Issue: Un-seal IMemcachedKeyTransformer Implementations</title><link>http://www.codeplex.com/EnyimMemcached/WorkItem/View.aspx?WorkItemId=10420</link><description>We&amp;#39;d like to extend the transformers for the purpose of automatically adding a prefix to every key so we can share our memcached farm between applications without worrying about key collisions. To do this today we have had to copy your transformer implementations.&lt;br /&gt;</description><author>jconley</author><pubDate>Thu, 03 Jul 2008 17:35:07 GMT</pubDate><guid isPermaLink="false">Created Issue: Un-seal IMemcachedKeyTransformer Implementations 20080703053507P</guid></item><item><title>Commented Issue: does not reconnect to server after losing connection</title><link>http://www.codeplex.com/EnyimMemcached/WorkItem/View.aspx?WorkItemId=9675</link><description>1&amp;#41; Successfully use the Enyim memcached client&lt;br /&gt;2&amp;#41; Restart memcache server&lt;br /&gt;3&amp;#41; Notice that the client doesn&amp;#39;t bring the restarted server into the pool&lt;br /&gt;&lt;br /&gt;Or maybe I didn&amp;#39;t wait long enough during my test. Is there a reconnect thread&amp;#63; I am using the latest release build.&lt;br /&gt;Comments: ** Comment from web user: jconley ** &lt;p&gt;this seems to be working well in 1.2.0.2&lt;/p&gt;</description><author>jconley</author><pubDate>Thu, 03 Jul 2008 17:32:28 GMT</pubDate><guid isPermaLink="false">Commented Issue: does not reconnect to server after losing connection 20080703053228P</guid></item><item><title>New Post: Connection count?</title><link>http://www.codeplex.com/EnyimMemcached/Thread/View.aspx?ThreadId=30309</link><description>&lt;div style="line-height: normal;"&gt;O, everytime I needed to use the client I was doing &lt;br&gt;
&lt;br&gt;
MemcachedClient cache = new MemcachedClient();&lt;br&gt;
&lt;br&gt;
and then calling the method I needed. Is this just me being an idiot? Should I have this being static so there's only one instance of the MemcachedClient ?&lt;br&gt;
&lt;/div&gt;</description><author>trollfan</author><pubDate>Thu, 26 Jun 2008 05:35:52 GMT</pubDate><guid isPermaLink="false">New Post: Connection count? 20080626053552A</guid></item><item><title>New Post: Connection count?</title><link>http://www.codeplex.com/EnyimMemcached/Thread/View.aspx?ThreadId=30309</link><description>&lt;div style="line-height: normal;"&gt;Hi, I noticed that if I run netstat on the machine running the memcache server, when my web app makes a request to memcache there's a heck of a lot of ESTABLISHED connections coming over and hitting the port memcache is running on. Is this normal? Or can you kind of explain why it is doing this? It seems like there's dozens (maybe hundred) connections happening for just one Get command. It's been a while since I had to know the details of sockets and what not.&lt;br&gt;
&lt;br&gt;
Should there be a normal ratio between the GetCount and ConnectionCount or any of the stats?&lt;br&gt;
&lt;br&gt;
Thanks!&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;</description><author>trollfan</author><pubDate>Thu, 26 Jun 2008 04:43:47 GMT</pubDate><guid isPermaLink="false">New Post: Connection count? 20080626044347A</guid></item><item><title>New Post: client throws some exceptions</title><link>http://www.codeplex.com/EnyimMemcached/Thread/View.aspx?ThreadId=30239</link><description>&lt;div style="line-height: normal;"&gt;&lt;strong&gt;when i use JMeter&amp;nbsp;to&amp;nbsp;test my website, i got some exceptions:&lt;br&gt;
&lt;/strong&gt;&lt;br&gt;
2008-06-25 15:15:45,968 [138] ERROR Enyim.Caching.Memcached.MemcachedNode+InternalPoolImpl [(null)] - Could not init pool.&lt;br&gt;
System.Net.Sockets.SocketException: 由于系统缓冲区空间不足或队列已满，不能执行套接字上的操作。 127.0.0.1:11211&lt;br&gt;
&amp;nbsp;&amp;nbsp; 在 System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)&lt;br&gt;
&amp;nbsp;&amp;nbsp; 在 System.Net.Sockets.Socket.Connect(EndPoint remoteEP)&lt;br&gt;
&amp;nbsp;&amp;nbsp; 在 Enyim.Caching.Memcached.PooledSocket..ctor(IPEndPoint endpoint, TimeSpan connectionTimeout, TimeSpan receiveTimeout, Action`1 cleanupCallback)&lt;br&gt;
&amp;nbsp;&amp;nbsp; 在 Enyim.Caching.Memcached.MemcachedNode.InternalPoolImpl.CreateSocket()&lt;br&gt;
&amp;nbsp;&amp;nbsp; 在 Enyim.Caching.Memcached.MemcachedNode.InternalPoolImpl.InitPool()&lt;br&gt;
2008-06-25 15:15:45,968 [138] WARN&amp;nbsp; Enyim.Caching.Memcached.MemcachedNode+InternalPoolImpl [(null)] - Marking pool 127.0.0.1:11211 as dead&lt;br&gt;
&lt;br&gt;
2008-06-25 15:17:04,437 [138] ERROR Enyim.Caching.Memcached.MemcachedNode+InternalPoolImpl [(null)] - Could not init pool.&lt;br&gt;
System.Net.Sockets.SocketException: 通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 127.0.0.1:11211&lt;br&gt;
&amp;nbsp;&amp;nbsp; 在 System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)&lt;br&gt;
&amp;nbsp;&amp;nbsp; 在 System.Net.Sockets.Socket.Connect(EndPoint remoteEP)&lt;br&gt;
&amp;nbsp;&amp;nbsp; 在 Enyim.Caching.Memcached.PooledSocket..ctor(IPEndPoint endpoint, TimeSpan connectionTimeout, TimeSpan receiveTimeout, Action`1 cleanupCallback)&lt;br&gt;
&amp;nbsp;&amp;nbsp; 在 Enyim.Caching.Memcached.MemcachedNode.InternalPoolImpl.CreateSocket()&lt;br&gt;
&amp;nbsp;&amp;nbsp; 在 Enyim.Caching.Memcached.MemcachedNode.InternalPoolImpl.InitPool()&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;&amp;quot;通常每个套接字地址(协议/网络地址/端口)只允许使用一次&amp;quot; means: usually each socket can be used once.&lt;br&gt;
&amp;quot;由于系统缓冲区空间不足或队列已满，不能执行套接字上的操作。&amp;quot; means: system buffer or queue is full, the operation on socket can not be done.&lt;br&gt;
&lt;br&gt;
the configuration is:&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;...&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;servers&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;add address=&amp;quot;127.0.0.1&amp;quot; port=&amp;quot;11211&amp;quot; /&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/servers&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;socketPool minPoolSize=&amp;quot;300&amp;quot; maxPoolSize=&amp;quot;1000&amp;quot; connectionTimeout=&amp;quot;00:00:10&amp;quot; deadTimeout=&amp;quot;00:02:00&amp;quot; /&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;...&lt;br&gt;
&lt;br&gt;
JMeter's configuration is:&lt;br&gt;
50 threads for accessing my website&lt;br&gt;
&lt;br&gt;
this happens when i use the latest version (1.2.0.2)&amp;nbsp;client.i guess&amp;nbsp;socket pool has some errors maybe&amp;nbsp;,for example: have not close the socket connection?&lt;/strong&gt;&lt;br&gt;
&lt;/div&gt;</description><author>fby001_wangdui</author><pubDate>Wed, 25 Jun 2008 07:49:51 GMT</pubDate><guid isPermaLink="false">New Post: client throws some exceptions 20080625074951A</guid></item></channel></rss>