Thread timeouts

Discussion in 'ASP .Net' started by Graham, Jan 20, 2005.

  1. Graham

    Graham Guest

    Hi,
    I have web based email management system where a user can login, create an
    email and then send it to multiple recipients.
    The email component I use generates all of the physical .eml files when they
    click send. When a user is sending to 120, 000 recipients at once the page
    times out.
    I was thinking of using a separate worker thread for creating the email
    messages (I dont have to worry about sending because the files get put into
    a pickup directory that gets read by an SMTP component). My main concern
    is - would the thread timeout at all, when trying to generate so many files?

    Thanks in advance
    Graham
     
    Graham, Jan 20, 2005
    #1
    1. Advertising

  2. Graham

    Scott Allen Guest

    Hi Graham:

    Threads do not time out, so I wouldn't have this concern.

    Applications can timeout, however. I can configure an application pool in
    Win2003 to shut down an app after x minutes of inactivity. A background thread
    isn't considered activity though - only incoming requests are. Something
    to look for in your config.

    --
    Scott
    http://www.OdeToCode.com/blogs/scott/

    > Hi,
    > I have web based email management system where a user can login,
    > create an
    > email and then send it to multiple recipients.
    > The email component I use generates all of the physical .eml files
    > when they
    > click send. When a user is sending to 120, 000 recipients at once the
    > page
    > times out.
    > I was thinking of using a separate worker thread for creating the
    > email
    > messages (I dont have to worry about sending because the files get put
    > into
    > a pickup directory that gets read by an SMTP component). My main
    > concern
    > is - would the thread timeout at all, when trying to generate so many
    > files?
    > Thanks in advance
    > Graham
     
    Scott Allen, Jan 20, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Justin Dutoit

    Dealing with Session State timeouts

    Justin Dutoit, Aug 5, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    367
    Steve C. Orr, MCSD
    Aug 5, 2003
  2. Justin Dutoit

    Setting Session State timeouts

    Justin Dutoit, Aug 7, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    331
    S. Justin Gengo
    Aug 7, 2003
  3. =?Utf-8?B?SmFzb24=?=

    forms authentication timeouts and session timeouts

    =?Utf-8?B?SmFzb24=?=, Jun 22, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    457
    =?Utf-8?B?SmFzb24=?=
    Jun 22, 2004
  4. Rushi
    Replies:
    2
    Views:
    316
    7stud --
    Mar 20, 2009
  5. Gene Wirchenko

    Timeouts and Thread(?) Interruption/Execution

    Gene Wirchenko, Nov 24, 2011, in forum: Javascript
    Replies:
    1
    Views:
    610
    Dr J R Stockton
    Nov 25, 2011
Loading...

Share This Page