Server Error 500 --> session which are beeing locked / timedout?

Hello rtomas,

If there are many calls on a session, a deadlock error can appear. Disabling the session locking could lead to race conditions, so it is not suited to be a permanent solution.

  • Check for third party plugins which negatively affect your shop
  • Using a faster session handler, for example Redis: Shopware Session handling
  • Not recommended: Temporarily disabling the session locking (Danger: race conditions can appear): config.php settings

While adding content in the config.php, you have to ensure that the code added is valid, or the site will no longer be reachable. Example:

<?php
return [
    'db' => [
        'username' => 'yourUsername',
        'password' => 'yourPassword',
        'dbname' => 'yourDbname',
        'host' => 'yourHost',
        'port' => 'yourPort'
    ],

   'session' => [
        'locking' => false,
    ],
];

If you do not have a lot of traffic, the issue is most likely caused by a plugin which is causing too many calls on the session.

1 „Gefällt mir“