ARM服务器上安装FastDFS启动报错ERROR - file: tracker_service.c, line: 78, init_pthread_attr fail, program exit!
安装包和安装步骤同x86相同,但是启动tracker时需要修改thread_stack_size 参数,否则启动一直报错:[2019-07-09 10:16:09] ERROR - file: pthread_func.c, line: 121, call pthread_attr_setstacksize fail, errno: 22, error info: Invalid argument
·
安装包和安装步骤同x86相同,但是启动tracker时需要修改thread_stack_size 参数,否则启动一直报错:
[2019-07-09 10:16:09] ERROR - file: pthread_func.c, line: 121, call pthread_attr_setstacksize fail, errno: 22, error info: Invalid argument
[2019-07-09 10:16:09] ERROR - file: tracker_service.c, line: 78, init_pthread_attr fail, program exit!
[2019-07-09 10:16:09] CRIT - exit abnormally!
修改配置文件: vim /etc/fdfs/tracker.conf
thread_stack_size = 64KB 修改为 thread_stack_size = 128KB
128KB为最小值,但还有些服务器最小值不是128K,例如某些国产机192KB为最小值。
更多推荐
已为社区贡献1条内容
所有评论(0)