- 論壇徽章:
- 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:通過日志文件可以看出,是內(nèi)存不足。將配置文件中的max_connections=1024改為max_connections=256或者更小應(yīng)該能解決這個問題。 |
|