Comments (5)
阈值可以配置具体大小值,不一定非得配置百分比
from fastdfs.
阈值可以配置具体大小值,不一定非得配置百分比
这个问题应该和配置类型无关。
我配置阈值是1G的话,这时候剩余1.5G,但传一个2G的文件,不也是有问题?
from fastdfs.
1、配置项上传方式有多种模式,轮询、指定storage、剩余空间最大
2、使用上传模式为剩余空间最大时,是哪个空间大往哪传
which path (means disk or mount point) of the storage server to upload file
0: round robin
2: load balance, select the max free space path to upload file
store_path = 2
根据这个配置项,你问题1不存在了。
至于问题2 不同path容量不同,设置阈值是1G,肯定是一直往最大剩余空间传。假如剩余1.5G,你传2g的文件,肯定提示空间不足,这时候该考虑扩容了
from fastdfs.
1、配置项上传方式有多种模式,轮询、指定storage、剩余空间最大 2、使用上传模式为剩余空间最大时,是哪个空间大往哪传
which path (means disk or mount point) of the storage server to upload file
0: round robin
2: load balance, select the max free space path to upload file
store_path = 2 根据这个配置项,你问题1不存在了。 至于问题2 不同path容量不同,设置阈值是1G,肯定是一直往最大剩余空间传。假如剩余1.5G,你传2g的文件,肯定提示空间不足,这时候该考虑扩容了
但我们需要用轮询
from fastdfs.
用轮询模式,就一开始设计布局合理,比如path大小保持一致。
即使使用剩余空间最大模式,后续使用过程中跟轮询模式也差不多。这个会保障每个path逐渐均匀增加
from fastdfs.
Related Issues (20)
- 多个store_path的缩容问题 HOT 2
- PHP加载fastdfs扩展报错
- upload slave file fail, error no: 2
- file: storage_dio.c line: 711 modify file: xxxx fail 导致 fastdfs-java-client Socket Read Time out HOT 2
- fastdfs所有文件上传满了 HOT 1
- 6.0.7版本 内存居高不下,buffer/cache 占满不释放 HOT 1
- 请问新版本FASTDFS是否支持IPV6,谢谢。 HOT 2
- 添加 tracker 节点,逐次重启 storage 节点之后异常,导致无法上传小文件 HOT 2
- fastdfs V6.0.08 HOT 4
- libserverframe编译失败 HOT 2
- reserved_storage_space 在多storage_path的情况下是每一个storage_path单独计算吗? HOT 7
- 请教大佬!修改tracher.conf的22122端口和storage.conf的23000端口之后,3个节点集群启动会有报错 HOT 4
- PHP7.4.33的擴展編譯問題
- 上传文件报错:java.io.IOException: recv body length: 70 is not correct, expect length: 40 HOT 10
- storage启动是提示tracker内网IPv6(fe80开头)地址无效的参数Invalid argument HOT 4
- V5.11版本storage同步异常导致程序异常退出问题 HOT 6
- appender型文件是否不支持文件聚合 HOT 4
- FastDFS 上传文件上传成功后 用返回的地址去下载后发现并不是上传的文件 HOT 1
- Use of undefined constant FDFS_FILE_ID_SEPERATOR HOT 4
- 防盗链小需求 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastdfs.