Messenger Queue: Too many open files

Hallo,

der messenger queue läuft nicht richtig. Ich erhalten beim Ausführen über die Console eine Meldung „Failed to open stream: Too many open files“

php.WARNING: Warning: include(/web/vendor/symfony/var-dumper/Dumper/CliDumper.php): Failed to open stream: Too many open files {"exception":"[object] (ErrorException(code: 0): Warning: include(/web/vendor/symfony/var-dumper/Dumper/CliDumper.php): Failed to open stream: Too many open files at /web/vendor/composer/ClassLoader.php:478)"} []
php.WARNING: Warning: include(): Failed opening '/web/vendor/composer/../symfony/var-dumper/Dumper/CliDumper.php' for inclusion (include_path='.:/opt/php-8.0/lib/php') {"exception":"[object] (ErrorException(code: 0): Warning: include(): Failed opening '/web/vendor/composer/../symfony/var-dumper/Dumper/CliDumper.php' for inclusion (include_path='.:/opt/php-8.0/lib/php') at /web/vendor/composer/ClassLoader.php:478)"} []
cache.WARNING: Failed to save key "{key}" of type string: fopen(/web/var/cache/xx/pools/app/xx/xx): Failed to open stream: Too many open files {"key":"routing-domains","exception":"[object] (ErrorException(code: 0): fopen(/web/var/cache/xx/pools/app/xx/xx): Failed to open stream: Too many open files at /web/vendor/symfony/cache/Traits/FilesystemCommonTrait.php:99)","cache-adapter":"Symfony\\Component\\Cache\\Adapter\\FilesystemAdapter"} []
cache.WARNING: Failed to save key "{key}" of type array: fopen(/web/var/cache/xx/pools/app/xx/xx): Failed to open stream: Too many open files {"key":"\u0000tags\u0000routing-domains","exception":"[object] (ErrorException(code: 0): fopen(/web/var/cache/xx/pools/app/xx/xx): Failed to open stream: Too many open files at /web/vendor/symfony/cache/Traits/FilesystemCommonTrait.php:99)","cache-adapter":"Symfony\\Component\\Cache\\Adapter\\FilesystemAdapter"} []
cache.WARNING: Failed to save key "{key}" of type int: fopen(/web/var/cache/xx/pools/app/xx/xx): Failed to open stream: Too many open files {"key":"path-info-xx\u0000tags\u0000","exception":"[object] (ErrorException(code: 0): fopen(/web/var/cache/xx/pools/app/xx/xx): Failed to open stream: Too many open files at /web/vendor/symfony/cache/Traits/FilesystemCommonTrait.php:99)","cache-adapter":"Symfony\\Component\\Cache\\Adapter\\FilesystemAdapter"} []
cache.WARNING: Failed to save key "{key}" of type string: fopen(/web/var/cache/xx/pools/app/xx/xx): Failed to open stream: Too many open files {"key":"seo-resolver-xx","exception":"[object] (ErrorException(code: 0): fopen(/web/var/cache/xx/pools/app/xx/xx): Failed to open stream: Too many open files at /web/vendor/symfony/cache/Traits/FilesystemCommonTrait.php:99)","cache-adapter":"Symfony\\Component\\Cache\\Adapter\\FilesystemAdapter"} []
cache.WARNING: Failed to save key "{key}" of type array: fopen(/web/var/cache/xx/pools/app/xx/xx): Failed to open stream: Too many open files {"key":"\u0000tags\u0000seo-resolver-xx","exception":"[object] (ErrorException(code: 0): fopen(/web/var/cache/xx/pools/app/xx/xx): Failed to open stream: Too many open files at /web/vendor/symfony/cache/Traits/FilesystemCommonTrait.php:99)","cache-adapter":"Symfony\\Component\\Cache\\Adapter\\FilesystemAdapter"} []
php.WARNING: Warning: file_get_contents(file:///web/config/jwt/public.pem): Failed to open stream: Too many open files {"exception":"[object] (ErrorException(code: 0): Warning: file_get_contents(file:///web/config/jwt/public.pem): Failed to open stream: Too many open files at /web/vendor/league/oauth2-server/src/CryptKey.php:61)"} []
cache.WARNING: Failed to save key "{key}" of type string: fopen(/web/var/cache/xx/pools/app/xx/xx): Failed to open stream: Too many open files {"key":"routing-domains","exception":"[object] (ErrorException(code: 0): fopen(/web/var/cache/xx/pools/app/xx/xx): Failed to open stream: Too many open files at /web/vendor/symfony/cache/Traits/FilesystemCommonTrait.php:99)","cache-adapter":"Symfony\\Component\\Cache\\Adapter\\FilesystemAdapter"} []
.
.
.
PHP Fatal error:  Uncaught Error: Class "Symfony\Component\ErrorHandler\ThrowableUtils" not found in /web/vendor/symfony/error-handler/ErrorHandler.php:563
Stack trace:
#0 [internal function]: Symfony\Component\ErrorHandler\ErrorHandler->handleException()
#1 {main}
  thrown in /web/vendor/symfony/error-handler/ErrorHandler.php on line 563
[2022-12-03T15:36:49.814652+00:00] php.WARNING: Warning: include(/web/vendor/symfony/error-handler/Error/FatalError.php): Failed to open stream: Too many open files {"exception":"[object] (ErrorException(code: 0): Warning: include(/web/vendor/symfony/error-handler/Error/FatalError.php): Failed to open stream: Too many open files at /web/vendor/composer/ClassLoader.php:478)"} []
[2022-12-03T15:36:49.814684+00:00] php.WARNING: Warning: include(): Failed opening '/web/vendor/composer/../symfony/error-handler/Error/FatalError.php' for inclusion (include_path='.:/opt/php-8.0/lib/php') {"exception":"[object] (ErrorException(code: 0): Warning: include(): Failed opening '/web/vendor/composer/../symfony/error-handler/Error/FatalError.php' for inclusion (include_path='.:/opt/php-8.0/lib/php') at /web/vendor/composer/ClassLoader.php:478)"} []
PHP Fatal error:  Uncaught Error: Class "Symfony\Component\ErrorHandler\Error\FatalError" not found in /web/vendor/symfony/error-handler/ErrorHandler.php:688
Stack trace:
#0 [internal function]: Symfony\Component\ErrorHandler\ErrorHandler::handleFatalError()
#1 {main}
  thrown in /web/vendor/symfony/error-handler/ErrorHandler.php on line 688

System 6.4.17.2
bei Timmehosting

Ich hab nichts gefunden was ich hier machen könnte.

Weiß jemand einen Rat?

Grüße

Patrick

Hast du mal versucht den Cache vorher zu leeren?

Ja, habe heute mal einiges gelöscht. Mehrere Datenbankeinträge und auch den Cache. Immer wieder komme ich zu dem Punkt an dem es nicht richtig läuft.

Hallo Patrick,
anhand der Meldung scheint das PHP Dateilimit überschritten zu werden. Google einmal nach diesem Teil der Meldung „Failed to open stream: Too many open files“.

Bei einigen Hostingpaketen gibt es ein Begrenzung der Dateianzahl oder des maximal nutzbaren Webspaces, ich weiß nicht wie das bei Timme ist.

Viele Grüße
Markus