Click here to Skip to main content
15,501,036 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I have implemented Enyim.caching memcached client for my website on a remote server for Session management. It works fine for 2-3 users but when we increase load to 20+ users, memcached server on remote machine stops working. I am not getting any reply by using "stats" command for memcached server but the service appears working.

1. I am using Enyim.caching client for session management.
2. It is installed as a service on remote machine.
3. I am using below config entries in my web.config.

<sectionGroup name="">
      <section name="memcached" type="Enyim.Caching.Configuration.MemcachedClientSection, Enyim.Caching"/>

       			<!-- put your own server(s) here-->
        			<add address="<server's IP>" port="11211" />
      	<socketPool minPoolSize="10" maxPoolSize="100"
      connectionTimeout="00:10:00" deadTimeout="00:02:00" />

<sessionState cookieless="false" regenerateExpiredSessionId="true" mode="Custom" customProvider="MemcachedSessionProvider">
        <add name="MemcachedSessionProvider" type="MemcachedProviders.Session.SessionStateProvider,MemcachedProviders" dbType="None" writeExceptionsToEventLog="false"/>

Can anyone help me resolve this issue.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900