Jef*_*eff 14 windows service redis
我已经遵循了我能找到的所有建议.
我在Windows 2008上运行redis上的当前版本我可以从命令行运行fin我可以安装服务但它不运行
我做... redis-server --service-install redis.windows.conf并将"redis成功安装为服务"
然后我尝试启动服务... redis-server --service-start redis.windows.conf --loglevel verbose并且让Redis服务无法启动
我已经确定安装了.net framework 4.5.2,我已经尝试关闭防火墙并在文件夹上玩安全性.
有人有主意吗?
(圣诞节快乐)
小智 15
从命令行而不是作为服务启动redis服务器,它将显示更有用的错误消息.如果您只是使用默认配置,则很可能是maxmemory/maxheap配置存在问题.
C:\redis>redis-server.exe redis.windows.conf
[1576] 04 Feb 10:32:54.172 #
The Windows version of Redis allocates a memory mapped heap for sharing with
the forked process used for persistence operations. In order to share this
memory, Windows allocates from the system paging file a portion equal to the
size of the Redis heap. At this time there is insufficient contiguous free
space available in the system paging file for this operation (Windows error
0x5AF). To work around this you may either increase the size of the system
paging file, or decrease the size of the Redis heap with the --maxheap flag.
Sometimes a reboot will defragment the system paging file sufficiently for
this operation to complete successfully.
Please see the documentation included with the binary distributions for more
details on the --maxheap flag.
Redis can not continue. Exiting.
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
10565 次 |
最近记录: |