I recently changed from mpm_prefork to mpm_events together with php_fpm to enable http/2 and increace the page speed. For that I also set up redis and APCu
(here the config for that)
‘memcache.local’ => ‘\OC\Memcache\APCu’,
‘memcache.distributed’ => ‘\OC\Memcache\Redis’,
‘memcache.locking’ => ‘\OC\Memcache\Redis’,
‘redis’ =>
array (
‘host’ => ‘/var/run/redis/redis.sock’,
‘port’ => 0,
‘dbindex’ => 0,
),
and restarted the server. So far so good; everything was working.
Then, however, I changed the session handler in the php.ini from file to redi with following:
session.save_handler = “unix:///var/run/redis/redis.sock”
After this however strange errors keep poping up (cannot create session), so I disabled this again and used files again. This let me to errors that routes could not be found. I first thought this was an app error and disableda few however this just changed the router that could not be found to another app. I therefor concluded that redis might be broken (because of redis php sessions) and disabled it in the config.php:
‘memcache.local’ => ‘\OC\Memcache\APCu’,
/* ‘memcache.distributed’ => ‘\OC\Memcache\Redis’,
‘memcache.locking’ => ‘\OC\Memcache\Redis’,
‘redis’ =>
array (
‘host’ => ‘/var/run/redis/redis.sock’,
‘port’ => 0,
‘dbindex’ => 0,
),*/
with no results. What could be the underlying error
here the twotypes of the errormessages I got:
error.txt