If you open the front end with multiple tabs in the browser, the following error is output:.
Exception #0 (Exception): Warning: session_start(): Failed to read session data: user (path: /var/opt/remi/php71/lib/php/session) in /var/www/html/primary/vendor/magento/framework/Session/SessionManager.php on line 189
The www.conf file specifies the location of the session as follows:.
php_value[session.save_path] = /var/opt/remi/php71/lib/php/session
The permissions for saving sessions are set as follows:.
total 0
drwxr-xr-x 5 www-data www-data 53 May 14 20:17 .
drwxr-xr-x 7 root root 71 May 14 20:06 ..
drwxrwx--- 2 www-data www-data 6 May 1 18:33 opcache
drwxrwx--- 2 www-data www-data 6 May 1 18:33 session
drwxrwx--- 2 www-data www-data 6 May 1 18:33 wsdlcache
The configuration problem is complete, but an exception message is printed. Please tell me how to fix it.
Additional information. I also set up Redis. The settings are as follows:.
'session' => [
'save' => 'redis',
'redis' => [
'host' => '127.0.0.1',
'port' => '6381',
'password' => '',
'timeout' => '2.5',
'persistent_identifier' => '',
'database' => '2',
'compression_threshold' => '2048',
'compression_library' => 'gzip',
'log_level' => '3',
'max_concurrency' => '6',
'break_after_frontend' => '5',
'break_after_adminhtml' => '30',
'first_lifetime' => '600',
'bot_first_lifetime' => '60',
'bot_lifetime' => '7200',
'disable_locking' => '0',
'min_lifetime' => '60',
'max_lifetime' => '2592000'
]
],