I am sending 13000 emails alerts out using the thread from my asp.net
application. It is working smooth when I did the first and second
sending. but when I tried the third one, the server is so slow, the
thread is supposed to be abort normally each time.do you think it is
the thread I created from the first two times still alive, how could I
check thread status?
Thanks.
Ginnyyou should create a static collection to contain the threads, you can
harvest the status, or kill ones that ran too long. you might want to start
a management thread also.
-- bruce (sqlwork.com)
"ginny" <im_wang@.yahoo.comwrote in message
news:1159292119.881690.324060@.b28g2000cwb.googlegr oups.com...
Quote:
Originally Posted by
Hello,
>
I am sending 13000 emails alerts out using the thread from my asp.net
application. It is working smooth when I did the first and second
sending. but when I tried the third one, the server is so slow, the
thread is supposed to be abort normally each time.do you think it is
the thread I created from the first two times still alive, how could I
check thread status?
>
Thanks.
>
Ginny
>
bruce:
I am new to thread, how to create a static collection to contain the
threads?
The function in my thread is really simple, it loop 13000 times to send
13000 emails.
Thanks.
Ginny
(sqlwork.com) wrote:
Quote:
Originally Posted by
you should create a static collection to contain the threads, you can
harvest the status, or kill ones that ran too long. you might want to start
a management thread also.
>
-- bruce (sqlwork.com)
>
"ginny" <im_wang@.yahoo.comwrote in message
news:1159292119.881690.324060@.b28g2000cwb.googlegr oups.com...
Quote:
Originally Posted by
Hello,
I am sending 13000 emails alerts out using the thread from my asp.net
application. It is working smooth when I did the first and second
sending. but when I tried the third one, the server is so slow, the
thread is supposed to be abort normally each time.do you think it is
the thread I created from the first two times still alive, how could I
check thread status?
Thanks.
Ginny
0 comments:
Post a Comment