Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
AlexJ Posted June 28, 2020 Posted June 28, 2020 I am getting below error ... wondering how can I configure it correctly using Redis Socket? Trying to block the ports and such so that it server only listens to localhost. Any thoughts?
AlexJ Posted June 28, 2020 Author Posted June 28, 2020 Is their anyway to fix Redi or IPS configuration? Every few hours, site complains cache not working. 21048:C 28 Jun 2020 07:28:41.430 * RDB: 1 MB of memory used by copy-on-write 17991:M 28 Jun 2020 07:28:41.462 * Background saving terminated with success 17991:M 28 Jun 2020 07:31:40.572 * 10000 changes in 60 seconds. Saving... 17991:M 28 Jun 2020 07:31:40.573 * Background saving started by pid 21144 21144:C 28 Jun 2020 07:31:40.676 * DB saved on disk 21144:C 28 Jun 2020 07:31:40.676 * RDB: 1 MB of memory used by copy-on-write 17991:M 28 Jun 2020 07:31:40.773 * Background saving terminated with success 17991:M 28 Jun 2020 07:36:41.081 * 10 changes in 300 seconds. Saving... 17991:M 28 Jun 2020 07:36:41.081 * Background saving started by pid 21288 21288:C 28 Jun 2020 07:36:41.156 * DB saved on disk 21288:C 28 Jun 2020 07:36:41.157 * RDB: 1 MB of memory used by copy-on-write 17991:M 28 Jun 2020 07:36:41.182 * Background saving terminated with success 17991:M 28 Jun 2020 07:41:42.060 * 10 changes in 300 seconds. Saving... 17991:M 28 Jun 2020 07:41:42.061 * Background saving started by pid 21506 21506:C 28 Jun 2020 07:41:42.128 * DB saved on disk 21506:C 28 Jun 2020 07:41:42.129 * RDB: 1 MB of memory used by copy-on-write 17991:M 28 Jun 2020 07:41:42.161 * Background saving terminated with success 17991:M 28 Jun 2020 07:45:53.407 * 10000 changes in 60 seconds. Saving... 17991:M 28 Jun 2020 07:45:53.407 * Background saving started by pid 21641 21641:C 28 Jun 2020 07:45:53.477 * DB saved on disk 21641:C 28 Jun 2020 07:45:53.478 * RDB: 1 MB of memory used by copy-on-write 17991:M 28 Jun 2020 07:45:53.507 * Background saving terminated with success 17991:M 28 Jun 2020 07:50:54.006 * 10 changes in 300 seconds. Saving... 17991:M 28 Jun 2020 07:50:54.006 * Background saving started by pid 21872 21872:C 28 Jun 2020 07:50:54.070 * DB saved on disk 21872:C 28 Jun 2020 07:50:54.071 * RDB: 1 MB of memory used by copy-on-write 17991:M 28 Jun 2020 07:50:54.106 * Background saving terminated with success 17991:M 28 Jun 2020 07:54:54.522 * 10000 changes in 60 seconds. Saving... 17991:M 28 Jun 2020 07:54:54.522 * Background saving started by pid 21984 21984:C 28 Jun 2020 07:54:54.595 * DB saved on disk 21984:C 28 Jun 2020 07:54:54.596 * RDB: 1 MB of memory used by copy-on-write 17991:M 28 Jun 2020 07:54:54.622 * Background saving terminated with success 17991:M 28 Jun 2020 07:57:47.016 * 10000 changes in 60 seconds. Saving... 17991:M 28 Jun 2020 07:57:47.016 * Background saving started by pid 22032 22032:C 28 Jun 2020 07:57:47.095 * DB saved on disk 22032:C 28 Jun 2020 07:57:47.096 * RDB: 1 MB of memory used by copy-on-write 17991:M 28 Jun 2020 07:57:47.116 * Background saving terminated with success 17991:M 28 Jun 2020 08:00:28.576 * 10000 changes in 60 seconds. Saving... 17991:M 28 Jun 2020 08:00:28.577 * Background saving started by pid 22145 22145:C 28 Jun 2020 08:00:28.661 * DB saved on disk 22145:C 28 Jun 2020 08:00:28.662 * RDB: 1 MB of memory used by copy-on-write 17991:M 28 Jun 2020 08:00:28.677 * Background saving terminated with success
b416 Posted June 28, 2020 Posted June 28, 2020 (edited) 18 hours ago, AlexJ said: I am getting below error ... wondering how can I configure it correctly using Redis Socket? Trying to block the ports and such so that it server only listens to localhost. Any thoughts? Here is my redis configuration, it works like a charm : Of course, you have to configure redis to listen on the socket instead of network port in /etc/redis/redis.conf : # Accept connections on the specified port, default is 6379 (IANA #815344). # If port 0 is specified Redis will not listen on a TCP socket. port 0 # Unix socket. # # Specify the path for the Unix socket that will be used to listen for # incoming connections. There is no default, so Redis will not listen # on a unix socket when not specified. # unixsocket /run/redis/redis-server.sock unixsocketperm 766 Edited June 28, 2020 by b416 Joey_M and AlexJ 1 1
AlexJ Posted June 29, 2020 Author Posted June 29, 2020 (edited) @b416 Thank you. I will give it a try. Is 30 mins cache for Guest good time? Isn't it too long? Also Q: Why mine always shows 1MB. I have increased the RAM usage to 2GB but somehow it still uses 1MB max. Any idea? Edited June 29, 2020 by AlexJ
b416 Posted June 29, 2020 Posted June 29, 2020 Something does not seem to work right then. Which version of redis are you using ? I am on 6.0.5 from this repository.
AlexJ Posted June 29, 2020 Author Posted June 29, 2020 I am using this version: redis-server --version Redis server v=5.0.3 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64 build=afa0decbb6de285f
Joey_M Posted August 15, 2020 Posted August 15, 2020 On 6/29/2020 at 3:38 AM, b416 said: Something does not seem to work right then. Which version of redis are you using ? I am on 6.0.5 from this repository. How do you get to this page shown in the screenshot? Thanks for sharing how to get Redis up and working with IPS. sobrenome 1
CoffeeCake Posted August 15, 2020 Posted August 15, 2020 ACP > Support > Redis (under System Information) > "View"
Recommended Posts