cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Thing not running error

Garnet

Thing not running error

Is there any reason why a Thing would "stop running" randomly on a production server? This server is hands off with respect to development and no services are programmatically creating Things. We have found instances of Things will stop running without apparent cause and will continue in this state until a developer applies a manual restart of the Thing. Any thoughts/comments would be appreciated.

Tags (3)
8 REPLIES 8

Re: Thing not running error

Are there any subscriptions/timers running on those things? Any errors in the application log?

Re: Thing not running error

Yes we have subscriptions running on the things. No errors relevant to the problem in the error log. With respect to the subscriptions, I think I saw another post that suggested that a subscription may try to run before the Thing is fully compiled. Is that where you are going? If so, do you have a potential work around? I was thinking maybe a Thing (separate from the ones having the problems) that would have a service that ran on Thing start that delayed for a certain number of seconds before enabling the subscriptions on the problem Things.

Re: Thing not running error

Correct. Would it be possible to test this theory by disabling the subscription to see if the thing will keep running uninterrupted? If it confirms,  placing an appropriate conditional delay should be sufficient.

Re: Thing not running error

Yes, it is possible to test. However, when we initially deploy the entities from our Dev environment to our Prod environment, the subscription is disabled and is not enabled until the Prod system settles. So unfortunately, this solution does not look like it is working.

Re: Thing not running error

Could you please see if there are  any errors in the Applicationlog occuring when the thing stops running?

Re: Thing not running error

There are none. We have a crawler going through the App, Error, and Script logs looking for errors related to the Thing not running. So far, the only indicator that the Thing has stopped running is that there is a problem in our application.

Re: Thing not running error

@agondek

 

Hope you are doing good. Could you please confirm if the issue has been resolved.

 

If yes, please mark the answer as accept as solution for the future reference or Post your solution for benefit of other community users.

 

Thank you in advance.

Regards-Mohit Goel

Re: Thing not running error

Hi Mohit,

 

No I still have the problem... Things will "stop running" sporadically during normal operation and not just around deployments now.

 

Thanks