Skip to content

Conversation

@nikiwycherley
Copy link
Contributor

Problem: After the AWS SDK upgrade, parallel PutObject calls caused EMFILE (too many open files).

Fix: Use bounded concurrency (default 5) with SDK v3 s3.send(new PutObjectCommand(...)) and a keep-alive HTTP agent.

Also: clearer logs and correct per-station key in error messages.

Testing: Ran locally and in test by uploading the CSV; uploads completed, no EMFILE.

Impact: No API changes. Slightly slower, much more reliable.

@sonarqubecloud
Copy link

@LeeGordon83 LeeGordon83 merged commit f9d8cd9 into development Sep 1, 2025
3 checks passed
@pwadmore-ea pwadmore-ea deleted the feature/FSR-1136-update-to-aws-sdk-v3 branch September 8, 2025 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants