Timeout on spawned thread within IIS

G

Gerrit Hulleman

A question regarding threading within IIS:

If you spawn a thread within an ASP.NET 1.1 webservice so that the calling
program does not has to wait for the result, (the calling program does not
support async methods and callback methods) what timeout / algorithm is
there in place in IIS 6.0 (ASPNET Worker process) to clean-up these lose
threads?

Gerrit
 
J

John Saunders

Gerrit Hulleman said:
A question regarding threading within IIS:

If you spawn a thread within an ASP.NET 1.1 webservice so that the calling
program does not has to wait for the result, (the calling program does not
support async methods and callback methods) what timeout / algorithm is
there in place in IIS 6.0 (ASPNET Worker process) to clean-up these lose
threads?

None.

John
 
G

Gerrit H

John Saunders said:
None.

John

Strange... one would expect the thread to be destroyed during the shutdown
of IIS, when the system resources get low a process terminates these threads
or at the very least when the web.config gets altered / web service
reinstalled... :S

Gerrit
 
J

John Saunders

Gerrit H said:
Strange... one would expect the thread to be destroyed during the shutdown
of IIS, when the system resources get low a process terminates these
threads or at the very least when the web.config gets altered / web
service reinstalled... :S

The thread should get cleaned up at the end. I just don't think it will get
cleaned up befoer then.

John
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top