derrickchoi / s3fs

Automatically exported from code.google.com/p/s3fs
GNU General Public License v2.0
0 stars 0 forks source link

try to kill the hang rsync process and the mount point, but then all process goes to PPID=1 #182

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Detailed description of observed behavior:
umount /s3fs-mounted folder hang the terminal session 

What steps will reproduce the problem - please be very specific and
detailed. (if the developers cannot reproduce the issue, then it is
unlikely a fix will be found)?
Started with rsync session and it seems time out and go no where.
try to kill -9 that rsync [pid] and also umount the s3fs-mount point.
the umount hang the terminal session.  Also try to kill the terminal session. 
all PPID become to be 1.
How can I clean up all those processes? 

===================================================================
The following information is very important in order to help us to help
you.  Omission of the following details may delay your support request or
receive no attention at all.
===================================================================
Version of s3fs being used (s3fs --version):
Amazon Simple Storage Service File System 1.40

Version of fuse being used (pkg-config --modversion fuse):s

2.8.4

System information (uname -a):
Linux sftp 2.6.32-308-ec2 #16-Ubuntu SMP Thu Sep 16 14:28:38 UTC 2010 i686 
GNU/Linux

Distro (cat /etc/issue):
Ubuntu 10.04.1 LTS \n \l

s3fs command line used (if applicable):
sudo s3fs sagvm2 -o allow_other /sagvm2
sudo s3fs sagvm3 -o allow_other /sagvm3

/etc/fstab entry (if applicable):

s3fs syslog messages (grep s3fs /var/log/syslog):
Apr 21 12:21:20 localhost kernel: [12296340.414134] INFO: task s3fs:26091 
blocked for more than 120 seconds.
Apr 21 12:21:20 localhost kernel: [12296340.414148] s3fs          D e9e1fda0    
 0 26091      1 0x00000000
Apr 21 17:22:35 localhost s3fs: init $Rev: 312 $
Apr 21 19:22:17 localhost s3fs: ###HTTP response=500
Apr 21 19:22:21 localhost s3fs: ###retrying...
Apr 21 20:14:15 localhost s3fs: init $Rev: 312 $

Original issue reported on code.google.com by pingster...@gmail.com on 21 Apr 2011 at 9:35

GoogleCodeExporter commented 8 years ago
You got me. I have struggled with this as well in the past, but it has been a 
long time since I've seen a hang. (maybe not practical, but I've resorted to a 
reboot). Yes, I know that this is an unacceptable solution.

I also know that there hasn't been a tar.gz release in while, but you might try 
the latest SVN version.

Can you get the issue to repeat on demand?  ...or is it random?

Running s3fs in foreground mode (-f option) will provide more information. 
We'll need to know which underlying process is causing your problem to narrow 
it down.

The HTTP response of 500 indicates this:

InternalError   We encountered an internal error. Please try again. 500 Internal 
Server Error    Server

Back to the support request, I really don't know how to kill the wayward 
process.

Original comment by dmoore4...@gmail.com on 22 Apr 2011 at 6:30

GoogleCodeExporter commented 8 years ago
Did you figure out how to reliably kill the process?

Original comment by dmoore4...@gmail.com on 29 May 2011 at 10:11

GoogleCodeExporter commented 8 years ago
I'm unaware of any code change that can be made to make this better. My 
suspicion is that this has to do with the fuse module.

Original comment by dmoore4...@gmail.com on 22 Jun 2011 at 10:16