We're using rclone to mount several S3 buckets within an AWS Appstream instance. Performance issues have started happening where accessing the mounted S3 buckets to save files will cause the process to hang for several minutes. Issues is worse when multiple people are accessing the S3 buckets through the mount.
We have improvement by changing the Rclone cache settings from 1s to 1m (only marginal when multiple users are involved). We have verified with AWS support that the Appstream/S3 services are working properly. Tests with individual EC2’s not running in Appstream have the same end results regarding performance.
We are looking for any suggestions or solutions for increasing performance/reliability.
What is your rclone version (output from rclone version)
rclone v1.55.01
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Windows Server 2012 R2 Standard 64bit
Which cloud storage system are you using? (eg Google Drive)
Amazon S3
The command you were trying to run (eg rclone copy /tmp remote:tmp)
Call C:\rclone\rclone.exe mount s3-bucket:s3-bucket/ X: --vfs-cache-mode full --ignore-checksum --dir-cache-time=1m
Call C:\rclone\rclone.exe mount s3-bucket2:s3-bucket2/ W: --vfs-cache-mode full --ignore-checksum --dir-cache-time=1m
The above commands are run using 2 separate cmd scripts.
The rclone config contents with secrets removed.
[bucket1]
type = s3
provider = AWS
env_auth = true
region = us-east-1
acl = private
server_side_encryption = aws:kms
sse_kms_key_id = secret
storage_class = STANDARD
upload_cutoff = 0
[bucket2]
type = s3
provider = AWS
env_auth = true
region = us-east-1
acl = private
server_side_encryption = aws:kms
sse_kms_key_id = secret
storage_class = STANDARD
upload_cutoff = 0
I'm trying to include the --network-mode flag but when I run the command after adding it nothing happens. Also for more background the commands are being run as cmd scripts. So when the script runs it flashes for a second then immediately closes. The command looks like the following
Call C:\rclone\rclone.exe mount bucket:bucket/ V: --network-mode --vfs-cache-mode full --ignore-checksum --no-modtime --dir-cache-time=1m
I've also tried it without every flag except for --network-mode and get the same result.