Fork501
Active member
I have done work in the past with Multithreading in Java, so I always assumed it would be the same for C# (Well, not taking Syntax and methods into consideration).
Anyhow, I have a website, which needs to validate a guests e-mail. I have that working just fine.
When the guest starts filling out my form, they enter all of their information and press a continue button. At that moment, I use Javascript to use a post-behind to connect to the page, which does the actual e-mail validation. If their e-mail is valid, it is entered into a guest database.
In order to prevent the guest from waiting for the post-behind page to validate their E-Mail address, which could take upward of a minute, I am using my post-behind page to start a new thread and do all of the validation from there.
The underlying problem is that I have noticed crashes in IIS ever since I have launched this application. If I make any changes to the website and update a file (or even look at system settings), my whole website goes down for a few minutes. Sometimes, I dont even need to be poking around the server for it to happen. When I check my logfiles, I usually see an error stating that my Application Pool has terminated unexpectedly. I also have seen an error stating that theres a deadlock on aspnet_isapi.dll (Im sorry that I cant C&P the error.. I cant seem to locate the last occurance iny my logfiles right now..)
Has anyone else experienced system problems after implementing multithreading?
I had originally thought that it was a server performance issue, but Im running 3.05GHZ with 3.75GB of RAM. I have about 10 websites running on the server, but none of them share this application pool and none of them are memory-intense. They are basically there as static pages.
Thanks in advance!
~Derek
Anyhow, I have a website, which needs to validate a guests e-mail. I have that working just fine.
When the guest starts filling out my form, they enter all of their information and press a continue button. At that moment, I use Javascript to use a post-behind to connect to the page, which does the actual e-mail validation. If their e-mail is valid, it is entered into a guest database.
In order to prevent the guest from waiting for the post-behind page to validate their E-Mail address, which could take upward of a minute, I am using my post-behind page to start a new thread and do all of the validation from there.
The underlying problem is that I have noticed crashes in IIS ever since I have launched this application. If I make any changes to the website and update a file (or even look at system settings), my whole website goes down for a few minutes. Sometimes, I dont even need to be poking around the server for it to happen. When I check my logfiles, I usually see an error stating that my Application Pool has terminated unexpectedly. I also have seen an error stating that theres a deadlock on aspnet_isapi.dll (Im sorry that I cant C&P the error.. I cant seem to locate the last occurance iny my logfiles right now..)
Has anyone else experienced system problems after implementing multithreading?
I had originally thought that it was a server performance issue, but Im running 3.05GHZ with 3.75GB of RAM. I have about 10 websites running on the server, but none of them share this application pool and none of them are memory-intense. They are basically there as static pages.
Thanks in advance!
~Derek