Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-17325

general digest notification runs out of memory

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • None
    • 4.2.0, 4.3.0, 4.4.0beta3
    • Cronjobs, Notifications
    • None
    • Operating System:
      Tested with eZ 4.2, 4.3

    Description

      if nearly 10000 persons are notificated of a node (has an entry in eznotificationcollection_item für the same notifications event and a mail has to be send to all of them while handling the ezcurrenttimestamp event), it happens that 1.5 GB memerory limit in php.ini is not enough.

      The solution seems to be simple. Do not collect eZNotificationCollectionItem IDs and remevo them after sending all mails. Remove them after every mail.

      a patch is attached, please proof it and adopt it in Versions it has to.

      Steps to reproduce
      • Set subtree notification for 10000 user dor one node.
      • publish an object under this node
      • run notification cronjobs,
      • run notification cronjobs, when senddate is over
      • watch the raising memory usage

      Attachments

        Activity

          People

            e8318ba6-e4ae-477c-9116-36c073bd11a3@accounts.ibexa.co Patrick Allaert
            dn dn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: