-
Step 1 (ulimit): open the sysctl.conf and add this line fs.file-max = 65536
vi /etc/sysctl.conf
add following at end of file in above file:
fs.file-max = 65536
save and exit.
#!/bin/sh | |
echo "mount" | |
echo "s3fs [bucketname] [directory] -ouse_cache=/tmp -o allow_other" | |
echo "unmount" | |
echo "fusermount -u [directory]" | |
#echo "pkill -9 -f s3fs" |