s3fs fuse process hang cannot umount or kill the process

Posted on 2011-04-21
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

    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

    In the case, simply reboot the system first.
    Then work on the rsync process issue.
    LVL 61

    Assisted Solution

    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)
    LVL 38

    Assisted Solution

    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

    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 61

    Assisted Solution

    In all news stands that many major sites lost connectivity to their backend storage. Dont expect better service.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Suggested Solutions

    This article provides a guide on how to optimise your costs within your AWS infrastructure when using some of the common services such as EC2, EBS, S3, Glacier, CloudFront, EIP & ELB.
    Review of Cloudberry Explorer Pro - Linked with Amazon Web Services (AWS) S3 Being a Cloud technology fan and in particular services that are provided by AWS, I was interested to find a growing number of vendors writing software and applications …
    This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
    This video is a brief demonstration on how to use security groups and Network Access Control Lists (ACLs) in Amazon Web Services.  Security groups and Network ACLs are mechanisms you can use in AWS to control network traffic.

    759 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

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now