Ongoing notification problems

Author Message

Andrew Kelly

Thursday 13 July 2006 6:22:12 am

Dear all,

out site has a newletter subscription built into it, which has
been working very well until just recently. I'm hoping
some of you will be able to help me iron out the lumps.

What we have is actually very simple. People create a sub-tree
notification event on a particular node, and recieve the newsletter
when that node is published. As I said, this has been working very
well until recently, when suddenly the notification stopped being
sent.

This is generated at the command line:

Running cronjobs/notification.php
Starting notification event processing
postdrop: warning: stdin: illegal length 3174, record type 78
postdrop: fatal: uid=1000: malformed input
sendmail: warning: premature end-of-input on /usr/sbin/postdrop -r while reading input attribute name
sendmail: fatal: akelly(1000): Error writing message file
Done

A similar message can be found in the mailer log files.

What I'm gathering from the (very little) I've been able to find
in the forums is that postfix is choking on an oversized header.

There are currently only about 200 subscribers at the moment, but once we're
out of beta we're expecting maybe 50x that amount. Is eZ really not
capable of sending notifications to more than a few dozen recipients without
blowing things up?
Anybody seen this before and know how to fix it?

Very, very grateful for any assistance, and much thanks in advance.

Andy

Andrew Kelly

Friday 14 July 2006 4:32:56 am

Just in case anybody else ever bumps into this problem, it turns out
that Postfix is the bad guy. The current Postfix package in Debian Sarge
(as of this writing) contains an unresolved bug which hammers long headers.

Feed sarge a fresher Postfix from backports and the problem is resolved.

Andy

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 19 2025 03:29:28
Script start
Timing: Jan 19 2025 03:29:28
Module start 'layout'
Timing: Jan 19 2025 03:29:28
Module start 'content'
Timing: Jan 19 2025 03:29:29
Module end 'content'
Timing: Jan 19 2025 03:29:29
Script end

Main resources:

Total runtime1.1323 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 589.1563152.6250
Module start 'layout' 0.00680.0023 741.781339.4453
Module start 'content' 0.00911.1219 781.2266466.7734
Module end 'content' 1.13100.0012 1,248.00008.1641
Script end 1.1322  1,256.1641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2807160.0002
Check MTime0.00130.1128160.0001
Mysql Total
Database connection0.00160.137110.0016
Mysqli_queries1.081995.5498520.0208
Looping result0.00050.0456500.0000
Template Total1.103197.420.5515
Template load0.00220.190920.0011
Template processing1.100997.231120.5504
Template load and register function0.00020.014010.0002
states
state_id_array0.00110.101110.0011
state_identifier_array0.00070.063320.0004
Override
Cache load0.00180.1618320.0001
Sytem overhead
Fetch class attribute can translate value0.00090.080410.0009
Fetch class attribute name0.00130.114930.0004
XML
Image XML parsing0.00060.051710.0006
class_abstraction
Instantiating content class attribute0.00000.001840.0000
General
dbfile0.00080.0676160.0000
String conversion0.00000.000740.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 19
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs