Ich habe aktuell den selben Fehler (mit Shopware 5).
Siehe hier: https://forum.shopware.com/discussion/40524/500-internal-server-error-socket-failed-24-too-many-open-files-while-connecting-to-upstream#latest
Hat jemand eine Lösung?!