Frank Zhang: Anyone else had the same issue: RESOURCE_EXHAUSTED?
io.grpc.StatusRuntimeException: RESOURCE_EXHAUSTED: Expected to activate jobs of type 'gate-update-instance-failure-reason', but no jobs available and at least one broker returned 'RESOURCE_EXHAUSTED'. Please try again later.
aviv.elmakias.b: I’m having the same issue.
What version of zeebe are you using?
Frank Zhang: @aviv.elmakias.b compile group: ‘io.zeebe.spring’, name: ‘spring-zeebe-starter’, version: ‘0.24.0’
Frank Zhang: If you resolve the issue, please noice me and I also.
aviv.elmakias.b: I’m using zeebe 0.25.1 with firstname.lastname@example.org and found out it’s someting to do with the
longPoll (maybe a little different name in spring) timeout.
I tries to lower it to 15 seconds from 30 and now i get this exception way less.
aviv.elmakias.b: After running a worker in debug mode i found out that this problem happens only when the grpc stream is closing before the agreed timeout, and after it tries to reconnect.
I guess that it’s thrown after the worker is trying to reconnect but the server already closed the stream.
Frank Zhang: Many thanks. I’m not sure how to configure this variable. I don’t find any timeout config about longpoll. I’m using zeebe 0.24.0, there is only enable config in LongPollingCfg.
aviv.elmakias.b: This is something that should be configured in the worker, not the engine.
Frank Zhang: Thanks, can I set the config like this: @ZeebeWorker(type = “xxx-convert”, timeout = 15 )
Frank Zhang: • Resource exhausted on create workflow instance if no topology available (https://github.com/zeebe-io/zeebe/issues/5789|#5789)
aviv.elmakias.b: I dont think it’s the same issue we have here, but maybe they’re related somehow.
I get RESOURCE_EXHAUSTED without activating any workflow, just after starting the workers and connecting them to the engine.
Josh Wulf: Is there any workload in the engine (running process instances)? And how many workers are you connecting?
Note: This post was generated by Slack Archivist from a conversation in the Zeebe Slack, a source of valuable discussions on Zeebe (get an invite). Someone in the Slack thought this was worth sharing!
If this post answered a question for you, hit the Like button - we use that to assess which posts to put into docs.