Extremely slow loading combined with 'SessionHandler::read(): Unable to clear session lock record'
The problem I'm having is that (if a page loads) it takes ages.
After enabling debugging I see the following error returning:
[2] SessionHandler::read(): Unable to clear session lock record !

for now I have solved it by inserting the following code in the index.php of the admin of the site
ini_set('memcached.sess_lock_retries', 10);
ini_set('memcached.sess_lock_wait_min', 1000);
ini_set('memcached.sess_lock_wait_max', 2000);
but I would like to put it in the memcached configuration where do I find the configuration file?
Edit : I correct myself I thought I had solved it but after a while the error reappeared so any ideas on how to fix? it is a prestashop installation with php 7.4