欧文:反馈一个问题
欧文:
[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或者更小应该能解决这个问题。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论