惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

L
LangChain Blog
B
Blog RSS Feed
阮一峰的网络日志
阮一峰的网络日志
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
H
Help Net Security
MyScale Blog
MyScale Blog
WordPress大学
WordPress大学
Microsoft Azure Blog
Microsoft Azure Blog
GbyAI
GbyAI
小众软件
小众软件
大猫的无限游戏
大猫的无限游戏
Martin Fowler
Martin Fowler
Vercel News
Vercel News
S
SegmentFault 最新的问题
M
MIT News - Artificial intelligence
Microsoft Security Blog
Microsoft Security Blog
G
Google Developers Blog
Last Week in AI
Last Week in AI
Hugging Face - Blog
Hugging Face - Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
Google DeepMind News
Google DeepMind News
Engineering at Meta
Engineering at Meta
云风的 BLOG
云风的 BLOG

博客园 - 金江

15019:Only the instance admin may alter the PermSize attribute sqlplus连接oracle语法 Timesten 日常管理命令合集 TT8509: PL/SQL execution terminated; PLSQL_TIMEOUT exceeded Permanent data region free space insufficient to allocate 64792 bytes of memory TimesTen启动停止命令 TimesTen客户端DSN配置 Unable to connect to data source (DSN: shangjihuiclient; Network Address: ; Port Number: 53397). Cannot connect to TimesTen Server. Verify that the TimesTen Server is running or verify that your TCP PORT is set correctly. [TimesTen]TT7001: User authentication failed Kibana修改Time日志格式 [原创]hibernate更新后jdbc读取不到数据问题 数百条线程为何频繁断开,回调函数为何迟迟没有结果 [原创]Dubbo配置(Spring4+Hiberante4+Druid) [原创]II7/IIS8屏蔽YisouSpider蜘蛛 360安全卫士qurl.f.360.cn分析 GPFS文件系统笔记 [原创]解决DataSet的GetXml()方法空列不返回问题 Redis新的存储模式diskstore 在多台服务器上简单实现Redis的数据主从复制
SaeweedFS操作
金江 · 2023-07-19 · via 博客园 - 金江

# mdir 存储元数据的数据目录 # port 监听端口 # peers 主节点ip:端口 # defaultReplication 备份策略 # ip 服务器ip # garbageThreshold 清空和回收空间的阈值 # maxCpu 最大cpu数量,0是所有 # pulseSeconds 心跳检测的时间间隔单位为秒 # ip.bind 绑定ip,不填默认用-ip # volumeSizeLimitMB volumes超载量,最大30G,即一个卷可以存多少数据,当然一个卷不代表一个磁盘,这点在下面的volume节点上再写 #启动master weed master -mdir=D:\weed\m1 -ip=192.168.1.75 -ip.bind=0.0.0.0 -defaultReplication=000 ./weed master -mdir=/weed/m1 -ip=192.168.1.13 nohup ./weed master -mdir=/mnt/weed/m1 -ip=192.168.1.13 > weed.log & #启动volume Server weed volume -dir=D:\weed\s1\data,D:\weed\s2\data -max=3,1 -mserver="192.168.1.75:9333" -port=9000 -index=leveldb -fileSizeLimitMB=6000 nohup ./weed volume -dir=/weed/s1,/weed/s2 -max=2,1 -mserver=192.168.1.13:9333 -port=9000 -index=leveldb -fileSizeLimitMB=4000 > weed.log & nohup ./weed volume -dir=/mnt/weed/s1,/mnt/weed/s2 -max=2,1 -mserver=192.168.1.13:9333 -port=9000 -index=leveldb -fileSizeLimitMB=4000 > weed.log & #fileSizeLimitMB 允许上传的最大文件大小,默认256MB,超过报file over the limited 268435456 bytes #API 获取一个fid:http://192.168.1.75:9333/dir/assign http://192.168.1.75:9333/dir/assign?collection=pictures 获取一个带有效期的fid:http://192.168.1.75:9333/dir/assign?ttl=1m 上传一个文件:http://192.168.1.75:9000/1,019f1dbef0 从主服务器上传一个文件:http://192.168.1.75:9333/submit 查看文件:http://192.168.1.75:9333/dir/lookup?volumeId=1 #从主服务器根据volume id查询volumeIP 删除一个文件:http://192.168.1.75:9333/1,019f1dbef0 强制垃圾回收:http://192.168.1.75:9333/vol/vacuum #删除文件后定时释放空间,调用后强制释放空间 volume server的状态:http://192.168.1.75:9000/status?pretty=y http://192.168.1.75:9333/admin/volume/delete?volume=3