# Shop sporadisch offline / nicht erreichbar "Service Unavailable The server is temporarily unab.."

**URL:** <https://forum.shopware.com/t/shop-sporadisch-offline-nicht-erreichbar-service-unavailable-the-server-is-temporarily-unab/68502>\
**Category:** Allgemein\
**Created:** [21. Juli 2020 um 12:43 UTC](https://forum.shopware.com/t/shop-sporadisch-offline-nicht-erreichbar-service-unavailable-the-server-is-temporarily-unab/68502 "2020-07-21T12:43:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenman](https://avatars.discourse-cdn.com/v4/letter/k/439d5e/32.png) [@kenman](https://forum.shopware.com/u/kenman)\
**Post date:** [21. Juli 2020 um 12:43 UTC](https://forum.shopware.com/t/shop-sporadisch-offline-nicht-erreichbar-service-unavailable-the-server-is-temporarily-unab/68502/1 "2020-07-21T12:43:06Z")

</div>

Hallo Zusammen,

unsere Seite wird mehrmals am Tag und sporadisch offline. Nach 10-15 Minuten ist die Seite wieder erreichbar.

**Folgende Fehlermeldung:**

“Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.”

&nbsp;

**Im Log steht folgendes:**

[21-Jul-2020 13:51:21 Europe/Berlin] PHP Fatal error: Uncaught exception ‘PDOException’ with message ‘SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction’ in /home/xxxxx/engine/Shopware/Components/Session/PdoSessionHandler.php:560

Stack trace:

#0 /home/xxxxx/engine/Shopware/Components/Session/PdoSessionHandler.php(560): PDOStatement-\>execute()

#1 /home/xxxxx/engine/Shopware/Components/Session/PdoSessionHandler.php(291): Shopware\Components\Session\PdoSessionHandler-\>doRead(‘0dca816a082da9b…’)

#2 [internal function]: Shopware\Components\Session\PdoSessionHandler-\>read(‘0dca816a082da9b…’)

#3 /home/xxxxx/engine/Library/Zend/Session.php(481): session\_start()

#4 /home/xxxxx/engine/Shopware/Components/DependencyInjection/Bridge/Session.php(105): Zend\_Session::start(Array)

#5 /home/xxxxx/var/cache/production\_201806131541/proxies/ShopwareProductione6d515ff243541434cf822473f7740fdad12f6a2ProjectContainer.php(1265): Shop in /home/xxxxx/engine/Shopware/Components/Session/PdoSessionHandler.php on line 560

[21-Jul-2020 13:51:21 Europe/Berlin] PHP Fatal error: Uncaught exception ‘PDOException’ with message ‘SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction’ in /home/xxxxx/engine/Shopware/Components/Session/PdoSessionHandler.php:409

Stack trace:

#0 /home/xxxxx/engine/Shopware/Components/Session/PdoSessionHandler.php(409): PDOStatement-\>execute()

#1 [internal function]: Shopware\Components\Session\PdoSessionHandler-\>close()

#2 /home/xxxxx/engine/Library/Zend/Session.php(785): session\_destroy()

#3 /home/xxxxx/engine/Shopware/Plugins/Default/Core/System/Bootstrap.php(77): Zend\_Session::destroy(true, false)

#4 /home/xxxxx/engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware\_Plugins\_Core\_System\_Bootstrap-\>onDispatchLoopShutdown(Object(Enlight\_Controller\_EventArgs))

#5 /home/xxxxx/engine/Library/Enlight/Event/EventManager.php(220): Enlight\_Event\_Handler\_Plugin-\>execute(Object(Enlight\_Controller\_EventArgs))

#6 /ho in /home/xxxxx/engine/Shopware/Components/Session/PdoSessionHandler.php on line 409

&nbsp;

Habt ihr eine Idee, woran das liegen könnte?

---

<div class="post-metadata">

**Author:** ![SCOOPEX](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/scoopex/32/18328_2.png) [@SCOOPEX](https://forum.shopware.com/u/SCOOPEX)\
**Post date:** [21. Juli 2020 um 13:03 UTC](https://forum.shopware.com/t/shop-sporadisch-offline-nicht-erreichbar-service-unavailable-the-server-is-temporarily-unab/68502/2 "2020-07-21T13:03:38Z")

</div>

Hallo,

die Fehlermeldungen aus Deinem Log deuten auf ein Problem mit dem Session Locking hin.

Falls bei Deinem Hosting Redis verfügbar ist, kannst Du die Sessions in Redis auslagern. Alternativ kannst Du mal schauen, ob eine Deaktivierung des Session Lockings das Problem beseitigt:

[https://developers.shopware.com/sysadmins-guide/sessions/](https://developers.shopware.com/sysadmins-guide/sessions/)

Viele Grüße

---

<div class="post-metadata">

**Author:** ![kenman](https://avatars.discourse-cdn.com/v4/letter/k/439d5e/32.png) [@kenman](https://forum.shopware.com/u/kenman)\
**Post date:** [22. Juli 2020 um 13:18 UTC](https://forum.shopware.com/t/shop-sporadisch-offline-nicht-erreichbar-service-unavailable-the-server-is-temporarily-unab/68502/3 "2020-07-22T13:18:59Z")

</div>

@SCOOPEX

vielen Dank. Unser Hoster hat das gerade geändert. Ich beobachte das mal und gebe dann hier ein Feedback.&nbsp;
