Magento 2.4 Bulk Updates Not Working Or Appearing In The Action Log

Could the Session size error be your issue?

Is your Magento store just not processing bulk updates to prices or attributes ? Your consumers are running and cron jobs seem to be running ok.

We came across this issue – and it took weeks to figure out. There are loads of articles about the bulk actions just stating “Not Started” but what if they don’t make it into the magento_bulk database table in the first place ?

bin/magento queue:consumers:start --max-messages=100 --batch-size=1000 product_action_attribute.update

If you run this command and check the system.log immediately after it completes, do you see

main.WARNING: Session size of 423550 exceeded allowed session max size of 256000. [] []
main.WARNING: Session size of 415799 exceeded allowed session max size of 256000. [] []
main.WARNING: Session size of 415712 exceeded allowed session max size of 256000. [] []
main.WARNING: Session size of 422080 exceeded allowed session max size of 256000. [] []
main.WARNING: Session size of 421833 exceeded allowed session max size of 256000. [] []
main.WARNING: Session size of 415799 exceeded allowed session max size of 256000. [] []
main.WARNING: Session size of 415712 exceeded allowed session max size of 256000. [] []
main.WARNING: Session size of 421833 exceeded allowed session max size of 256000. [] []
main.WARNING: Session size of 415712 exceeded allowed session max size of 256000. [] []
main.WARNING: Session size of 415799 exceeded allowed session max size of 256000. [] []
main.WARNING: Session size of 421833 exceeded allowed session max size of 256000. [] []
main.WARNING: Session size of 415712 exceeded allowed session max size of 256000. [] []
main.WARNING: Session size of 415799 exceeded allowed session max size of 256000. [] []
main.WARNING: Session size of 421833 exceeded allowed session max size of 256000. [] []
main.WARNING: Session size of 415799 exceeded allowed session max size of 256000. [] []
main.WARNING: Session size of 415712 exceeded allowed session max size of 256000. [] []

Here’s the fix

Seems the session size is being hit and just not completing the instruction.

In your terminal run the following commands to update your configuration.

bin/magento config:set system/security/max_session_size_admin 0 

bin/magento config:set system/security/max_session_size_storefront 0

Clear the cache , and try your bulk update again!

Voila !