About the. NET service started registering to zookeeper, but the registration node automatically disappears for 20 minutes solution

Source: Internet
Author: User
Zookeeper is a distributed, open source distributed Application Coordination Service, the role of a simple description is equivalent to an intermediary, service providers to register services to ZK, service callers directly from ZK, the role of ZK is to coordinate recently encountered the company IIS service started, and then the service in ZK successfully registered the node and provider has a node, but after more than 20 minutes without access, found that the nodes in the provider disappeared, consulted the development know, After you install the IIS service for a new server, you need to do 3 operations for the service's application pool . 1-1, requires application pool in service, select Service-Advanced Settings-Disable overlapping recycle "True"; Figure 1-2, also advanced settings, idle timeout (minutes) "0"

1-1
1-2 after setting up figure 1-1 and 1-2, also need to install application initialization, its function is simple description is when the IIS service will automatically stop, send a command to tell the service, do not stop. After the installation succeeds 2-1, launch the app, 2-2, select the service that needs to run continuously, select "Alwaysrunning", then "Apply", so that ZK on the service provider will not disappear 2-12-2



About the. NET service started registering to zookeeper, but the registration node automatically disappears for 20 minutes solution

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.