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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...