spring-boot-admin集群显示超时的问题

大家好,
   我在部署spring-boot-admin集群的时候,偶尔会出现超时问题,spring-boot-admin错误日志信息如下:
2017-09-07 18:34:32.043 ERROR 19567 --- [nio-8222-exec-4] .w.s.m.s.DefaultHandlerExceptionResolver : Async timeout for GET [/api/journal]
2017-09-07 18:35:06.048 ERROR 19567 --- [io-8222-exec-10] .w.s.m.s.DefaultHandlerExceptionResolver : Async timeout for GET [/api/journal]
2017-09-07 18:35:40.052 ERROR 19567 --- [nio-8222-exec-3] .w.s.m.s.DefaultHandlerExceptionResolver : Async timeout for GET [/api/journal]
2017-09-07 18:36:14.057 ERROR 19567 --- [nio-8222-exec-4] .w.s.m.s.DefaultHandlerExceptionResolver : Async timeout for GET [/api/journal]
2017-09-07 18:36:48.061 ERROR 19567 --- [nio-8222-exec-9] .w.s.m.s.DefaultHandlerExceptionResolver : Async timeout for GET [/api/journal]
2017-09-07 18:37:22.065 ERROR 19567 --- [nio-8222-exec-6] .w.s.m.s.DefaultHandlerExceptionResolver : Async timeout for GET [/api/journal]
2017-09-07 18:37:56.069 ERROR 19567 --- [nio-8222-exec-1] .w.s.m.s.DefaultHandlerExceptionResolver : Async timeout for GET [/api/journal]
2017-09-07 18:38:30.072 ERROR 19567 --- [nio-8222-exec-3] .w.s.m.s.DefaultHandlerExceptionResolver : Async timeout for GET [/api/journal]
2017-09-07 18:39:04.076 ERROR 19567 --- [nio-8222-exec-4] .w.s.m.s.DefaultHandlerExceptionResolver : Async timeout for GET [/api/journal]
2017-09-07 18:39:17.243 INFO 19567 --- [trap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration
2017-09-07 18:39:38.081 ERROR 19567 --- [nio-8222-exec-9] .w.s.m.s.DefaultHandlerExceptionResolver : Async timeout for GET [/api/journal]
2017-09-07 18:40:12.084 ERROR 19567 --- [nio-8222-exec-6] .w.s.m.s.DefaultHandlerExceptionResolver : Async timeout for GET [/api/journal]
2017-09-07 18:40:46.088 ERROR 19567 --- [nio-8222-exec-1] .w.s.m.s.DefaultHandlerExceptionResolver : Async timeout for GET [/api/journal]
 以下为我的spring-boot-admin配置文件:
server.port=8222
spring.application.name=admin-server
runtime.environment=prod

management.security.enabled=false
spring.boot.admin.url=http://localhost:8222
spring.boot.admin.auto-deregistration=true

eureka.instance.prefer-ip-address=true
eureka.client.registryFetchIntervalSeconds=5
eureka.instance.leaseRenewalIntervalInSeconds=10
eureka.client.serviceUrl.defaultZone=${eureka.client.serviceUrl.defaultZone}
eureka.instance.instance-id=${spring.cloud.client.ipAddress}:${spring.application.name}:${server.port}

#timeout
spring.boot.admin.monitor.connect-timeout=5000
spring.boot.admin.monitor.read-timeout=10000
集群代码是查考官方代码:
package com.cafintech.admin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.hazelcast.config.Config;
import com.hazelcast.config.EvictionPolicy;
import com.hazelcast.config.ListConfig;
import com.hazelcast.config.MapConfig;

import de.codecentric.boot.admin.config.EnableAdminServer;

@Configuration
@EnableAdminServer
@EnableDiscoveryClient
@EnableAutoConfiguration
public class Application {

@Bean
public Config hazelcastConfig() {
return new Config().setProperty("hazelcast.jmx", "true")
.addMapConfig(new MapConfig("spring-boot-admin-application-store").setBackupCount(1)
.setEvictionPolicy(EvictionPolicy.NONE))
.addListConfig(new ListConfig("spring-boot-admin-event-store").setBackupCount(1).setMaxSize(1000));
}

public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}
村长在此虚心求教,还请各位大神不吝赐教!!!
                                                 拜谢
 
 
 
 
已邀请:

要回复问题请先登录注册