Click here to Skip to main content
15,882,163 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi, Actually my server based application gets some operation blocked after 2-3 days of restart, i do not know why but in-between some semaphores writing error like File exists, Resource temporarily unavailable. what i will do because there is no other logs which is suitable for this case. Please give me some idea's how to see?

What I have tried:

Some signal operation gets block after sometime
Posted
Updated 28-Feb-22 23:51pm
Comments
Richard Deeming 1-Mar-22 5:38am    
There's a secret error somewhere in your secret code. You need to fix that.

Seriously, how do you expect anyone to help you fix an error you can't describe in code we can't see running on a server we can't access?

1 solution

We can't help you.
Firstly because we have no access to your code, so we have no idea what you have written.
Secondly because we have no way to run your code with your data, in the same circumstances you do.

And you need both of those things to even begin working out what might be happening.

So it's going to be up to you, and since this is a problem that only manifests after a number of days, it's unlikely that the debugger will be of much help to you.
You are going to have to fall back on "old school" debugging techniques, and start adding logging information to your code to trace what iot has done and what it tried to do when it failed. Start by adding "top level" logging to narrow down the crash site, and run your app until it crashes.
Then review the logs to work out the general area. Add more detailed logging, and repeat until it becomes obvious where the problem happens.
hen you can start looking at the code to try and work out why.

Sorry, but we can't help you with that at all!
 
Share this answer
 

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