Am 12.07.2012 16:04, schrieb Pablo N. Mendes:
Perhaps you didn't kill a process before starting it again, and it tried to use the same port.On Thu, Jul 12, 2012 at 4:04 PM, Pablo N. Mendes <[email protected] <mailto:[email protected]>> wrote:No idea about these exceptions. They do not come from spotlight. On Thu, Jul 12, 2012 at 4:03 PM, David Gösenbauer <[email protected] <mailto:[email protected]>> wrote: Am 12.07.2012 15:56, schrieb Pablo N. Mendes:Depends on the query. How many words in the input? Also, our caches take a while to warm up. Try to run many queries and it should start getting better. If you have an SSD available, put your index there. If you know that you only care about a subset of entities, build a smaller index and load it into memory. Our upgrades during the summer should solve several of these issues. Cheers, Pablo On Thu, Jul 12, 2012 at 3:49 PM, David Gösenbauer <[email protected] <mailto:[email protected]>> wrote: Am 12.07.2012 15:13, schrieb Pablo N. Mendes:This might help: https://github.com/dbpedia-spotlight/dbpedia-spotlight/wiki/Troubleshooting On Thu, Jul 12, 2012 at 3:12 PM, David Gösenbauer <[email protected] <mailto:[email protected]>> wrote: Am 12.07.2012 14:07, schrieb Pablo Mendes:The only difference from the quickstart is that we use a different index (large-compressed) and a different spotter.dict (thresh3) Cheers, Pablo On Thu, Jul 12, 2012 at 1:54 PM, David Gösenbauer <[email protected] <mailto:[email protected]>> wrote: Am 12.07.2012 10:00, schrieb Pablo Mendes:Error message says it all. You either have a corrupted file, or it is actually compressed but the filename does not end in .gz On Wed, Jul 11, 2012 at 6:28 PM, David Gösenbauer <[email protected] <mailto:[email protected]>> wrote:Hey Pablo! I figured out what you told me and it's up and running though I'm a bit confused how I'll get it to perform like your service. It's not spotting that much - so is there a guide to improve this? I guess I'm still running a reduced version of what you guys do so I'd like to know what I have to get. Additionally it seems that the LingPipeSpotter and spotter.large.dict don't work that well together - I get this when I start the server with that combination: INFO 2012-07-11 18:22:15,970 main [SpotlightFactory] - Initiating spotters... Exception in thread "main" java.io.StreamCorruptedException: invalid stream head er: 1F8B0808 at java.io.ObjectInputStream.readStreamHeader(Unknown Source) at java.io.ObjectInputStream.<init>(Unknown Source) at com.aliasi.util.AbstractExternalizable.readObject(AbstractExternalizable.java:309) at org.dbpedia.spotlight.spot.lingpipe.LingPipeSpotter.<init>(LingPipeSpotter.scala:55) at org.dbpedia.spotlight.model.SpotlightFactory$$anonfun$spotter$2.apply (SpotlightFactory.scala:87) at org.dbpedia.spotlight.model.SpotlightFactory$$anonfun$spotter$2.apply (SpotlightFactory.scala:87) at scala.collection.MapLike$class.getOrElse(MapLike.scala:122) at scala.collection.JavaConversions$JMapWrapper.getOrElse(JavaConversions.scala:792) at org.dbpedia.spotlight.model.SpotlightFactory.spotter(SpotlightFactory.scala:87) at org.dbpedia.spotlight.model.SpotlightFactory$$anonfun$spotter$6.apply (SpotlightFactory.scala:104) at org.dbpedia.spotlight.model.SpotlightFactory$$anonfun$spotter$6.apply (SpotlightFactory.scala:103) at scala.collection.Iterator$class.foreach(Iterator.scala:660) at scala.collection.JavaConversions$JIteratorWrapper.foreach(JavaConversions.scala:573) at scala.collection.IterableLike$class.foreach(IterableLike.scala:73) at scala.collection.JavaConversions$JListWrapper.foreach(JavaConversions.scala:615) at org.dbpedia.spotlight.model.SpotlightFactory.spotter(SpotlightFactory.scala:103) at org.dbpedia.spotlight.model.SpotlightFactory.<init>(SpotlightFactory.scala:78) at org.dbpedia.spotlight.web.rest.Server.main(Server.java:86) Regards, David-- ---Pablo N. Mendes http://pablomendes.com Events: http://wole2012.eurecom.fr <http://wole2012.eurecom.fr/> (*Deadline: July 31st 2012*)Hey, looks like the file you uploaded is corrupt, at least I can't get it to work by redownloading it. Tried wget and browser. But this won't expand the spotting horizon to get it to work like the online service. Is the only way to achieve this to follow instruction on https://github.com/dbpedia-spotlight/dbpedia-spotlight/wiki/Data-Generation-Manual ? Like the quickstart example it would be great to know what you guys are using on your running setup. Regards, Dave-- ---Pablo N. Mendes http://pablomendes.com Events: http://wole2012.eurecom.fr <http://wole2012.eurecom.fr/> (*Deadline: July 31st 2012*)Ok I'm trying it with -Xmx16g now :) Sorry I asked before thinking.-- ---Pablo N. Mendes http://pablomendes.com Events: http://wole2012.eurecom.fr <http://wole2012.eurecom.fr/> (*Deadline: July 31st 2012*)Thanks, I'm using the thresh 75 now, Server is starting but the answer to a query takes like 5 minutes or longer. What could be the problem here? ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Dbp-spotlight-users mailing list [email protected] <mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users-- ---Pablo N. Mendes http://pablomendes.com Events: http://wole2012.eurecom.fr <http://wole2012.eurecom.fr/> (*Deadline: July 31st 2012*)Okay! About 700 words, 2nd query for the same request got me errors like: /Jul 12, 2012 3:56:17 PM com.sun.grizzly.http.servlet.ServletAdapter doService Schwerwiegend: service exception: ClientAbortException: java.nio.channels.ClosedChannelException Jul 12, 2012 3:56:17 PM com.sun.grizzly.util.SelectorFactory getSelector Warnung: SelectorFactory. Can not create a selector java.io.IOException: Unable to establish loopback connection/ Third run with the query worked again. If it's a cache thing I understand :) Thanks! Regards, David-- ---Pablo N. Mendes http://pablomendes.com Events: http://wole2012.eurecom.fr <http://wole2012.eurecom.fr/> (*Deadline: July 31st 2012*) -- --- Pablo N. Mendes http://pablomendes.comEvents: http://wole2012.eurecom.fr <http://wole2012.eurecom.fr/> (*Deadline: July 31st 2012*)
Well I didn't stop the server. But it seems to work fine now. Still slow but this needs time :)
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Dbp-spotlight-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users
