<@U04S8PLJWMT> why do i get this error? Source pro...
# ask-ai
o
@kapa.ai why do i get this error? Source process exited with non-zero exit code 143
k
The error message "Source process exited with non-zero exit code 143" in Airbyte typically indicates that the source connector process was terminated by a SIGTERM signal (signal 15 in Unix/Linux systems). This is not always an error caused by the connector itself, but often means the process was intentionally stopped or killed, possibly due to: - The sync job being cancelled manually or by the system. - Resource constraints, such as running out of memory or CPU, causing Kubernetes or Docker to terminate the process. - Timeouts or orchestrator-level interruptions. This exit code is considered "normal" if the job was cancelled, but if you see it unexpectedly (especially during large syncs), it may be related to resource limits or environmental issues. Increasing memory or CPU limits for your Airbyte worker pods or containers can sometimes help, especially if you are syncing large volumes of data. If the problem persists, reviewing the full sync logs for more context is recommended, as there may be additional clues about the root cause in the log output. References: - [Sync Jobs Failing: Non-Zero Error Code 143](https://discuss.airbyte.io/t/589) - [Source process exited with non-zero exit code 143 for a customized source](https://discuss.airbyte.io/t/2291) - [Sync appears to be getting cancelled on its own when handling large amounts of data](https://discuss.airbyte.io/t/2921) - [Google ads error after upgrade](https://discuss.airbyte.io/t/3342)
o
@kapa.ai is there an env variables which limits the sync time? for example if i want to limit my syncs to be running maximum to 1 hour?
k
A message from kapa.ai
Yes, there is an environment variable in Airbyte that limits the maximum execution time of a sync job:
SYNC_JOB_MAX_TIMEOUT_DAYS
. This variable defines the number of days a sync job will execute before timing out. However, according to the available knowledge sources, the minimum value you can set is 1 day (24 hours). There is currently no environment variable to set the timeout in hours or minutes, so you cannot directly limit syncs to a maximum of 1 hour using this setting. Example usage in your environment configuration:
Copy code
SYNC_JOB_MAX_TIMEOUT_DAYS=1
This will limit sync jobs to a maximum of 24 hours. If you need a shorter timeout (such as 1 hour), this is not currently supported by the documented environment variables in Airbyte. Users have requested more granular control (e.g., by hours), but as of now, only day-level granularity is available [Configuring Airbyte - Jobs](https://docs.airbyte.com/platform/operator-guides/configuring-airbyte#jobs) [Forum: Sync hangs until I cancel](https://discuss.airbyte.io/t/709). If you require more precise control, you may need to implement external monitoring and cancellation logic outside of Airbyte until finer-grained timeout support is added.