Skip to content

Mountpoint crashes when using cache #1336

Open
@the-lay

Description

@the-lay

Mountpoint for Amazon S3 version

mount-s3 1.12.0

AWS Region

eu-central-1

Describe the running environment

Running inside Ubuntu docker image (with --privileged flag). The host is an EC2 (c6i.32xlarge) on Amazon Linux 2. AWS credentials are provided with the instance profile credentials. Connecting to an S3 bucket in the same account and same region. /dev/nvme0n1p is an EBS gp3 drive.

Mountpoint options

mount-s3 --debug --log-directory logs BUCKET /mountpoint --prefix PREFIX --cache /tmp/s3_cache/

What happened?

Mount point fails while supporting a read-heavy, highly parallel scientific application with MPIs and threading. It is quite random, but it crashes quickly, within the first minute, the applications fails after not being able to read the files anymore. Accessing any file manually fails with "Transport endpoint is not connected". When I try to unmount the mountpoint, it fails with "target is busy".

My first guess was OOM, but the memory usage does not go above 30% (c6i.32xlarge with 256GB RAM). I found that the crash seems to happen only when --cache is specified. The disk is an EBS drive with more than enough free space. Please suggest how I can debug it further.

Here is the sanitized log file with --debug: initial mounting and then the last 5 seconds.

mountpoint-s3-2025-03-31T15-28-33Z.XqRodv.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions