hyperf / hyperf/hyperf

[QUESTION] composer无限加载RetryHandle类 导致文件句柄被耗尽的问题

Open
#7,445 19 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
PHP
Stars
6.9k
Forks
1.3k
Avg merge
4h 21m
Merged PRs (30d)
4

Description

[ERROR] ErrorException: include(/home/ubuntu/www/lottery/api/vendor/hyperf/async-queue/src/Event/RetryHandle.php): Failed to open stream: Too many open files in /home/ubuntu/www/lottery/api/vendor/composer/ClassLoader.php:576
Stack trace:
#0 /home/ubuntu/www/lottery/api/vendor/composer/ClassLoader.php(576): Hyperf\ExceptionHandler\Listener\ErrorExceptionHandler::Hyperf\ExceptionHandler\Listener\{closure}()
#1 /home/ubuntu/www/lottery/api/vendor/composer/ClassLoader.php(576): include()
#2 /home/ubuntu/www/lottery/api/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}()
#3 /home/ubuntu/www/lottery/api/vendor/hyperf/async-queue/src/Driver/Driver.php(118): Composer\Autoload\ClassLoader->loadClass()
#4 /home/ubuntu/www/lottery/api/vendor/hyperf/coroutine/src/Concurrent.php(75): Hyperf\AsyncQueue\Driver\Driver->Hyperf\AsyncQueue\Driver\{closure}()
#5 /home/ubuntu/www/lottery/api/vendor/hyperf/coroutine/src/Coroutine.php(80): Hyperf\Coroutine\Concurrent->Hyperf\Coroutine\{closure}()
#6 [internal function]: Hyperf\Coroutine\Coroutine::Hyperf\Coroutine\{closure}()
#7 {main}

这是我遇到的问题 ,但是我删除vendor 重新 composer install 过后 就没有出现过了。这是为什么呢?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.