<@U04S8PLJWMT> my instance is sitting at around 2%...
# ask-ai
h
@kapa.ai my instance is sitting at around 2% cpu utilization and the sync jobs are moving really slow, is there a way I can dedicate more resources to the sync jobs so I can mak ethem run faster?
k
Yes, you can dedicate more resources to Airbyte sync jobs, which may help improve their speed—especially if resource constraints are a bottleneck. Airbyte allows you to configure CPU and memory allocations at several levels: instance-wide, connector definition, connector-specific, and connection-specific. To increase resources for sync jobs, you can adjust the following settings in your
values.yaml
file (for instance-wide changes):
Copy code
yaml JOB_MAIN_CONTAINER_CPU_REQUEST: <minimum CPU> JOB_MAIN_CONTAINER_CPU_LIMIT: <maximum CPU> JOB_MAIN_CONTAINER_MEMORY_REQUEST: <minimum RAM> JOB_MAIN_CONTAINER_MEMORY_LIMIT: <maximum RAM>
For example:
Copy code
yaml JOB_MAIN_CONTAINER_CPU_REQUEST: "2" JOB_MAIN_CONTAINER_CPU_LIMIT: "4" JOB_MAIN_CONTAINER_MEMORY_REQUEST: "2048Mi" JOB_MAIN_CONTAINER_MEMORY_LIMIT: "4096Mi"
If you want to set resource requirements for a specific connector type, you can update the
actor_definition
table in the Airbyte database:
Copy code
sql update actor_definition set resource_requirements = '{"jobSpecific": [{"jobType": "sync", "resourceRequirements": {"cpu_limit": "2", "cpu_request": "2", "memory_limit": "2048Mi", "memory_request": "2048Mi"}}]}' where id = '<connector-definition-id>';
Important: Before increasing resources, use observability tools to confirm that resource limits are actually the bottleneck. If your CPU utilization is only at 2%, the slowness may be due to other factors (e.g., source/destination throughput, network latency, or connector-specific limitations). However, increasing resource limits is a recommended first step if you suspect resource constraints are involved. Start with the lowest-precedence configuration and override with more specific settings as needed. For more details, see the official documentation on [Configuring Connector Resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources) and [Scaling Airbyte](https://docs.airbyte.com/platform/operator-guides/scaling-airbyte#what-to-scale). If you continue to see low CPU usage and slow syncs after increasing resources, you may need to investigate other potential bottlenecks, such as database fetch size, network speed, or connector-specific settings. The knowledge sources do not provide detailed troubleshooting steps for non-resource-related bottlenecks, but they do recommend starting with resource allocation adjustments as described above<sup>[1](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources)</sup><sup>[2](https://docs.airbyte.com/platform/operator-guides/scaling-airbyte#what-to-scale)</sup>.
h
@kapa.ai I have everything deployed on an EC2 inside AWS using the quickstart guide, how shall I change the resources constraints now?
k
A message from kapa.ai
To change the resource constraints for your Airbyte sync jobs after deploying on an EC2 instance using the quickstart guide, you should update the resource settings in your deployment’s configuration files. Specifically, for instance-wide changes, you need to modify the relevant variables in your
values.yaml
file:
Copy code
yaml JOB_MAIN_CONTAINER_CPU_REQUEST: <minimum CPU> JOB_MAIN_CONTAINER_CPU_LIMIT: <maximum CPU> JOB_MAIN_CONTAINER_MEMORY_REQUEST: <minimum RAM> JOB_MAIN_CONTAINER_MEMORY_LIMIT: <maximum RAM>
For example:
Copy code
yaml JOB_MAIN_CONTAINER_CPU_REQUEST: "2" JOB_MAIN_CONTAINER_CPU_LIMIT: "4" JOB_MAIN_CONTAINER_MEMORY_REQUEST: "2048Mi" JOB_MAIN_CONTAINER_MEMORY_LIMIT: "4096Mi"
After updating these values, you will need to redeploy or restart your Airbyte services for the changes to take effect. This approach applies to instance-wide resource allocation and will affect all job containers unless overridden by more specific settings (connector or connection level) [Configuring Connector Resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources). If you need to set resource requirements for a specific connector or connection, you can do so by updating the Airbyte database directly, as described in the documentation. However, for most quickstart deployments, adjusting the
values.yaml
file is the recommended and simplest approach. If you are unsure where your
values.yaml
file is located, it is typically found in the directory where you configured your Airbyte deployment. If you used Docker Compose for the quickstart, resource constraints may need to be set in the
docker-compose.yaml
file instead, but the knowledge sources do not provide explicit instructions for Docker Compose setups. If you need more detailed, step-by-step instructions for your specific deployment method (e.g., Docker Compose), the knowledge sources do not provide that information. In that case, please refer to the deployment documentation or reach out to Airbyte support.
h
@kapa.ai I installed using
abctl
so I did not install using helm, how can I change the installation now without risking any inconsistencies in the configuration
k
A message from kapa.ai
If you installed Airbyte using
abctl
, your deployment is managed within a local Kubernetes cluster (kind) and not via Helm. The knowledge sources do not provide a supported or documented migration path from an
abctl
-managed installation to a Helm-based installation. There is no official guidance on how to safely switch deployment methods without risking inconsistencies or data loss. If you want to change resource constraints for your current
abctl
installation, you should look for ways to adjust the configuration within the
abctl
workflow, rather than switching to Helm. The documentation does not specify how to directly change resource limits for jobs in an
abctl
deployment, nor does it describe a migration process from
abctl
to Helm. Summary: - There is no documented or supported way in the knowledge sources to switch from an
abctl
installation to a Helm-based installation without risk. - The best practice is to continue managing your deployment with
abctl
and look for resource configuration options within that tool. - If you need more advanced configuration or migration, you may need to consult Airbyte support or wait for official documentation on this process. If you need to interact with the underlying Kubernetes cluster (for example, to manually adjust resources), you can use
kubectl
with the kubeconfig provided by `abctl`:
Copy code
sh kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl get pods
But again, the knowledge sources do not provide details on how to safely migrate to Helm or change the installation method after using
abctl
 [FAQ: Troubleshooting abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#faq).
h
@kapa.ai ok, then can I manually change a deployment of the pods so we can specify the constraints?
k
A message from kapa.ai
You can interact with the underlying Kubernetes cluster created by
abctl
using standard Kubernetes tools like
kubectl
. This allows you to view and potentially edit the resource constraints of running pods or deployments. For example, you can use:
Copy code
sh kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl get pods
However, the knowledge sources do not provide explicit instructions or official support for manually editing the deployments or pods created by
abctl
to change resource constraints. There is no documentation confirming that manual changes will persist or be respected by the Airbyte job orchestration, and such changes may be overwritten by Airbyte or
abctl
during upgrades or restarts. In summary: - You can technically use
kubectl
to edit pod or deployment specs, but this is not documented or officially supported for
abctl
installations. - The knowledge sources do not guarantee that manual changes will be safe or persistent. - For persistent and supported resource configuration, you should look for options within the
abctl
workflow or wait for official documentation on this topic. For more details, see the [abctl troubleshooting FAQ](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#faq).
h
@kapa.ai logs are retuning this 2025-10-27 183758 source INFO pool-2-thread-1 i.a.c.i.d.AirbyteDebeziumHandler$CapacityReportingBlockingQueue(reportQueueUtilization):48 CDC events queue stats: size=0, cap=10000, puts=1, polls=0
k
A message from kapa.ai
The log entry:
Copy code
CDC events queue stats: size=0, cap=10000, puts=1, polls=0
means that the Change Data Capture (CDC) events queue currently has 0 items in it, with a maximum capacity of 10,000. The queue has received 1 event ("puts") and none have been processed yet ("polls"). This is a normal informational log from Airbyte's Debezium-based CDC process. It is used to monitor the internal buffer for change events. The default queue size is 10,000, which is recommended for most use cases. Adjusting this value is only suggested if you have a specific technical reason or have been instructed to do so by Airbyte support. Improper sizing can impact memory consumption, sync efficiency, and system stability [CDC best practices](https://docs.airbyte.com/platform/understanding-airbyte/cdc-best-practices#source-configuration). If you are experiencing issues with sync speed or resource usage, this log alone does not indicate a problem, but rather provides insight into the CDC queue's current state. If the queue size remains at 0 and syncs are slow, the bottleneck may be elsewhere (e.g., source/destination throughput, network, or connector configuration).
h
@kapa.ai how can I completely uninstall airbyte? abctl local uninstall still leaves config files aroudn
k
A message from kapa.ai
To completely uninstall Airbyte when using
abctl
, you need to do two things: 1. Uninstall Airbyte and remove all data:
Copy code
sh    abctl local uninstall --persisted
This command stops all running containers and deletes all Airbyte data. 2. Remove any remaining configuration files created by abctl:
Copy code
sh    rm -rf ~/.airbyte/abctl
This deletes the configuration and any residual files left by
abctl
. Following these two steps will fully remove Airbyte and its configuration files from your system [Uninstall Airbyte](https://docs.airbyte.com/platform/next/using-airbyte/getting-started/oss-quickstart#uninstall-airbyte).