Airbyte abctl causing disk full in /tmp on AL2023 ...
# replication-troubleshooting
m
Airbyte abctl causing disk full in /tmp on AL2023 FYI: In case you are deploying Airbyte locally on Amazon Linux 2023 via abctl, you might run into an issue when abctl writes a rather large images .tar file into the tmp folder (by default
/tmp
). Unfortunately, AL2023 defaults to using
tmpfs
for
/tmp
with a limit of 50% of RAM, which often will be too little space for the large file created during the airbyte installation process. https://docs.aws.amazon.com/linux/al2023/ug/compare-al2-al2023-tmp.html The work-around is to run
Copy code
export TMPDIR=/var/tmp/
before starting
Copy code
abctl local install
Would be great if this could be included in https://docs.airbyte.com/platform/deploying-airbyte/abctl-ec2 as AL2023 is pretty standard and many users will deploy airbyte on EC2 instances with 16GB RAM or less. Thanks!
k
Thank you for highlighting this issue with Airbyte abctl on Amazon Linux 2023 (AL2023). Based on the knowledge sources provided, there is currently no explicit mention in the official Airbyte documentation about the
/tmp
disk space limitation on AL2023 or the workaround of setting
TMPDIR=/var/tmp
before running
abctl local install
. The official guides for deploying Airbyte with abctl on EC2 (including AL2023) do not reference this specific problem or the workaround you described. They focus on Docker installation, user permissions, and the basic abctl installation and usage steps, but do not address the tmpfs limitation or how to change the temporary directory for large image files during installation [Using an EC2 Instance with abctl](https://docs.airbyte.com/platform/deploying-airbyte/abctl-ec2). In summary: - The knowledge sources do not currently include information about the
/tmp
tmpfs limitation on AL2023 or the
TMPDIR
workaround. - Your suggestion to add this to the documentation is valid and would help users deploying Airbyte on AL2023, especially on EC2 instances with limited RAM. If you want this included in the official documentation, you may consider submitting feedback or a pull request to the Airbyte documentation repository, as this would benefit other users facing the same issue.
m
Potentially the behavior of abctl could also be improved to deal more gracefully with limited disk space and/or to seek different tmp locations for such >7GB sized files.