码迷,mamicode.com
首页 > 其他好文 > 详细

redis 服务启动不了 QForkMasterInit: system error caught. error code=0x000005af, message=VirtualAllocEx failed

时间:2015-10-08 16:13:09      阅读:4918      评论:0      收藏:0      [点我收藏+]

标签:

启动报错 

QForkMasterInit: system error caught. error code=0x000005af, message=VirtualAllocEx failed

 

 

主要原因是磁盘吃紧。
具体解决方法是:
 
1、redis的conf文件设置参数maxheap和maxmemory。
 
maxmemory 120MB 
maxheap 180MB
 
maxmemory和maxheap根据自己的电脑配置而定,通常情况下:
maxheap  = 1.5 * maxmemory

redis 服务启动不了 QForkMasterInit: system error caught. error code=0x000005af, message=VirtualAllocEx failed

标签:

原文地址:http://www.cnblogs.com/zhizhong/p/4861065.html

(1)
(1)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!