Fatal Error - Too many open files

前端 未结 8 1475
暖寄归人
暖寄归人 2020-12-08 02:22

I try to run PHPUnit Tests in my new machine and I get this error:

PHP Fatal error: Uncaught exception \'UnexpectedValueException\' with message \'Re

相关标签:
8条回答
  • 2020-12-08 03:23

    Maybe, you have some error with file /etc/init.d/phpx.x-fpm. Let’s restart it:

    sudo /etc/init.d/php7.2-fpm restart
    
    0 讨论(0)
  • 2020-12-08 03:24

    In php, before the execution, try this

    exec('ulimit -S -n 2048');
    
    0 讨论(0)
提交回复
热议问题