473,394 Members | 1,889 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

thread status created from asp.net

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

Sep 26 '06 #1
2 1380
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*****@yahoo.comwrote in message
news:11**********************@b28g2000cwb.googlegr oups.com...
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

Sep 26 '06 #2
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:
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*****@yahoo.comwrote in message
news:11**********************@b28g2000cwb.googlegr oups.com...
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
Sep 27 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: m | last post by:
Hello, I have an application that processes thousands of files each day. The filenames and various related file information is retrieved, related filenames are associate and placed in a linked...
5
by: Serge | last post by:
Hi, I am having a thread hang problem in my c# code. The example on the website: http://csharp.web1000.com/ is a simplified version of my problem. You will see in the form that a...
4
by: Gopal Prabhakaran | last post by:
Hi Guys How to Get the alive Thread Count. Sample code : using System; using System.Threading; namespace threadSample
7
by: Ivan | last post by:
Hi I have following problem: I'm creating two threads who are performing some tasks. When one thread finished I would like to restart her again (e.g. new job). Following example demonstrates...
3
by: Stephen Miller | last post by:
I have an ASP.Net application that sends a NetworkStream to a .Net Service, which has a TcpListener listening on a port for the ASP.Net client. When it receives a request it creates a new thread...
3
by: Vinicius Bellino | last post by:
Hi All, Is there a way to change a property of an UI control, such as the enabled property of a button, in a child thread? I mean, my code runs a long process, and because I wanted to show the...
20
by: Bob Day | last post by:
Using VS 2003, VB, MSDE... There are two threads, A & B, that continously run and are started by Sub Main. They instantiationsl of identical code. Thread A handles call activity on telephone...
6
by: seb | last post by:
Hi, I am using pygtk for the first times. I am wondering what would be the best "pattern" to interface pygtk with a thread. The thread is collecting informations (over the network for...
23
by: =?GB2312?B?0rvK18qr?= | last post by:
Hi all, Recently I had a new coworker. There is some dispute between us. The last company he worked for has a special networking programming model. They split the business logic into...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.