Note for testing: 1. Add an group and turn on "Auto-add users" 2. Add hundreds users via CSV (attached file) 3. Change the minute of activity_process_queue in the table 'cron' to '*' 4. Change the minute of interaction_forum_new_post in the table 'interaction_cron' to '*'
The chunk size is set to '1000' (Activity::USERCHUNK_SIZE) You may change it to smaller value to see if it works ** Attachment added: "100users.csv" https://bugs.launchpad.net/mahara/+bug/778254/+attachment/3913703/+files/100users.csv -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/778254 Title: Split multiple user activity notifications into chunks Status in Mahara ePortfolio: In Progress Bug description: See bug #716812. When there are lots of users that need to be notified about a single activity, they need to be chunked and processed over several cron runs to avoid running out of memory. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/778254/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

