-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mountpoint wont start after a hard reboot, cache dir must be cleared manually #1251
Comments
Hi @eschernau-fmi, could you collect the logs for Mountpoint with the How are you manually removing the files in the cache directory? Is it taking long (e.g. longer than 30s)? Does the user have different permission than the |
Unfortunately I can't run the machine in debug mode, the logs are too massive and grow without end. Everything is running as root. On boot, I will get alerts from our system monitoring tool for mountpoint errors in syslog, so I manually log into the host and do: rm -rf /opt/mountpoint/cache/$bucket/* Which takes a short period of time, maybe 5-8 seconds. Then I can do a 'systemctl start $myservice' and it comes up. For reference, systemd service file is: [Unit] [Service] [Install] |
How many files are in the cache directory? From your
As an alternative, could you try and run |
Good idea, I hadn't thought of that. I'll make sure we run it in debug next time this happens. |
@eschernau-fmi, on second thought, depending on the size of the files, the cache could contain a lot more small blocks. Could you report how many are there in one of the cases where you have to manually clear the cache? |
Mountpoint for Amazon S3 version
mount-s3 1.13.0
AWS Region
No response
Describe the running environment
EC2 instance running Rocky Linux 8.10
Mountpoint options
What happened?
If an instance hangs, typically out-of-memory, and we must hard-boot it in the AWS UI, when it comes back up, mountpoint will frequently not come up until we manually remove all the files in the cache directory.
Relevant log output
The text was updated successfully, but these errors were encountered: