Click here to Skip to main content
15,881,856 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
How to avoid hanging of windows service alongside other services in c# .net in production server used for processing of lot of files and insertion,updation,select process to same tables? I am running a continuous service which is installed in the system and if any other services run at the same time service hangs where sql server db size is around 50 GB . Also fetching of data is occuring from the same tables and insertion or updation with same tables for these services. Indexing is given for them but still the issue persists. On restarting IIS server then the processing of files works fine.I am using IIS 7.5 version.
Posted
Updated 9-May-14 2:03am
v2
Comments
[no name] 9-May-14 7:24am    
You need to debug your service and find the actual problem before you can fix it.
Sanket Saxena 9-May-14 7:34am    
If i understand then you are trying to access the same table at the same time by 2 or more windows services is this what you are doing?
Rahul 105 9-May-14 7:59am    
Yes fetching of data is from same tables for multiple windows services.

1 solution

With the complete lack of information you've given about your code and what it's doing when it hangs, it's IMPOSSIBLE for anyone to tell you what you did wrong.
 
Share this answer
 
Comments
José Amílcar Casimiro 9-May-14 9:15am    
This is not a solution.
Dave Kreskowiak 9-May-14 9:38am    
That's OK. The OP didn't really ask a question.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900