Jump to content
  • 0

Redis closing instantly


Uebermorgen

Question

8 answers to this question

Recommended Posts

  • 0

redis1.conf :

 

bind 127.0.0.1
maxmemory 4gb
save 900 1
save 300 10
save 60 1000
requirepass Yourpass
port 6379

 

redis2.conf

 

bind 127.0.0.1
maxmemory 4gb
save 900 1
save 300 10
save 60 1000
requirepass Yourpass
port 6380

 

Then launch redis twice from a batchfile :

 

start-redis.cmd :

 

START redis-server.exe redis1.conf
START redis-server.exe redis2.conf

 

Also, make sure you have plenty of drive-space to accommodate 2 swapfiles, and plenty of memory . If you're on a rented server you might run out of mem FAST.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...