Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOWN status of application still show the UP status in eureka page? #2179

Closed
kenttanl opened this issue Aug 3, 2017 · 4 comments
Closed

Comments

@kenttanl
Copy link

kenttanl commented Aug 3, 2017

Hi ,

I encountered a problem, the eureka page is shown like this:

Application AMIs Availability Zones Status
GATEWAY n/a (2) (2) UP (2) - WCMIS208:GateWay:10020 , WCMIS209:GateWay:10020

but 'GATEWAY' has been closed on 'WCMIS208', so its status should be 'DOWN' or not displayed.

Although this does not affect the normal use, but I still want to where is the problem? thank you all

@ryanjbaxter
Copy link
Contributor

What do you mean it has been closed? Is Eureka in "self-preservation mode"? If it is it won't evict any down instances.

@kenttanl
Copy link
Author

kenttanl commented Aug 6, 2017

@ryanjbaxter Thanks, you are right, and I saw this:

EMERGENCY! EUREKA MAY BE INCORRECTLY CLAIMING INSTANCES ARE UP WHEN THEY'RE NOT. RENEWALS ARE LESSER THAN THRESHOLD AND HENCE THE INSTANCES ARE NOT BEING EXPIRED JUST TO BE SAFE.
https://github.com/Netflix/eureka/wiki/Understanding-Eureka-Peer-to-Peer-Communication
http://www.itmuch.com/spring-cloud-sum/understanding-eureka-self-preservation/

So, can I manually remove it? Thanks again

@ryanjbaxter
Copy link
Contributor

It is not recommended but you can disable self preservation mode by setting eureka.server.enableSelfPreservation to false

@kenttanl
Copy link
Author

kenttanl commented Aug 8, 2017

I got it, Thanks very much,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants