multiple redis instances on 1 server

soaringeagle
@soaringeagle
7 years ago
3,304 posts
i have tried dozens of tutorials, none have worked corectly
and every 1 of them gives completely diferent directions
so what is the proper way to get 2 instances of redis working on 1 server

so far created a second conf file for a new port
added new pid log port etc
tried to start it and got permission denied

i instruction said to run it as redis user/group but chown says redis invalid user

one said to link the 1 init file to the 'oother' wityh a symlink and use {$NAME} in place of the file names
that did not work

even on the redis site i can't find proper info



--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 01/20/18 07:54:18PM
brian
@brian
7 years ago
10,148 posts
I'm not sure how to setup multiple Redis instances on a single server - I've never done it before. I know I've read that it COULD be done, so you'll just have to try it and see if you can find one that works.

You really only need the Redis module for the biggest site on your server though - just don't use it on your other JR sites.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
7 years ago
3,304 posts
gotchya ill try that thnx


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
7 years ago
3,304 posts
well it is still giving me odd results in dashboard! it still always says only 3 users connected
and only 23 bots
same as when i was sharing the redis instance betweeen 2 sites (disabled module on small site)


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
7 years ago
10,148 posts
You'll need to give it some time for things to normalize - up to the session length (7200 seconds minimum).


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
7 years ago
3,304 posts
i'll try but its been that way for days ever since i enabled redis sessions ..


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
7 years ago
3,304 posts
its been over 3 hours and still the exact same
changed to default session handler and right away it finally went over 3



--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 10/21/17 01:10:49PM

Tags