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

Fatal error in notification event processing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: 4.0.7, 4.1.4, 4.2.0, 4.3.0
    • Fix Version/s: None
    • Component/s: Cronjobs, Notifications
    • Labels:
      None

      Description

      When notification processing, launched with cronjob "frequent" has a large amount of items to process, it always fails with an exhausted memory fatal error since ALL entries are fetched in eznotificationevent table

      Here's the Xdebug back trace :

      Starting notification event processing
      PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 2 bytes) in /home/claforet/.workspace/Cartier Trunk/lib/ezdb/classes/ezmysqlidb.php on line 517
      PHP Stack trace:
      PHP   1. {main}() /home/claforet/.workspace/Cartier Trunk/runcronjobs.php:0
      PHP   2. eZRunCronjobs::runScript() /home/claforet/.workspace/Cartier Trunk/runcronjobs.php:350
      PHP   3. include() /home/claforet/.workspace/Cartier Trunk/kernel/classes/ezruncronjobs.php:74
      PHP   4. eZNotificationEventFilter::process() /home/claforet/.workspace/Cartier Trunk/cronjobs/notification.php:38
      PHP   5. eZNotificationEvent::fetchUnhandledList() /home/claforet/.workspace/Cartier Trunk/kernel/classes/notification/eznotificationeventfilter.php:52
      PHP   6. eZPersistentObject::fetchObjectList() /home/claforet/.workspace/Cartier Trunk/kernel/classes/notification/eznotificationevent.php:180
      PHP   7. eZMySQLiDB->arrayQuery() /home/claforet/.workspace/Cartier Trunk/kernel/classes/ezpersistentobject.php:877
      PHP   8. mysqli_fetch_array() /home/claforet/.workspace/Cartier Trunk/lib/ezdb/classes/ezmysqlidb.php:517
      
      Fatal error: eZ Publish did not finish its request
      The execution of eZ Publish was abruptly ended, the debug output is present below.
      

        Attachments

          Activity

            People

            Assignee:
            gg Gaetano Giunta
            Reporter:
            lolautruche Jérôme Vieilledent
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: