While using AMPHP libraries for thread working tasks, I suddenly got the Warning and Error:
PHP Warning: include(/.../vendor/amphp/process/lib/ProcessException.php): failed to open stream: Too many open files in /.../vendor/composer/ClassLoader.php on line 445
PHP Fatal error: Uncaught Error: Class 'Amp\Failure' not found
This was previously working fine, and started to get the issue recently.
Using:
- PHP 7.4.21 (cli)
- macOS
- "amphp/parallel-functions": "^1.0"