0

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: enter image description here

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_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

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.

3 Answers 3

0

You have to give proper permission and have to give the proper user to /var/cache folder.

Apache user means www-data don't have proper permission at that folder.

1
  • Can you help me a litle more. how to set permission? im trying but i got the same Commented Dec 20, 2021 at 11:03
0

Can you help me a litle more. how to set permission? im trying but i got the same

0

You can refer to this article to set the correct permissions for your project https://devdocs.magento.com/guides/v2.4/config-guide/prod/prod_file-sys-perms.html

Or another fix you can see is: https://stackoverflow.com/a/14749074

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.