Ian,

It seems to me that you might be using CFMAIL as a high volume mail server.
I don't think that it was intended to be used that way. Is there any way you
can use ColdFusion to dump your messages to disk and use a dedicated
(non-ColdFusion) mail server to do the rest of the work? Doing this would
likely increase ColdFusion performance and mail service response time.

- Chris

<!----------------------------------------------------------->
Christopher Cortes                   |Coming Q3 2001:
Consultant                           |
Stonebridge Technologies, Inc.       | �Optimizing ColdFusion�
     Putting Technology To Work      |           By
Visit us at www.sbti.com             |   Christopher Cortes
Ofc: 713.985.6244 cel: 281.235.6100  |     www.osborne.com
<-----------------------------------------------------------!>


-----Original Message-----
From: Ian MacFadyen [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 16, 2001 8:55 AM
To: CF-Talk
Subject: cfmal with attachments and cfserver memory usage


While sending multiple cfmail messages with attachments I have realized
cfserver memory allocation problems. Has anybody else?

WinNT CF Application Server 4.5.1 SP 2 acquires large volumes of RAM each
time when sending large volumes of cfmails(near 1000 email messages per
time, using the query attribute - each having an attachment ranging in size
from 30K to 300K).

I understand that if CF needs more memory resources the service will claim
that what it needs. According to the heaping protocol, it will not release
the additionally acquired RAM, since the benefit of keeping the memory
in-hand far out weighs the costs of releasing and re-acquiring it; assuming
that more than likely it will be needed in the near future.

I suppose this is reasonable, but why once the cfmails are sent is the
memory not accounted for as available for use? Upon subsequent cfmailings
with attachments, more memory is heaped in addition to that previously
acquired. It seems inevitable that, with every batch of cfmails with
attachments, this will happen again, end-on-end until the server runs out of
available memory and crashes.

I hypothesize that something is wrong here. Any other encounters of this
kind out there? Is the cfmail spooler module flawed when it comes to
attachments? Can you offer any alternatives and/or sugestions?

Thanks,

Ian MacFadyen
Sr. Application Developer
Cardinal Communications
www.cardinalweb.com
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to