免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2451 | 回复: 0
打印 上一主题 下一主题

[FastDFS] 欧文:反馈一个问题 [复制链接]

论坛徽章:
4
2015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:56:11IT运维版块每日发帖之星
日期:2016-08-11 06:20:00IT运维版块每日发帖之星
日期:2016-08-15 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-02-21 10:15 |只看该作者 |倒序浏览
欧文:
[root@localhost logs]# cat /depot/FastDFS/logs/trackerd.log
[2008-10-17 15:42:03] INFO - FastDFS v1.11, base_path=/depot/FastDFS, network_timeout=30, port=22122, bind_addr=, max_connections=1024, store_lookup=0, store_group=, store_server=1, reserved_storage_space=4096MB, allow_ip_count=-1
[2008-10-17 15:42:03] ERROR - file: ../common/shared_func.c, line: 1526, create thread failed, startup threads: 305, errno: 12, error info: Cannot allocate memory
[2008-10-17 15:44:36] INFO - FastDFS v1.11, base_path=/depot/FastDFS, network_timeout=30, port=22122, bind_addr=, max_connections=1024, store_lookup=0, store_group=, store_server=1, reserved_storage_space=4096MB, allow_ip_count=-1
[2008-10-17 15:44:37] ERROR - file: ../common/shared_func.c, line: 1526, create thread failed, startup threads: 303, errno: 12, error info: Cannot allocate memory
[2008-10-17 16:19:11] INFO - FastDFS v1.11, base_path=/depot/FastDFS, network_timeout=30, port=22122, bind_addr=, max_connections=1024, store_lookup=0, store_group=, store_server=1, reserved_storage_space=100MB, allow_ip_count=-1
[2008-10-17 16:19:12] ERROR - file: ../common/shared_func.c, line: 1526, create thread failed, startup threads: 304, errno: 12, error info: Cannot allocate memory
[root@localhost logs]#

装了后启动不了

happy_fish100:通过日志文件可以看出,是内存不足。将配置文件中的max_connections=1024改为max_connections=256或者更小应该能解决这个问题。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP