Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reasoner takes long time on startup #2

Closed
hudajkhan opened this issue Oct 13, 2016 · 2 comments
Closed

Reasoner takes long time on startup #2

hudajkhan opened this issue Oct 13, 2016 · 2 comments
Assignees

Comments

@hudajkhan
Copy link
Contributor

Some background:
"I’ve created a vitrolib home dir in my ~ (home dir). I also created a separate vitro home dir when just creating a plain vanilla vitro instance. I create a MVN settings.xml file from the vitrolib-installler/example-settings.xml, modify the settings appropriately to point to my and as created above. I then copy and set appropriate values for runtime.properties and make a copy of example.applicationSetup.n3 to applicationSetup.n3. Then start tomcat and it populates the ~/vitrolib/home dir. "
"After reasoner count exceeded the instance count I shut down tomcat. then restarted and the ContextListener for the reasoner didn’t kick in. I think I then went to admin console to reindex solr.
Maybe, maybe I might have imported all instances that I’d exported from the Cornell tomcat then reindexed.
However, the instance count on the home page here compared to that at Cornell is virtually identical."

@hudajkhan hudajkhan self-assigned this Oct 13, 2016
@daveneiman
Copy link
Contributor

This is when building and deploying the vitrolib "feature/demo-1.9" branch. The reasoner actually never completed. It ran for 2 1/2 days. The logging started as follows:
2016-10-07 17:33:21,029 INFO [JFactTBoxReasonerModule] Waiting for initial TBox reasoning to complete
2016-10-07 17:33:29,116 INFO [SimpleReasonerSetup] starting ABox inference recompute in a separate thread.
2016-10-07 17:33:29,118 INFO [ABoxRecomputer] Recomputing ABox inferences.
2016-10-07 17:33:29,120 INFO [ABoxRecomputer] Finding individuals in ABox.
2016-10-07 17:33:29,430 INFO [IndexHistory] PAUSE, 10/7/16 5:29 PM, []
2016-10-07 17:33:29,537 INFO [IndexHistory] STARTUP, 10/7/16 5:29 PM, []
2016-10-07 17:33:29,541 INFO [FreemarkerSetup] Freemarker templating system initialized.
2016-10-07 17:33:29,632 INFO [VClassGroupCache] VClassGroupCache added to context
2016-10-07 17:33:29,633 INFO [VClassGroupCache] VClassGroupCache set to listen to events from IndexBuilder
2016-10-07 17:33:29,634 INFO [StartupManager] Called 'contextInitialized' on all listeners.
2016-10-07 17:33:29,687 INFO [JSessionStripFilter] Filtering: no jsessionids will be generated.
2016-10-07 17:33:29,786 INFO [ABoxRecomputer] Recomputing inferences for 8081 individuals
2016-10-07 17:33:51,026 INFO [ABoxRecomputer] Still recomputing inferences (1000/8081 individuals)
2016-10-07 17:33:51,026 INFO [ABoxRecomputer] 21 ms per individual
2016-10-07 17:34:11,423 INFO [ABoxRecomputer] Still recomputing inferences (2000/8081 individuals)
2016-10-07 17:34:11,423 INFO [ABoxRecomputer] 20 ms per individual

And continued as follows until Tomcat was shut down:
2016-10-10 08:08:28,512 INFO [ABoxRecomputer] Still recomputing inferences (14276000/8081 individuals)
2016-10-10 08:08:28,513 INFO [ABoxRecomputer] 15 ms per individual
2016-10-10 08:08:41,157 INFO [ABoxRecomputer] Still recomputing inferences (14277000/8081 individuals)
2016-10-10 08:08:41,158 INFO [ABoxRecomputer] 15 ms per individual
2016-10-10 08:08:46,861 INFO [IndexHistory] SHUTDOWN_REQUESTED, 10/7/16 5:29 PM, []
2016-10-10 08:08:46,861 INFO [IndexHistory] SHUTDOWN_COMPLETE, 10/10/16 8:08 AM, []
2016-10-10 08:08:46,862 INFO [SimpleReasonerSetup] received contextDestroyed notification
2016-10-10 08:08:46,862 INFO [SimpleReasonerSetup] sending stop request to SimpleReasoner
2016-10-10 08:08:46,862 INFO [SimpleReasonerSetup] sending stop request to simpleReasonerTBoxListener
2016-10-10 08:08:46,862 INFO [BasicTBoxReasonerDriver] Waiting for TBox reasoner to terminate.
2016-10-10 08:08:46,866 INFO [StartupManager] Called 'contextDestroyed' on all listeners.

@j2blake
Copy link
Contributor

j2blake commented Oct 24, 2016

Fixed d22d346

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants