My notification knowledge

Author Message

Marcin Drozd

Saturday 10 May 2008 6:24:50 am

Hi
What I remarked (by steps):
- install eZ 4.0.0 (with disabled cron)
- add some content (and my <i>eznotificationevent</i> table has over 1500 items and no notifications for users)
- enabled cron and:

Running cronjob part 'frequent'
Running cronjobs/notification.php
Starting notification event processing
PHP Fatal error:  Allowed memory size of 201326592 bytes exhausted 
(tried to allocate 491520 bytes) in 
/var/ezflow_site/cache/template/compiled/plain-685553fa6acb55b27e245f5912e0f690.php

<wow> <b>201 326 592</b> bytes
- delete items from <i>eznotificationevent</i> (btw: not all, but 99%)
- run runcronjobs.php again and it works

And, > 200 MB when I do not have any notification rules, items, etc, hmm.

http://ez-publish.pl

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 15:51:19
Script start
Timing: Jan 18 2025 15:51:19
Module start 'layout'
Timing: Jan 18 2025 15:51:19
Module start 'content'
Timing: Jan 18 2025 15:51:20
Module end 'content'
Timing: Jan 18 2025 15:51:20
Script end

Main resources:

Total runtime0.5956 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.0156152.6250
Module start 'layout' 0.00570.0047 740.640639.4453
Module start 'content' 0.01040.5839 780.0859430.2109
Module end 'content' 0.59420.0013 1,210.29698.1641
Script end 0.5955  1,218.4609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4992160.0002
Check MTime0.00130.2117160.0001
Mysql Total
Database connection0.00070.124910.0007
Mysqli_queries0.559994.0073460.0122
Looping result0.00040.0703440.0000
Template Total0.561994.320.2809
Template load0.00180.297020.0009
Template processing0.560194.042220.2800
Template load and register function0.00010.019510.0001
states
state_id_array0.00140.238110.0014
state_identifier_array0.00070.116220.0003
Override
Cache load0.00140.2425130.0001
Sytem overhead
Fetch class attribute can translate value0.00060.095510.0006
Fetch class attribute name0.00040.075510.0004
XML
Image XML parsing0.00010.017810.0001
class_abstraction
Instantiating content class attribute0.00000.000710.0000
General
dbfile0.00060.1088100.0001
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs