[GH-ISSUE #1147] on mount process hangs, constant GET requests to bucket files #599

Closed
opened 2026-03-04 01:47:05 +03:00 by kerem · 0 comments
Owner

Originally created by @lxknvlk on GitHub (Sep 7, 2019).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1147

Additional Information

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.
Keep in mind that the commands we provide to retrieve information are oriented to GNU/Linux Distributions, so you could need to use others if you use s3fs on macOS or BSD

Version of s3fs being used (s3fs --version)

1.82

Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse)

2.9.7

Kernel information (uname -r)

4.15.0-1044-aws

GNU/Linux Distribution, if applicable (cat /etc/os-release)

NAME="Ubuntu"
VERSION="18.04.2 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.2 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

s3fs command line used, if applicable

sudo /usr/bin/s3fs s3bucketname /home/ubuntu/photobucket -o allow_other -o uid=1000 -o mp_umask=002 -o multireq_max=5 -o use_path_request_style -o url= -o passwd_file=/home/ubuntu/.passwd-s3fs -o dbglevel=info -f -o curldbg

/etc/fstab entry, if applicable

no entry in fstab

crontab -e entry:

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
@reboot sudo sh /home/ubuntu/automount.sh > /home/ubuntu/cronlog.txt 2>&1

The bucket is mounted with a mount script that is called with crontab @reboot option.
When mounting with shell command, or just manually calling the script, all works ok. But when mounting happens from the crontab script call, this problem occurs. With debug logs i see constant GET requests to the files in the mounted bucket. And the s3fs process is constantly doing something when i check in "$ top", using cpu all the time without end. And the files in the bucket are not accessible when this is going on.

Same also happens when i do it via fstab. Here is the fstab command i use

/usr/bin/s3fs#s3bucketname /home/ubuntu/photobucket fuse _netdev,allow_other,use_path_request_style,url=,passwd_file=/home/ubuntu/.passwd-s3fs 0 0

Originally created by @lxknvlk on GitHub (Sep 7, 2019). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1147 ### Additional Information _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._ _Keep in mind that the commands we provide to retrieve information are oriented to GNU/Linux Distributions, so you could need to use others if you use s3fs on macOS or BSD_ #### Version of s3fs being used (s3fs --version) 1.82 #### Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse) 2.9.7 #### Kernel information (uname -r) 4.15.0-1044-aws #### GNU/Linux Distribution, if applicable (cat /etc/os-release) NAME="Ubuntu" VERSION="18.04.2 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.2 LTS" VERSION_ID="18.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic #### s3fs command line used, if applicable sudo /usr/bin/s3fs s3bucketname /home/ubuntu/photobucket -o allow_other -o uid=1000 -o mp_umask=002 -o multireq_max=5 -o use_path_request_style -o url=<url> -o passwd_file=/home/ubuntu/.passwd-s3fs -o dbglevel=info -f -o curldbg #### /etc/fstab entry, if applicable no entry in fstab #### crontab -e entry: PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin @reboot sudo sh /home/ubuntu/automount.sh > /home/ubuntu/cronlog.txt 2>&1 The bucket is mounted with a mount script that is called with crontab @reboot option. When mounting with shell command, or just manually calling the script, all works ok. But when mounting happens from the crontab script call, this problem occurs. With debug logs i see constant GET requests to the files in the mounted bucket. And the s3fs process is constantly doing something when i check in "$ top", using cpu all the time without end. And the files in the bucket are not accessible when this is going on. Same also happens when i do it via fstab. Here is the fstab command i use /usr/bin/s3fs#s3bucketname /home/ubuntu/photobucket fuse _netdev,allow_other,use_path_request_style,url=<url>,passwd_file=/home/ubuntu/.passwd-s3fs 0 0
kerem closed this issue 2026-03-04 01:47:05 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#599
No description provided.