I have a web service that freezes deadlocks on the lock command.
lock(typeof(MyServiceType))
I feel that this is caused by application pool resets.
Is there any way that app pool resets could cause the lock to become a forever lock?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I can’t exactly comment on what is happening with regards to application pool resets, but perhaps you should try locking on a new object, instead?