Occasional "Connection reset by peer" errors when mounting
- Dominant language
- Rust
- Stars
- 361
- Forks
- 238
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 3
Description
Hi guys,
We are using efs-utils from within Docker containers spawned from AWS Batch. It works great, but occasionally we receive this error about 26 seconds after attempting to mount EFS over TLS:
```mount.nfs4: Connection reset by peer```
We are using the recommended mount command:
```mount -t efs -o tls [EFS file system ID]:/ /mnt```
This happens in ~0.2% of all mount attempts from all our VPCs. It's a particularly nasty issue because it seems to prevent the mount process from being killed cleanly. Since Apache Commons Exec 1.3's basic ExecuteWatchdog is not able to destroy it, the only remedy I have found is to terminate the EC2 instance.
Any ideas or insights would be greatly appreciated.
Thanks!
Cheers,
-Jon
Contributor guide
Assessment
This issue has not been assessed yet.