- 论坛徽章:
- 4
|
欧文:
[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或者更小应该能解决这个问题。 |
|