Hello Team,
My name is Harman and I’m Frontend dev of http://www.qualenergia.it.
The platform is developed on WordPress CMS and the infrastructure is made by Docker Containers for Database, WordPress, Redis and other configs.
In my debug log I’m seeing this error “[15-Dec-2023 09:30:00 UTC] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 4161536 bytes) in /var/www/html/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 148”. this error comes in debug log every minute.
The config of redis container is:
maxmemory 1024mb
maxmemory-policy allkeys-lru
But the debug line is saying 1073,74 mb, I don’t understand which object is trying to allocate inside Redis memory.
Is there any command to debug redis object that’s trying to allocate inside?
Let me know ASAP, this is urgent because sometimes the website crash automatically.