Hello,
Redis is giving me problems I have looked all over the internet and tried many solutions but it still does not work for me.
- Centos 7
- Cyberpanel + Openlitespeed
- 48 GB Ram
- 12 Core Xeon Processor
1 x Wordpress site on php 7.4, CPU & Ram was hitting the roof, fan doing overdrive! Restarting php would resolve issue for a few minutes until it reoccurred.
Switching to php 7.3 seems to have solved the issue but site has worked perfectly fine on 7.4 until now, so what could be the issue here?
Anyway I removed Redis deamon from Cyberpanel 1 click installer to see if the issue still occurred as I suspected database and php, issue remained.
I tried to reinstall Redis daemon from Cyberpanel 1 click installer and it seems to install without any error but it will not activate or connect.
[root@mail ~]# systemctl status redis-server
Unit redis-server.service could not be found.
[root@mail ~]# sudo systemctl status redis
● redis.service - Redis persistent key-value database
Loaded: loaded (/usr/lib/systemd/system/redis.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/redis.service.d
└─limit.conf
Active: failed (Result: exit-code) since Thu 2021-05-06 18:41:52 BST; 15h ago
Main PID: 269227 (code=exited, status=1/FAILURE)
May 06 18:41:52 mail.mydomain.com systemd[1]: Starting Redis persistent key-value database…
May 06 18:41:52 mail.mydomain.com systemd[1]: Started Redis persistent key-value database.
May 06 18:41:52 mail.mydomain.com systemd[1]: redis.service: main process exited, code=exited, status=1/FAILURE
May 06 18:41:52 mail.mydomain.com systemd[1]: Unit redis.service entered failed state.
May 06 18:41:52 mail.mydomain.com systemd[1]: redis.service failed.
Also
[root@mail ~]# journalctl -u redis
– Logs begin at Thu 2021-05-06 16:03:45 BST, end at Fri 2021-05-07 09:57:11 BST. –
May 06 15:03:57 mail.mydomain.com systemd[1]: Starting Redis persistent key-value database…
May 06 15:03:57 mail.mydomain.com systemd[1]: Started Redis persistent key-value database.
May 06 15:03:57 mail.mydomain.com systemd[1]: redis.service: main process exited, code=exited, status=1/FAILURE
May 06 15:03:57 mail.mydomain.com systemd[1]: Unit redis.service entered failed state.
May 06 15:03:57 mail.mydomain.com systemd[1]: redis.service failed.