ltsopensource / light-task-scheduler

Distributed Scheduled Job Framework
Apache License 2.0
3.01k stars 1.15k forks source link

AbstractRemoting:invokeAsyncImpl:this.semaphoreAsync.tryAcquire 超时 #384

Closed jsnorman closed 6 years ago

jsnorman commented 6 years ago

[ERROR] [08:42:17] ClientNotifier - [LTS] Notify client failed!, lts version: 1.6.9, current host: 10.89.138.22 com.github.ltsopensource.core.exception.RemotingSendException: com.github.ltsopensource.remoting.exception.RemotingTimeoutException: tryAcquire timeout(ms) 60000 at com.github.ltsopensource.core.remoting.RemotingServerDelegate.invokeAsync(RemotingServerDelegate.java:63) at com.github.ltsopensource.jobtracker.support.ClientNotifier.send0(ClientNotifier.java:120) at com.github.ltsopensource.jobtracker.support.ClientNotifier.send(ClientNotifier.java:56) at com.github.ltsopensource.jobtracker.support.checker.FeedbackJobSendChecker$Runner.check(FeedbackJobSendChecker.java:159) at com.github.ltsopensource.jobtracker.support.checker.FeedbackJobSendChecker$Runner.run(FeedbackJobSendChecker.java:117) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: com.github.ltsopensource.remoting.exception.RemotingTimeoutException: tryAcquire timeout(ms) 60000 at com.github.ltsopensource.remoting.AbstractRemoting.invokeAsyncImpl(AbstractRemoting.java:317) at com.github.ltsopensource.remoting.AbstractRemotingServer.invokeAsync(AbstractRemotingServer.java:98) at com.github.ltsopensource.core.remoting.RemotingServerDelegate.invokeAsync(RemotingServerDelegate.java:60) ... 11 more 是不是由于invokeAsyncImpl 这个方法里面没有对信号量进行release?

jsnorman commented 6 years ago

repeat