[imp] Forwarding of attachments not consistent ...

Marc G. Fournier scrappy at hub.org
Tue Nov 4 06:00:40 PST 2003



On Mon, 3 Nov 2003, Gary Smith wrote:

> How much memory does horde/imp/sendmail itself use.  Any database
> connections, etc...  So you have 12mb as the limit.  If the app,
> including bells and whistles, is taking 9.7mb's then a 2.4mb attachment
> will mathematically fail...

k, then for todays stupid question, how do I calculate this?  The value I
set was in php.ini:

memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)

the above is the default ... the script itself is small, so I'm guessing
that what I'm getting is all the arrays and such causing it to grow?  how
does sendmail fit into that?

>
> I would start to look there.
>
> Hope that helps.
>
> Gary Smith
>
>  -----Original Message-----
> From: 	imp-bounces at lists.horde.org [mailto:imp-bounces at lists.horde.org]  On Behalf Of Marc G. Fournier
> Sent:	Monday, November 03, 2003 8:34 PM
> To:	imp at lists.horde.org
> Subject:	[imp] Forwarding of attachments not consistent ...
>
>
> Same message, forwarded twice:
>
> Nov  4 04:09:56 anydomain postfix/pickup[8426]: 746631ABF00: uid=80 from=<admin at anydomain.org>
> Nov  4 04:09:56 anydomain postfix/cleanup[16545]: 746631ABF00: message-id=<1067918995.4jypxal4w1a8 at webmail.anydomain.org>
> Nov  4 04:09:56 anydomain postfix/qmgr[8427]: 746631ABF00: from=<admin at anydomain.org>, size=1342, nrcpt=1 (queue active)
> Nov  4 04:09:56 anydomain postfix/smtp[16550]: 746631ABF00: to=<scrappy at hub.org>, relay=mail.hub.org[200.46.204.220], delay=0, status=sent (250 Ok: queued as 8E7899A780E)
>
>
> Nov  4 04:11:09 anydomain postfix/pickup[8426]: EEE141AB77E: uid=80 from=<admin at anydomain.org>
> Nov  4 04:11:10 anydomain postfix/cleanup[16545]: EEE141AB77E: message-id=<1067919068.1i54u4nyzow0 at webmail.anydomain.org>
> Nov  4 04:11:11 anydomain postfix/qmgr[8427]: EEE141AB77E: from=<admin at anydomain.org>, size=2448922, nrcpt=1 (queue active)
> Nov  4 04:11:11 anydomain postfix/smtp[16550]: EEE141AB77E: to=<scrappy at hub.org>, relay=mail.hub.org[200.46.204.220], delay=2, status=sent (250 Ok: queued as 038929A7815)
>
> the first failed to include the attachment, and closed the compose window
> ... the second included the attachment, and failed to close the compose
> window ...
>
> this is with vfs set to false ... and I've tried with both smtp and
> sendmail settings for mail, similar inconsistencies both ways ...
>
> k, I think I got it ... how is forwarding a 2.3Meg attachment causing 12M to be used up?
>
> Allowed memory size of 12582912 bytes exhausted (tried to allocate 197 bytes)
> Allowed memory size of 12582912 bytes exhausted (tried to allocate 197 bytes)
>
> I just edit'd php.ini and doubled it to 24M, and seem to be able to get
> consistent successes on forwarding ... 3 in a row, no failures, and the
> compose window closed every time ...
>
>
>
> --
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>
>
>


More information about the imp mailing list