I'm trying to create a connection from Snowflake t...
# ask-ai
r
I'm trying to create a connection from Snowflake table that is ~4million rows and ~60 MB to an s3 destination as parquet. I've updated my resources to be:
Copy code
2025-11-07 14:56:36 platform INFO [source] image: airbyte/source-snowflake:1.0.8 resources: ResourceRequirements(claims=[], limits={memory=2500Mi, cpu=2}, requests={memory=1250Mi, cpu=2}, additionalProperties={})
2025-11-07 14:56:36 platform INFO [destination] image: airbyte/destination-s3:1.9.5 resources: ResourceRequirements(claims=[], limits={memory=12000Mi, cpu=6}, requests={memory=8000Mi, cpu=3}, additionalProperties={})
2025-11-07 14:56:36 platform INFO [orchestrator] image: airbyte/container-orchestrator:2.0.1 resources: ResourceRequirements(claims=[], limits={memory=2Gi, cpu=2}, requests={memory=2Gi, cpu=2}, additionalProperties={})
But I keep getting this error:
Copy code
2025-11-07 14:53:20 replication-orchestrator INFO Failures: [ {
  "failureOrigin" : "replication",
  "internalMessage" : "Broken pipe",
  "externalMessage" : "Something went wrong during replication",
  "metadata" : {
    "attemptNumber" : 0,
    "jobId" : 4
  },
Can you help me diagnose the issue and point me to any other threads here on slack that could be helpful?
k
Based on the information and logs you provided, the "Broken pipe" error during replication from Snowflake to S3 (as Parquet) is a known issue that can occur in Airbyte jobs. This error typically indicates that the connection between the source and destination processes was unexpectedly closed, often due to resource constraints, process crashes, or timeouts. ### Diagnosis Steps 1. Resource Allocation Your resource allocations for both source and destination look generous, especially for the destination S3 connector. However, "Broken pipe" errors can still occur if: - The destination process crashes or is killed (e.g., OOM, out-of-memory). - There is a mismatch in how much data the source is sending versus what the destination can process. - There are network interruptions or timeouts. 2. Relevant Airbyte Issues - Similar "Broken pipe" and "No exit code found" errors have been reported in Airbyte, often related to resource or process management issues. For example, see [this GitHub issue](https://github.com/airbytehq/airbyte/issues/56456), where a "Broken pipe" in the destination led to replication failure. The stack trace and error pattern match what you are seeing. - Another related issue is [here](https://github.com/airbytehq/airbyte/issues/9698), where "Broken pipe" errors were observed, sometimes due to the destination process being overwhelmed or terminated unexpectedly. 3. Debugging Tips - Check Job Logs: Airbyte logs the resource requirements and container creation details at the start of each job. Review the logs for any OOM (out-of-memory) or process termination messages. You can find these logs in the Airbyte UI under the job details, as described in the [official documentation](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources#debugging). - Destination Connector Health: Since the error is during replication and involves a "Broken pipe," focus on the destination S3 connector logs. Look for any stack traces or error messages before the "Broken pipe" event. - File/Row Size: While your table is not very large (~60 MB), if there are many small files or a high number of output files, this can sometimes cause issues, as noted in [this forum post](https://discuss.airbyte.io/t/2734). However, your row count and size seem reasonable. 4. Other Troubleshooting Threads - [Snowflake sync failures after a certain data volume](https://discuss.airbyte.io/t/757) suggest resource or timeout issues, especially if the failure is consistent at a certain data size. - [File Source → Snowflake Destination stuck](https://discuss.airbyte.io/t/725) discusses increasing memory/CPU and checking for timeouts or stuck processes. ### Recommendations - Monitor Memory/CPU Usage: Even with high limits, check if the actual usage spikes or if the process is being killed by the orchestrator. - Review Destination Logs: Look for any errors or warnings in the S3 destination logs before the "Broken pipe" event. - Try Lowering Parallelism: If you have parallelism settings enabled, try reducing them to see if the error persists. - Check for Network Issues: Ensure there are no intermittent network issues between your Airbyte deployment and S3. If the problem persists after these checks, consider opening a GitHub issue with detailed logs, as this may be a connector-specific bug or a deeper orchestration issue. References: - [source-snowflake reporting "No exit code found."](https://github.com/airbytehq/airbyte/issues/56456) - [Source PostgreSQL to S3 - Failed to convert JSON to Avro ("Broken pipe")](https://github.com/airbytehq/airbyte/issues/9698) - [Debugging Connection Resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources#debugging) - [Struggling with S3 to Snowflake connection](https://discuss.airbyte.io/t/2734) - [Snowflake Sync Source Failure after 26GB, Airbyte Cloud](https://discuss.airbyte.io/t/757) - [File Source -> Snowflake Destination stuck](https://discuss.airbyte.io/t/725) If you need more targeted help, please provide the full job logs (especially from the destination container) or open a support ticket with Airbyte.