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!
Hello @raul_baricevic
The is the folder permission issue. please give the proper permission to your Magento system.
If my answer is helpful full then please set the accept solution flag and kudos flag so other members can take the same reference.
These are my permission
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
find ./var -type d -exec chmod 777 {} \;
find ./pub/media -type d -exec chmod 777 {} \;
find ./pub/static -type d -exec chmod 777 {} \;
I think this is ok ??
sudo chmod -R 777 var generated pub/static