i use magento 2.4.3-p1 and everything is works fine except when i flush cache i got the following:
EDIT: var/log, system.log, debug.log, cron.log everything fine!
Screenshot of cron task list:
Warning: file_put_contents(/home/customer/www/domain.hr/public_html/var/cache//mage-tags/mage---80c_MAGE): failed to open stream: Too many open files in /home/customer/www/domain.hr/public_html/vendor/colinmollenhour/cache-backend-file/File.php on line 691 Warning: include(/home/customer/www/domain.hr/public_html/vendor/magento/module-checkout/Api/GuestTotalsInformationManagementInterface.php): failed to open stream: Too many open files in /home/customer/www/domain.hr/public_html/vendor/composer/ClassLoader.php on line 444 Warning: file_put_contents(/home/customer/www/domain.hr/public_html/var/cache//mage-tags/mage---80c_REFLECTION): failed to open stream: Too many open files in /home/customer/www/domain.hr/public_html/vendor/colinmollenhour/cache-backend-file/File.php on line 691
INFO:
-Magento is upgraded from ver. 2.4.2 to 2.4.3-p1.
-If you need more information about the server, tell me and I will write to you.
Thanks in advance!
According to a thread on AMPHP GitHub issue page: https://github.com/amphp/parallel-functions/issues/22
On macOS, the ulimit is by default 1024.
In my case, upgrading that to ulimit -n 4096 as suggested, worked fine.
According to IBM docs: "ulimit sets or displays the resource limits on processes created by the user." More info.