<@U04S8PLJWMT> im seeing error 143 whenever i have...
# ask-ai
q
@kapa.ai im seeing error 143 whenever i have 2 sources both ETLing into the same redshift destination. they are ETLing to different tables in the same schema. is this expected?
Copy code
2025-08-14 15:10:07 replication-orchestrator ERROR Source process exited with non-zero exit code 143
2025-08-14 15:10:07 replication-orchestrator ERROR SourceReader error: 
2025-08-14 15:10:07 replication-orchestrator INFO SourceReader finished.
2025-08-14 15:10:07 replication-orchestrator INFO MessageProcessor finished.
2025-08-14 15:10:07 replication-orchestrator ERROR DestinationWriter error: 
2025-08-14 15:10:07 replication-orchestrator ERROR DestinationWriter error: 
2025-08-14 15:10:07 replication-orchestrator INFO DestinationWriter finished.
k
The error code 143 in Airbyte typically indicates that a process was terminated, often due to a cancellation or resource issue (such as memory limits being hit), rather than a specific application-level error. This is not necessarily expected behavior just because you have two sources ETLing into the same Redshift destination, especially if they are writing to different tables within the same schema. However, there are known concurrency issues in Airbyte when multiple syncs target the same destination and schema, even if they are writing to different tables. This is particularly problematic if temporary or staging tables used during the sync process have naming collisions, which can happen if Airbyte does not sufficiently isolate the resources for each sync. For example, in BigQuery and other destinations, users have reported that concurrent syncs to the same dataset/schema can interfere with each other due to temporary table name collisions, leading to failed or inconsistent syncs. The recommended workaround is to use different namespaces (schemas) for each connection, or to ensure that only one sync runs at a time to avoid these issues. This advice is also relevant for Redshift, as it uses schemas in a similar way to BigQuery and Postgres [Namespaces documentation](https://docs.airbyte.com/platform/using-airbyte/core-concepts/namespaces#what-is-a-namespace) [Concurrency issue discussion](https://discuss.airbyte.io/t/1105). If you must use the same schema, you can try limiting Airbyte to run only one sync at a time (by setting
MAX_SYNC_WORKERS
to 1), but this reduces parallelism and throughput. The underlying issue is not unique to Redshift and is a known limitation in Airbyte's current handling of concurrent syncs to the same namespace. In summary: - Error 143 is not expected solely because you have two sources ETLing into different tables in the same schema, but concurrency issues can cause such errors. - To avoid this, use different schemas (namespaces) for each connection, or serialize your syncs. - If you continue to see this error, review your resource limits and logs for more details, as memory or CPU constraints can also cause process termination with code 143 [Example discussion](https://discuss.airbyte.io/t/589) [Another example](https://discuss.airbyte.io/t/2291). If you need more specific troubleshooting, please provide additional logs or configuration details.
q
@kapa.ai for resource issues, should i up the resource on my global.jobs, or up the resource on my airbyte-worker?
k
Sorry @Qiming Fang, I'm currently experiencing some technical difficulties. Please try again in a few minutes. If this issue persists, please reach out to the administrators of this Slack workspace.
q
@kapa.ai for resource issues, should i up the resource on my global.jobs, or up the resource on my airbyte-worker?
k
A message from kapa.ai
For resource issues related to sync jobs (such as memory or CPU limits being hit), you should primarily increase the resources under
global.jobs
in your
values.yaml
file. This setting controls the resource requests and limits for the job pods that actually run your connectors (source and destination containers) during syncs. Adjusting these values will directly impact the resources available to your sync jobs and can help prevent issues like process termination with exit code 143 due to resource exhaustion. Example configuration:
Copy code
yaml global:   jobs:     resources:       requests:         memory: 4096Mi         cpu: 500m       limits:         memory: 8192Mi         cpu: 1000m
This is the recommended approach for scaling connector jobs and is referenced in the official documentation for both community and enterprise deployments [Scaling Airbyte](https://docs.airbyte.com/platform/operator-guides/scaling-airbyte) [Configuring connector resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources). Increasing resources for the
airbyte-worker
deployment is generally not the first step for resolving connector job resource issues, unless you are seeing the worker itself (not the job pods) running out of resources or leaking memory. Summary: - For sync job resource issues, increase
global.jobs.resources
in your
values.yaml
. - Only increase
airbyte-worker
resources if you see the worker pod itself running out of resources. For more details, see the official documentation: [Configuring connector resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources).
q
@kapa.ai what is the relationship between airbyte-worker and the job? what kind of work gets done on the job vs the worker?
k
A message from kapa.ai
The relationship between the airbyte-worker and a job in Airbyte is as follows: - The airbyte-worker is a service (a container/pod) that is responsible for managing and orchestrating jobs. It reads from task queues, schedules jobs, and makes calls to the workload API to launch job pods. The worker itself does not perform the actual data movement or connector logic, but instead coordinates and manages the lifecycle of jobs ([Architecture overview](https://docs.airbyte.com/platform/understanding-airbyte/high-level-view)). - A job (or workload) is the actual unit of work that performs connector operations such as SYNC, CHECK, DISCOVER, or SPEC. Each job runs in its own pod (called a workload pod), which encapsulates the execution of the connector(s) and any required Airbyte middleware. The job pod is where the data extraction, transformation, and loading (ETL) happens, using the source and destination connector containers ([Workloads & Jobs](https://docs.airbyte.com/platform/understanding-airbyte/jobs)). Work done by the airbyte-worker: - Reads from task queues (managed by Temporal). - Schedules and manages the execution of jobs by communicating with the Workload API. - Orchestrates the creation of job pods but does not run the connector code itself. Work done by the job: - Executes the connector logic (e.g., reading from a source, writing to a destination). - Runs the actual ETL process inside the job pod. - Handles connector-specific operations (READ, WRITE, CHECK, DISCOVER, SPEC). - Includes Airbyte middleware containers for logging, stats, and side effects. In summary: - The airbyte-worker manages and launches jobs. - The job pod does the actual data movement and connector work. For more details, see the [Architecture overview](https://docs.airbyte.com/platform/understanding-airbyte/high-level-view) and [Workloads & Jobs](https://docs.airbyte.com/platform/understanding-airbyte/jobs) documentation.