How Performance Monitor Monitors enyimmemcached

Source: Internet
Author: User

The first step is to install enyimmemcached into the Windows performance counters.

Copy Enyim.Caching.dll to a folder

Enter the folder where the. NET framework is located on the command line--c:\windows\microsoft.net\framework64\v4.0.30319

Install with the InstallUtil command, for example: InstallUtil D:\lib\Enyim.Caching.dll

After the installation is successful, you can see it in the Performance Monitor.

Although it appears in the counters list, the following instances of selected object is blank, and the counter cannot be added to Performance Monitor.

In the configuration process, in this place card for a long time ...

It's a total quirk of being stuck here. enyimmemcached Help Document: Configure the performance Monitor.

You also need to configure in your application to add the <performanceMonitor/> configuration to the web.config:

<enyim.com>
    <memcached protocol= "Binary" >
        <servers>
            <add address= "memcached" port= "11211"/>
        </servers> <socketpool minpoolsize= "maxpoolsize=" 3000 "connectiontimeout="
        00:00:01 "deadtimeout=" 00:00:01 "/>
        <performancemonitor factory=" Enyim.Caching.Memcached.DefaultPerformanceMonitorFactory, enyim.caching "name=" www.cnblogs.com "/>
    </ memcached>
    <log factory= "Enyim.Caching.Log4NetFactory, Enyim.Caching.Log4NetAdapter"/>
</ Enyim.com>

Then visit the site and start the ASP.net program to see an instance of the performance counter in instances of selected object.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.