this seems to be a good idea....so we are bypassing the webserver and calling the application server directly which would not bring dllhost into action....is this the standard way of executing programs like our mailing list which tends to clog dllhost.exe?
-----Original Message----- From: Steve Martin [mailto:[EMAIL PROTECTED] Sent: 26 June 2003 14:47 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] Mailing Lists question Sorry, my reference to the scheduler was a misnomer as it calls scripts via the web server. However batching jobs as per duncan's suggestion is a viable option. Calling the CFML stub can be done via a batch file. Either set an environment variable SCRIPT_NAME to be the path to the script you want to call OR simply pass it as a parameter to CFML.exe: CFML.exe myMailerScript.cfm If you need to pass in any URL vars then set the QUERY_STRING environment variable to whatever you need to before calling the stub. Or something ;-) Steve > -----Original Message----- > From: Sandeep Shetty [mailto:[EMAIL PROTECTED] > Sent: 26 June 2003 14:41 > To: '[EMAIL PROTECTED]' > Subject: RE: [ cf-dev ] Mailing Lists question > > > does schedule mean we need to send emails in batches as > Duncan suggested > earlier? > Please could you tell me how to call the cfmail script using > cfml stub? do > i need to use cfexecute? > > -----Original Message----- > From: Steve Martin [mailto:[EMAIL PROTECTED] > Sent: 26 June 2003 14:32 > To: [EMAIL PROTECTED] > Subject: RE: [ cf-dev ] Mailing Lists question > > > Are you invoking the email generation script via a browser? > If so then you > should try it either via a schedule or by calling the script > directly using > the CFML stub, this will prevent DLLHOST.exe from sitting > there taking up > cycles. It's most likely this which is slowing the HTTPD response. > > > -----Original Message----- > > From: Sandeep Shetty [mailto:[EMAIL PROTECTED] > > Sent: 26 June 2003 14:28 > > To: '[EMAIL PROTECTED]' > > Subject: RE: [ cf-dev ] Mailing Lists question > > > > > > yes i agree with this, but all our websites become very slow > > during that > > time so we are concerned....and since we have a dual processor and > > sufficient memory we feel that the processor usage becomming > > 100% on sending > > out 7000 emails means there must be something wrong either > > memory leak or > > there must be a better way of sending out these many > > emails...trying to find > > out... > > > > -----Original Message----- > > From: Steve Martin [mailto:[EMAIL PROTECTED] > > Sent: 26 June 2003 14:23 > > To: [EMAIL PROTECTED] > > Subject: RE: [ cf-dev ] Mailing Lists question > > > > > > 100% processor utilisation shouldn't be regarded as being a > > problem. If I > > were running a task and my server was only using 10% (for > example) of > > available processor resources then I'd be a little miffed. It's like > > employing someone and finding that they're basically really lazy! > > DLLHOST.exe is an IIS thread and will naturally be utilised > > as CF will have > > an open pipe to it for the duration of the generation of the emails. > > > > On the email front, as Duncan says, you can pass the query parameter > > directly to the CFMAIL tag, but you'll still find that your > > processor usage > > goes up and that dllhost.exe uses up cycles. > > > > Steve > > > > > -----Original Message----- > > > From: Sandeep Shetty > [mailto:[EMAIL PROTECTED] > > > Sent: 26 June 2003 13:49 > > > To: '[EMAIL PROTECTED]' > > > Subject: [ cf-dev ] Mailing Lists question > > > > > > > > > Hi, > > > I have a question on large number of emails using cfmail. We > > > are sending > > > out HTML emails to around 7000 registered users. We are > > > currently looping > > > through cfmail tag using cfloop the required number of times > > > and send out > > > emails using our IMail server. > > > Is there a better way of sending out this many emails? > > > I have noticed that whenever this many emails are sent out > > the server > > > processor usage reaches nearly 100%! and have seen that a > > > process called > > > dllhost.exe uses up nearly 60percent of the processor and > > > uses large amounts > > > of memory. > > > Can sending out 7000 emails from coldfusion using a cfloop > > cause this > > > problem. We use cf5. Our server has 1gig ram and good hard > > disk space. > > > Any advice, suggestions or links would be most welcome > > > > > > Thanks in advance, > > > Sandeep > > > > > > -- > > > ** Archive: > http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > For human help, e-mail: [EMAIL PROTECTED] > > > > > > -- > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > > -- > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > > > -- > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > > -- > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > > -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
