Hi Allard,
We have upgraded Axon and Axonserver to version 4.2.
When running version 4.1 we would get the following logs in Axonserver which kept repeating:
2019-09-18 12:37:12.203 WARN 7 --- [MessageBroker-1] i.a.a.message.event.EventDispatcher : listEvents: Error on connection from event store: CANCELLED: [AXONIQ-0001] Timeout waiting for permits from client
2019-09-18 12:37:12.203 WARN 7 --- [MessageBroker-1] i.a.a.message.event.EventDispatcher : listEvents: Error on connection from event store: CANCELLED: CANCELLED: [AXONIQ-0001] Timeout waiting for permits from client
Having upgraded to 4.2 we still see no improvements in the performance. However, we are seeing different logs:
2019-09-18 13:07:29.346 INFO 7 --- [ main] io.axoniq.axonserver.AxonServer : Started AxonServer in 62.038 seconds (JVM running for 63.52)
2019-09-18 13:17:58.320 WARN 7 --- [nio-8024-exec-1] .w.s.m.s.DefaultHandlerExceptionResolver : Async request timed out
2019-09-18 13:17:58.321 WARN 7 --- [nio-8024-exec-1] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.context.request.async.AsyncRequestTimeoutException]
2019-09-18 13:19:46.311 WARN 7 --- [nio-8024-exec-9] .w.s.m.s.DefaultHandlerExceptionResolver : Async request timed out
2019-09-18 13:19:46.311 WARN 7 --- [nio-8024-exec-9] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.context.request.async.AsyncRequestTimeoutException]
2019-09-18 13:20:50.311 WARN 7 --- [nio-8024-exec-8] .w.s.m.s.DefaultHandlerExceptionResolver : Async request timed out
2019-09-18 13:20:50.311 WARN 7 --- [nio-8024-exec-8] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.context.request.async.AsyncRequestTimeoutException]
During these 4 timeouts, 4 events were handled in the saga.
After this Axonserver logs were idle and no more.
Every once in a while an event seems to come through, but this happens in intervals between 1 to 6 minutes.
Axon logs in our Spring application are currently on INFO logging since this is a problem on our Production environment.
With this setting, we see no logs from Axon.
We are only seeing incoming JMS messages in our application but they should not interfere with the Axon messages.
I could try to set in on DEBUG if that would help?
I have also added the following config to the Spring application. No luck there unfortunately.
`
axon:
axonserver:
initial-nr-of-permits: 2000
nr-of-new-permits: 1000
new-permits-threshold: 1000
`
Kind regards,
Lars