用于需要定時(shí)去其他網(wǎng)站定時(shí)拉取base64的文件進(jìn)行存儲(chǔ)數(shù)據(jù)庫(kù);因此使用了定時(shí)器;但是運(yùn)行一段時(shí)間就會(huì)報(bào)錯(cuò);報(bào)錯(cuò)信息如下:
PHP Warning: include(/www/wwwroot/store.pgenedx.com/vendor/topthink/framework/src/think/exception/ErrorException.php): failed to open stream: Too many open files in /www/wwwroot/store.pgenedx.com/vendor/composer/ClassLoader.php on line 478
PHP Warning: include(): Failed opening '/www/wwwroot/store.pgenedx.com/vendor/composer/../topthink/framework/src/think/exception/ErrorException.php' for inclusion (include_path='.:') in /www/wwwroot/store.pgenedx.com/vendor/composer/ClassLoader.php on line 478
使用了fclose,unset等函數(shù)