Discovery not running consistently
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2011 10:33 AM
Hello,
When I kicked off discovery and show status is active. But looks like it's hung and not doing anything. I found out that when i restart the mid server in service-now. Then the job is running, serveral hours later the systom is back again and I need to keep on restarting the mid server for the discover to run.
Anyone have any ideas?
TIA
Tom
- Labels:
-
Service Mapping

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2011 05:53 PM
Is it too large of a job? Is it a Windows MID server? If so, are you overcommitting the TCP stack? Windows has a limitation that could flood it to a halt. If so, think of splitting up your schedule into smaller subnets or standing up another MID to share the load.
OR
Does the MID server hang due to unresponsive probes? Is the problem with the devices themselves?
It should eventually cancel itself. What is your max run time on the Schedule?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2015 10:34 AM
Questions to sort out what "Hung and not doing anything" is all about:
- If you look at discovery status, how many operations are started and how many are completed?
- 0 / 0 - The job isn't even starting, so the mid server never even gets any work to do. Something is going on with this instance.
- 1 / 0 - Shazzam is stuck. Perhaps this is a *huge* subnet you're scanning? Wait longer.
- (several) / (1 or just a few) - Shazzam is completing, but classification is getting nowhere. The mid server and ECC queue are functional, but classification is getting nowhere.
- Many / (many - a few) - Individual exploration probes are stuck.
- If you look at the ecc queue and filter away the processed ones, what's left?
- Lots of ready - The mid server isn't picking anything up
- Lots of processing - The mid server is working on a bunch of stuff.
- How old are the oldest probes stuck in processing state?
- Are they all of a similar type? That could point to a problem with a particular target type / credential.
- If the mid server just seems to be stuck, doing a thread dump and then looking at the wrapper log can give some ideas what is going on.
- Lots of error - Serious weirdness. Check the log for errors.
- If you look at the mid server page, is the mid server up?
- Anything interesting in the discovery or mid logs?
- Out of memory? Try adding memory or reducing max thread count.
- Timeouts? Do they have anything in common? Check for network issues.
Hope this helps narrow down the hang.
Interested to see what you find,
- Tim.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2016 11:21 PM
(0 / 0 - The job isn't even starting, so the mid server never even gets any work to do. Something is going on with this instance.) i have the same issue what is the problem with my instance?? why my discovery is being struck ?? before it was working .doug.schulze
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2016 06:36 AM
If you have done your due diligence in troubleshooting the midserver, upto and including re-deploying , Id have to humbly suggest talking to support..