Hello everyone, I'm trying to use Airbyte to sync...
# replication-troubleshooting
d
Hello everyone, I'm trying to use Airbyte to sync my data, and I've created multiple connections, each with many schemas mapped for synchronization. However, I expected that, if the VM resources were available, Airbyte would run multiple connections in parallel, but instead, all connections are running sequentially. Do I need to change any configuration to enable parallel execution? Airbyte is running on a VM with Debian 12, 8 vCPUs, and 32 GB of memory. Below is a snippet of my values.yaml:
Copy code
worker:
  enabled: true
  replicaCount: 2
  maxNotifyWorkers: "20"
  maxCheckWorkers: "20"
  maxSyncWorkers: "20"
  resources:
    requests:
      cpu: "500m"
      memory: "1Gi"
    limits:
      cpu: "1000m"
      memory: "2Gi"
  extraEnv:
    - name: MAX_SYNC_WORKERS
      value: "20"
    - name: MAX_CHECK_WORKERS
      value: "20"
    - name: MAX_DISCOVERY_WORKERS
      value: "10"
    - name: MAX_SPEC_WORKERS
      value: "10"

workloadLauncher:
  enabled: true
  replicaCount: 2
  resources:
    requests:
      cpu: "500m"
      memory: "1Gi"
    limits:
      cpu: "1000m"
      memory: "2Gi"
  extraEnv:
    - name: WORKLOAD_LAUNCHER_PARALLELISM
      value: "25"
k
You already set the right knobs for parallelism (worker counts and launcher), so if syncs are still effectively sequential there are a few likely bottlenecks to check. ### 1. Understand what your current settings do With your `values.yaml`:
Copy code
yaml worker:   replicaCount: 2   maxSyncWorkers: "20"   extraEnv:     - name: MAX_SYNC_WORKERS       value: "20"     - name: MAX_CHECK_WORKERS       value: "20"     - name: MAX_DISCOVERY_WORKERS       value: "10"     - name: MAX_SPEC_WORKERS       value: "10"  workloadLauncher:   replicaCount: 2   extraEnv:     - name: WORKLOAD_LAUNCHER_PARALLELISM       value: "25"
-
maxSyncWorkers
/
MAX_SYNC_WORKERS
control how many sync jobs can run at once per worker deployment. With 2 worker replicas and value 20, you’ve allowed up to ~40 concurrent syncs, assuming other components/resources are not limiting. [[Scaling Airbyte](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte#concurrent-sync-limits)] -
WORKLOAD_LAUNCHER_PARALLELISM=25
allows the launcher to start up to 25 jobs at once. [[Configuring Airbyte](https://docs.airbyte.com/platform/operator-guides/configuring-airbyte#launcher)] So from a configuration standpoint, you’ve already enabled substantial concurrency. ### 2. Check if “sequential” is due to resource pressure Each concurrent sync creates at least 3 short‑lived connector pods (
orchestrator
,
read
,
write
). 10 concurrent syncs → 30 extra pods; 20 syncs → 60 pods, etc. [[Scaling Airbyte](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte#concurrent-syncs)] If your cluster/VM cannot schedule these pods (CPU/memory or pod density limits), you’ll see jobs “stuck” or effectively serialized. Symptoms: - Jobs sitting in “pending” or “starting” state for a long time. - Kubernetes events complaining about insufficient CPU/memory or node pressure. On a single VM with 8 vCPUs and 32 GB RAM, your current per‑pod limits:
Copy code
yaml worker.resources.limits:   cpu: "1000m"   memory: "2Gi" workloadLauncher.resources.limits:   cpu: "1000m"   memory: "2Gi"
plus all the short‑lived connector pods can easily exhaust CPU or memory if you truly try to run 20+ concurrent syncs. If that happens, Kubernetes will throttle scheduling and you’ll observe de‑facto sequential behavior. The docs explicitly call out that under‑provisioned deployments can cause “stuck jobs” and slow progress and recommend either: [[Scaling Airbyte](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte#connector-cpu--memory-settings)] - Scaling up nodes / VM resources, or - Lowering per‑connector CPU/memory limits in
values.yaml
under
global.jobs.resources
. ### 3. Verify job concurrency vs. limits Given the docs and community discussions: -
MAX_*_WORKERS
/
max*Workers
define counters used by the worker to limit concurrent jobs of each type. [[Scaling Airbyte](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte#concurrent-sync-limits); [Forum 1547](https://discuss.airbyte.io/t/1547)] -
WORKLOAD_LAUNCHER_PARALLELISM
only limits how many jobs are launched simultaneously, not how many can run overall. [[Configuring Airbyte](https://docs.airbyte.com/platform/operator-guides/configuring-airbyte#launcher)] If you see at most 1 running sync at any given time in the UI or logs, then either: - Effective
maxSyncWorkers
is still 1 (e.g., Helm values not applied to the running release), or - Some other constraint (e.g., older env vars like
SUBMITTER_NUM_THREADS
on legacy deployments) is lower than your
maxSyncWorkers
. For self‑managed Enterprise Helm the public docs only expose
maxSyncWorkers
/
MAX_SYNC_WORKERS
, and I don’t see additional global concurrency knobs in the snippets provided. [[Scaling Airbyte](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte#concurrent-sync-limits)] ### 4. Concrete steps to troubleshoot / fix 1. Confirm the values are actually in effect - Describe the running worker pods (
kubectl describe pod <worker-pod>
) and check: - Env vars:
MAX_SYNC_WORKERS
,
MAX_CHECK_WORKERS
, etc. - Container args / config map to confirm
maxSyncWorkers
is picked up. - If they don’t match your
values.yaml
, re‑deploy the Helm release. 2. Observe real concurrency - From the Airbyte UI or API, check how many jobs are in
running
state at once. - If you never see more than 1–2, then either limits are too low or resources are blocking extra pods. 3. Check cluster resource usage - Look at node CPU/memory and pod counts while you trigger several connections. - If nodes are near CPU/memory saturation or new pods are pending due to resources, lower connector resource limits in
global.jobs.resources
or add more capacity. [[Scaling Airbyte](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte#connector-cpu--memory-settings)] 4. Tune concurrency carefully - Start with a smaller
maxSyncWorkers
(e.g.,
5
) and observe stability and throughput. - Increase gradually while monitoring for stuck jobs or resource exhaustion. [[Scaling Airbyte](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte#concurrent-sync-limits)] Because the provided docs don’t expose any additional “global concurrency off switch,” if your `MAX_SYNC_WORKERS`/`maxSyncWorkers` and
WORKLOAD_LAUNCHER_PARALLELISM
are correctly applied and your cluster has enough resources, Airbyte should run multiple connections in parallel. If after verifying the above you still only see sequential execution, the knowledge sources don’t give more internal tuning parameters, so you may need to share logs and
kubectl describe
output in the Airbyte forum for deeper debugging.
d
Is a job a connection, or is it each migration in the connection?