Redis on Windows

Source: Internet
Author: User
Tags redis version

Microsoft Open Tech Group has developed a Redis Win64 version on GitHub with the project address:Https://github.com/MSOpenTech/redis

you can find the zip package on the right side of the project homepage: https://github.com/MSOpenTech/redis/archive/2.8.zip

Download unzip, there is nothing to say, in the extracted bin directory under the following these files:

redis-benchmark.exe         #基准测试redis-check-aof.exe         # aofredis-check-dump.exe        # Dumpredis-cli.exe               # client Redis-server.exe            # server redis.windows.conf          # configuration file

refer to Redisservice.docx file, The startup script is as follows:

Redis-server  redis.windows.conf
D:\redis-2.8. ->redis-Server.exe redis.windows.conf[4692] -Nov A: -:05.995#The Windows version of Redis allocates a memory mapped heap forsharing withthe forked process used forPersistence operations. In order to share Thismemory, Windows allocates fromThe system paging file a portion equal to thesize of the Redis heap. at ThisTime there isinsufficient contiguous freespace availableinchThe System paging file for  Thisoperation (Windows error0X5AF). To work around Thiseither increase the size of the systempaging file, or decrease the size of the Redis heap with the--maxheap flag. Sometimes a reboot would defragment the system paging file sufficiently for Thisoperation to complete successfully. please see the documentation included with the binary distributions forMoredetails on the--maxheap flag. Redis can notContinue. Exiting.

As a hint, there is a problem with the Maxheap identity, open the profile redis.windows.conf, search for maxheap, and then directly specify the good content.

# maxheap <bytes>1024000000

Then start again, OK, success.

D:\redis-2.8. ->redis-Server.exe redis.windows.conf _._ _.-``__"'-._      _.-``    `. `_."'-._ Redis2.8. -(00000000/0) -bit.-`` .-```. ```\/    _.,_"'-._ (    '      ,       .-`  | `,    ) Running in stand alone mode|`-._`-...-` __...-.``-._|'` _.-'| Port:6379| `-._   `._    /     _.-'    | pid:2700`-._    `-._  `-./  _.-'    _.-'|`-._`-._    `-.__.-'    _.-'_.-'|| `-._`-._        _.-'_.-'| http//Redis.io`-._    `-._`-.__.-'_.-'_.-'|`-._`-._    `-.__.-'    _.-'_.-'|| `-._`-._        _.-'_.-'|  `-._    `-._`-.__.-'_.-'_.-'`-._    `-.__.-'    _.-'          `-._        _.-'`-.__.-'[2700] -Nov A: the:44.958# Server started, Redis version2.8. -[2700] -Nov A: the:44.958* DB Loaded fromDisk0.000seconds[2700] -Nov A: the:44.958* The server isNow-ready-to- accept connections on port6379

Redis on Windows

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.