Helm Chart Version 2.0.13 What step the error hap...
# ask-ai
t
Helm Chart Version 2.0.13 What step the error happened? Upgrading the Platform or Helm Chart Relevant information After upgrading from v1.8.2 and chart v2.0.12 to v1.8.3 and chart v2.0.13 we're seeing the following error looping in the logs. Airbyte still functions normally, but the logs are spammed with this error every 10 seconds or so. This was not a problem before upgrading. Relevant log output
Copy code
2025-09-26 12:07:06	2025-09-26 11:07:06,991 [scheduled-executor-thread-1]	�[1;31mERROR�[0;39m	i.m.s.DefaultTaskExceptionHandler(handle):47 - Error invoking scheduled task for bean [io.airbyte.cron.jobs.SelfHealTemporalWorkflows@9ca4b14] RESOURCE_EXHAUSTED: namespace rate limit exceeded
2025-09-26 12:07:06	io.grpc.StatusRuntimeException: RESOURCE_EXHAUSTED: namespace rate limit exceeded
2025-09-26 12:07:06		at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:351)
2025-09-26 12:07:06		at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:332)
2025-09-26 12:07:06		at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:174)
2025-09-26 12:07:06		at io.temporal.api.workflowservice.v1.WorkflowServiceGrpc$WorkflowServiceBlockingStub.listClosedWorkflowExecutions(WorkflowServiceGrpc.java:5903)
2025-09-26 12:07:06		at io.airbyte.commons.temporal.WorkflowServiceStubsWrapped.blockingStubListClosedWorkflowExecutions$lambda$0(WorkflowServiceStubsWrapped.kt:38)
2025-09-26 12:07:06		at dev.failsafe.Functions.lambda$toCtxSupplier$11(Functions.java:243)
2025-09-26 12:07:06		at dev.failsafe.Functions.lambda$get$0(Functions.java:46)
2025-09-26 12:07:06		at dev.failsafe.internal.RetryPolicyExecutor.lambda$apply$0(RetryPolicyExecutor.java:74)
2025-09-26 12:07:06		at dev.failsafe.SyncExecutionImpl.executeSync(SyncExecutionImpl.java:187)
2025-09-26 12:07:06		at dev.failsafe.FailsafeExecutor.call(FailsafeExecutor.java:376)
2025-09-26 12:07:06		at dev.failsafe.FailsafeExecutor.get(FailsafeExecutor.java:112)
2025-09-26 12:07:06		at io.airbyte.commons.temporal.RetryHelper.withRetries(RetryHelper.kt:57)
2025-09-26 12:07:06		at io.airbyte.commons.temporal.WorkflowServiceStubsWrapped.withRetries(WorkflowServiceStubsWrapped.kt:63)
2025-09-26 12:07:06		at io.airbyte.commons.temporal.WorkflowServiceStubsWrapped.blockingStubListClosedWorkflowExecutions(WorkflowServiceStubsWrapped.kt:37)
2025-09-26 12:07:06		at io.airbyte.commons.temporal.TemporalClient.fetchClosedWorkflowsByStatus(TemporalClient.kt:137)
2025-09-26 12:07:06		at io.airbyte.commons.temporal.TemporalClient.restartClosedWorkflowByStatus(TemporalClient.kt:113)
2025-09-26 12:07:06		at io.airbyte.cron.jobs.SelfHealTemporalWorkflows.cleanTemporal(SelfHealTemporalWorkflows.kt:39)
2025-09-26 12:07:06		at io.airbyte.cron.jobs.$SelfHealTemporalWorkflows$Definition$Exec.dispatch(Unknown Source)
2025-09-26 12:07:06		at io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invoke(AbstractExecutableMethodsDefinition.java:456)
2025-09-26 12:07:06		at io.micronaut.inject.DelegatingExecutableMethod.invoke(DelegatingExecutableMethod.java:86)
2025-09-26 12:07:06		at io.micronaut.context.bind.DefaultExecutableBeanContextBinder$ContextBoundExecutable.invoke(DefaultExecutableBeanContextBinder.java:152)
2025-09-26 12:07:06		at io.micronaut.scheduling.processor.ScheduledMethodProcessor.lambda$scheduleTask$2(ScheduledMethodProcessor.java:160)
2025-09-26 12:07:06		at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
2025-09-26 12:07:06		at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:358)
2025-09-26 12:07:06		at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
2025-09-26 12:07:06		at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
2025-09-26 12:07:06		at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
2025-09-26 12:07:06		at java.base/java.lang.Thread.run(Thread.java:1583)
k
The error message you are seeing:
Copy code
RESOURCE_EXHAUSTED: namespace rate limit exceeded
is related to Temporal, which Airbyte uses for workflow orchestration. This error indicates that the Temporal service is hitting its namespace rate limit, which restricts the number of requests or operations that can be performed within a given time frame. This issue has been reported multiple times in the Airbyte community, especially after upgrades or changes to the Helm chart. The root cause is typically that the Temporal server's rate limits are too low for your workload, or the defaults are not sufficient for your deployment. This can result in the airbyte-cron service (specifically the SelfHealTemporalWorkflows job) logging this error repeatedly, even though Airbyte continues to function normally. Key points from the knowledge sources: - This is a known issue, and the error is not unique to your upgrade path. It has been observed in various Airbyte versions and deployment methods, including Docker and Helm-based installations. - The error is not directly caused by Airbyte itself, but by Temporal's internal rate limiting. The relevant configuration is not always exposed in Airbyte's Helm chart, making it difficult to adjust these limits directly without customizing the Temporal deployment. - Some users have reported that increasing the number of Temporal replicas or upgrading to newer Airbyte/Temporal versions with improved defaults can help, but this is not always a guaranteed fix. In some cases, the error persists even after such changes. - The error does not typically impact Airbyte's core functionality, but it does spam the logs and could indicate that your workload is at risk of hitting operational limits if it increases further. References: - [Airbyte not responding via UI or API](https://github.com/airbytehq/airbyte/issues/46554) - [Sync attempt with killed pod hangs eternally](https://github.com/airbytehq/airbyte/issues/48879) - [airbyte-cron: RESOURCE_EXHAUSTED namespace rate limit exceeded](https://github.com/airbytehq/airbyte/issues/30691) - [Self-hosted Airbyte in Docker stuck and will not trigger sync](https://github.com/airbytehq/airbyte/issues/44833) What can you do? - If you are using the default Temporal deployment provided by Airbyte's Helm chart, there may not be an exposed way to increase the namespace rate limits directly. Some users have resorted to customizing the Temporal deployment or running their own Temporal cluster with higher limits. - If you are able to modify the Temporal configuration, look for settings related to namespace RPS (requests per second) limits and increase them as appropriate for your workload. - Monitor your Temporal database size and clean up old workflow history if it is growing large, as this can also contribute to performance issues. - If the error is only appearing in logs and not affecting functionality, it may be safe to ignore, but keep an eye on system performance and consider scaling Temporal resources if your workload increases. Summary: This is a known Temporal rate limiting issue that can occur after Airbyte upgrades. Unless you can adjust Temporal's namespace rate limits, the error may persist but is generally not critical unless you see actual workflow failures. If you need to suppress the log spam or prevent future issues, consider customizing your Temporal deployment or reaching out to Airbyte support for guidance on advanced configuration options. If you need more specific steps for your environment, please provide details about your Temporal deployment (e.g., managed by Airbyte, custom, or external) and your ability to modify its configuration.
t
We use an external Postgres DB for temporal. We are reluctant to host a custom tool to handle this. How can I change the number of temporal replicas, if this is the solution?