jcbkwm / s3fs

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

'Transport endpoint is not connected' every couple of days #426

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I am running several Drupal servers on Apache that use an S3 bucket as their 
shared back-end. Every couple of days, one of the servers will lose their 
connection to the S3 bucket with the resulting 'Transport endpoint is not 
connected'' message when trying to ls the mounted bucket. My current solution 
is:

sudo apachectl stop
sudo umount /var/www/html/files
sudo s3fs mybucket -o use_cache=/tmp -o allow_other,uid=48,gid=48 /var/www/files
sudo apachectl start

I haven't found anything in a log that points me in the right direction as to 
why the bucket is losing it's connection. Any help is appreciated - I'm just 
not sure where to start troubleshooting this.

Thanks in advance!

===================================================================
Version of s3fs being used (s3fs --version):

1.73

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

2.9.3

System information (uname -a):

Linux ip-10-194-149-172 3.10.37-47.135.amzn1.x86_64 #1 SMP Fri Apr 18 03:28:26 
UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Distro (cat /etc/issue):

Amazon Linux AMI release 2014.03
Kernel \r on an \m

s3fs command line used (if applicable): sudo s3fs mybucket -o use_cache=/tmp -o 
allow_other,uid=48,gid=48 /var/www/files

/etc/fstab entry (if applicable):

s3fs#mybucket /var/www/files    fuse    
defaults,noatime,allow_other,uid=48,gid=48,use_cache=/tmp,default_acl=public-rea
d 0 0

s3fs syslog messages (grep s3fs /var/log/syslog):

Original issue reported on code.google.com by cam...@cmarcera.org on 21 May 2014 at 5:50

GoogleCodeExporter commented 8 years ago
Hi,

There is latest s3fs version 1.77  on 
Github(https://github.com/s3fs-fuse/s3fs-fuse).
Please try to use it, and if you have the problem yet, please run s3fs with 
"-d"(if possible with "-f") and check log file.

Thanks in advance for your help.

Original comment by ggta...@gmail.com on 25 May 2014 at 4:27

GoogleCodeExporter commented 8 years ago
Thanks - didn't realize this moved to Github. Updated to 1.77. Will report back 
in a week!

Original comment by webmas...@pressenterprise.net on 30 May 2014 at 7:52

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I've updated my servers to v1.77. Unfortunately the issue still persists. Is 
there a log I can start with or a debug mode I can enable?

Original comment by cam...@cmarcera.org on 5 Jun 2014 at 6:00

GoogleCodeExporter commented 8 years ago
Im also having the same issue. Multiple times a day.

S3FS Version 1.74
FUSE Version 2.9.3

Moodle 2.6 Application Server

Any ideas? I'll try to update to 1.77 to see if this fixes.

Original comment by acousin...@gmail.com on 6 Jun 2014 at 10:56

GoogleCodeExporter commented 8 years ago
Hi,

Please use latest version.

For debgging, you can run s3fs with "-f -d" option, which means running 
foregrund and putting debug message on console.
If you get a error, maybe something information is put on console.

And If you can, please try to run s3fs with "multireq_max" option.
So the s3fs send requests as parallel, this option is count for parallel and 20 
as default.
If you can, please set multireq_max is small number(ex, 3-5 --> 
"multireq_max=5").
I hope it decreases this error.

Thanks in advance for your help.

Original comment by ggta...@gmail.com on 8 Jun 2014 at 2:19