s3fs fuse process hang cannot umount or kill the process

Posted on 2011-04-21
Medium Priority
Last Modified: 2014-11-12
I have installed S3FS and FUSE to mount a Amazon S3 bucket.
There were some problem on the rsync process.
sudo kill -9 [pid of rsync process] does not work.

umount the the mount point also hang the SSH session.

# sudo ps -ef |grep sagvm

root     21444 21422  0 19:08 pts/4    00:00:00 umount /sagvm3
root     21558 21518  0 19:09 pts/5    00:00:00 umount -f /sagvm3
root     22096 22004  0 20:03 pts/6    00:00:00 umount -l /sagvm3
root     22305 22249  0 20:14 pts/7    00:00:00 umount /sagvm4
root     22409 22380  0 20:17 pts/8    00:00:00 umount /sagvm4

sudo kill -9 21444 21558  22096 22305 22409 does not working either.
How do I clean up those processes?
Question by:sagpwu
LVL 31

Accepted Solution

farzanj earned 600 total points
ID: 35446713
I don't know about your situation but umount typically hangs when you are still using the resources and then try to issue umount.

But if that is not the case then issue this command

fuser -km /mount/point
LVL 38

Assisted Solution

wesly_chen earned 800 total points
ID: 35446969
In the case, simply reboot the system first.
Then work on the rsync process issue.
LVL 62

Assisted Solution

gheist earned 600 total points
ID: 35448364
I assume recent US EC2 outage contributed to your problem.
If device disappears from down under unix systems are very unsuccesful at adapting.
First you have to close all open files on the volume following lsof run (stop all apps)
Then umount it with -f option it may or may not work.
If you do not use filesystems intensively you may improve matters wit automounter which just unmounts when FS is idle (it was good for NFS at least)
Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

LVL 38

Assisted Solution

wesly_chen earned 800 total points
ID: 35448598
It reminds me the Amazon issue and the email I received.

Here is the link of Amazon status.

It seems the S3 has no impact. However, you might want to check with Amazon support for that.

Author Comment

ID: 35448636
I don't think that is AWS outage related.  The symptom happen before that.  
My main concern for now is that I can't clean up the process.  Maybe I just reboot it anyway.
Lost the connection will be a bigger concern down the road.
LVL 62

Assisted Solution

gheist earned 600 total points
ID: 35448679
In all news stands that many major sites lost connectivity to their backend storage. Dont expect better service.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Or at least that’s the word according to a new blog from Tech Target on AWS’s new Managed Services (MS) offering. According to the blog, AWS is launching their AWS MS program to expedite the adoption of cloud by Fortune 1000 and Global 2000 companie…
The decision to migrate to the cloud is not a simple one—many factors, such a cost, ease of use, and ongoing maintenance come into play. The goal is always for cloud platforms to make storage and backups more seamless and effective. Here’s a look at…
Steps to create a PostgreSQL RDS instance in the Amazon cloud. We will cover some of the default settings and show how to connect to the instance once it is up and running.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question