# s3 s3fs 'ls' hangs on EU-Irish buckets

**URL:** <https://community.wowza.com/t/s3-s3fs-ls-hangs-on-eu-irish-buckets/599>\
**Category:** Wowza Streaming Engine\
**Created:** [November 12, 2010, 10:04pm UTC](https://community.wowza.com/t/s3-s3fs-ls-hangs-on-eu-irish-buckets/599 "2010-11-12T22:04:44Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [November 12, 2010, 10:04pm UTC](https://community.wowza.com/t/s3-s3fs-ls-hangs-on-eu-irish-buckets/599/1 "2010-11-12T22:04:44Z")

</div>

Hi All,

This is really an EC2 sys admin question, but I figured I’d ask here with no luck at AWS.

I have wowza ec2 instances in different regions and s3 buckets in different regions mounted via s3fs as documented. But when i ‘ls /mnt/my-eu-ireland-bucket’ it just hangs the whole ssh session. All other regional buckets act fine. I tried new instances, new buckets, no luck.

Also, when I mount the bucket from outside AWS (local server in Switzerland) access to the UE bucket works fine. so it is not a key problem or configuration or ?? i don’t know. It is just from EC2 to S3 Ireland over fuse/s3fs that fails.

Are there any ideas or any logs/debug stuff i can look at 'cause i’m completely stumped now

Thanks

Henry

---

<div class="post-metadata">

**Author:** ![teddy\_wellwood](https://avatars.discourse-cdn.com/v4/letter/t/a9a28c/32.png) [@teddy\_wellwood](https://community.wowza.com/u/teddy_wellwood)\
**Post date:** [November 13, 2010, 2:33pm UTC](https://community.wowza.com/t/s3-s3fs-ls-hangs-on-eu-irish-buckets/599/2 "2010-11-13T14:33:53Z")

</div>

can somebody please do a test to confirm if I am Krazy or not.

-From AWS Dashboard or CLI make a bucket in region EU Ireland, my-eu-bucket

-Login to a Wowza EC2 server

ssh -i /home/EC2.pem [ec2-xx-xx-xxx-xxx.eu-west-1.compute.amazonaws.com](http://ec2-xx-xx-xxx-xxx.eu-west-1.compute.amazonaws.com)

-make new mount point

mkdir /mnt/s3-eu

-mount new EU bucket

/usr/bin/s3fs my-eu-bucket -o accessKeyId=xxxxxx -o secretAccessKey=xxxxxxx /mnt/s3-eu

list contents

ls -la /mnt/s3-eu

Hang…

but mount a us or Singapore bucket and it functions perfect.

Thanks

Henry

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [November 15, 2010, 4:31am UTC](https://community.wowza.com/t/s3-s3fs-ls-hangs-on-eu-irish-buckets/599/3 "2010-11-15T04:31:05Z")

</div>

We are close to a new release. I will be sure to grab the most recent s3fs code when I do. It will most likely be sometime this week.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [July 5, 2011, 5:02am UTC](https://community.wowza.com/t/s3-s3fs-ls-hangs-on-eu-irish-buckets/599/4 "2011-07-05T05:02:31Z")

</div>

The latest AMI is running version s3fs-1.40.tar.gz.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [July 8, 2011, 12:59pm UTC](https://community.wowza.com/t/s3-s3fs-ls-hangs-on-eu-irish-buckets/599/5 "2011-07-08T12:59:33Z")

</div>

We will investigate upgrading to this newer version of FUSE in the next release of our AMIs.

Charlie

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 13, 2010, 10:39pm UTC](https://community.wowza.com/t/s3-s3fs-ls-hangs-on-eu-irish-buckets/599/6 "2010-11-13T22:39:11Z")

</div>

Henry,

It is probably still not supported, it’s an issue with S3FS. There is a S3FS patch that fixes this, but last I heard it was not integrated. More info in this thread and link to the S3FS patch.

> [@S3FS Fuse-based file system](http://community.wowza.com/t/-/235):
>
> [https://www.wowza.com/docs/how-to-use-the-fuse-based-file-system-backed-by-amazon-s3](https://www.wowza.com/docs/how-to-use-the-fuse-based-file-system-backed-by-amazon-s3)

Richard

---

<div class="post-metadata">

**Author:** ![teddy\_wellwood](https://avatars.discourse-cdn.com/v4/letter/t/a9a28c/32.png) [@teddy\_wellwood](https://community.wowza.com/u/teddy_wellwood)\
**Post date:** [November 15, 2010, 10:28am UTC](https://community.wowza.com/t/s3-s3fs-ls-hangs-on-eu-irish-buckets/599/7 "2010-11-15T10:28:28Z")

</div>

Thanks for the reply Richard.

Sorry I didn’t find that thread earlier.

It makes perfect sense. and the reason it works from my server outside AWS is because I compiled and installed the latest s3fs binary which includes the patch.

Since the Wowza AMI does not include a compiler we can not install the patch. Is it possible you compile the latest s3fs binary on your AMI source for us to download, or even better, could you update the AMI.

latest fuse [http://sourceforge.net/projects/fuse/files/fuse-2.X/](http://sourceforge.net/projects/fuse/files/fuse-2.X/)

latest s3fs [http://code.google.com/p/s3fs/downloads/list](http://code.google.com/p/s3fs/downloads/list)

Thanks

Henry

---

<div class="post-metadata">

**Author:** ![teddy\_wellwood](https://avatars.discourse-cdn.com/v4/letter/t/a9a28c/32.png) [@teddy\_wellwood](https://community.wowza.com/u/teddy_wellwood)\
**Post date:** [November 16, 2010, 11:21am UTC](https://community.wowza.com/t/s3-s3fs-ls-hangs-on-eu-irish-buckets/599/8 "2010-11-16T11:21:23Z")

</div>

Thanks Charlie!

---

<div class="post-metadata">

**Author:** ![Huzan\_Toorkey](https://avatars.discourse-cdn.com/v4/letter/h/c68b51/32.png) [@Huzan\_Toorkey](https://community.wowza.com/u/Huzan_Toorkey)\
**Post date:** [July 5, 2011, 4:38pm UTC](https://community.wowza.com/t/s3-s3fs-ls-hangs-on-eu-irish-buckets/599/9 "2011-07-05T16:38:28Z")

</div>

Hi,

We’ve created an EU(west) bucket on AWS and we have used the April 25, 2011 Wowza AMI (ami id: ami-3bab9c4f).

However, when we try to use the s3fs application to mount the bucket, we are facing the above issue. Do the latest AMIs have the updated patch or do we have to install it ourselves?

Thanks.

---

<div class="post-metadata">

**Author:** ![Karuna\_Pai](https://avatars.discourse-cdn.com/v4/letter/k/8dc957/32.png) [@Karuna\_Pai](https://community.wowza.com/u/Karuna_Pai)\
**Post date:** [July 7, 2011, 10:40am UTC](https://community.wowza.com/t/s3-s3fs-ls-hangs-on-eu-irish-buckets/599/10 "2011-07-07T10:40:46Z")

</div>

Hi Charlie,

I figured out the issue. s3fs 1.4 needs fuse version 2.8.4 or greater.

The fuse version on the AMI is 2.7.x, which was giving us the problem.

On upgrading the fuse version and re-compiling s3fs-1.40.tar.gz, the issue got fixed. 🙂

Thanks,

Karuna.
