Yacy crash

Discussion in English language.
Forumsregeln
You can start and continue with posts in english language in all other forums as well, but if you are looking for a forum to start a discussion in english, this is the right choice.

Yacy crash

Beitragvon lann » Sa Jan 03, 2015 3:11 pm

I got these errors when i start Yacy :
Code: Alles auswählen
I 2015/01/03 14:34:00 Domain Init local host address: fe80:0:0:0:20b:6aff:fe1c:3757 (local)
I 2015/01/03 14:34:01 Domain Init local host address: fe80::20b:6aff:fe1c:3757 (local)
I 2015/01/03 14:34:01 Domain Init local host address: 0::1 (local)
I 2015/01/03 14:34:01 Domain Init local host address: 0:0:0:0:0:0:0:1 (local)
I 2015/01/03 14:34:01 Domain Init local host address: 127.0.0.1 (local)
I 2015/01/03 14:34:01 Domain Init local host address: 192.168.0.100 (local)
I 2015/01/03 14:34:01 Domain Init local host address: 192.168.1.100 (local)
I 2015/01/03 14:34:02 HeapReader generating index for /usr/share/yacy/DATA/WORK/admin_bookmarks.bheap, 0 MB. Please wait.
I 2015/01/03 14:34:02 HeapReader finished index generation for /usr/share/yacy/DATA/WORK/admin_bookmarks.bheap, 2 entries, 0 gaps.
I 2015/01/03 14:34:02 Heap initializing heap /usr/share/yacy/DATA/WORK/admin_bookmarks.bheap
I 2015/01/03 14:34:03 HeapReader generating index for /usr/share/yacy/DATA/WORK/stats.bheap, 0 MB. Please wait.
I 2015/01/03 14:34:03 HeapReader finished index generation for /usr/share/yacy/DATA/WORK/stats.bheap, 4932 entries, 0 gaps.
I 2015/01/03 14:34:03 Heap initializing heap /usr/share/yacy/DATA/WORK/stats.bheap
I 2015/01/03 14:34:03 HeapReader generating index for /usr/share/yacy/DATA/WORK/pkcounter.bheap, 0 MB. Please wait.
I 2015/01/03 14:34:03 HeapReader finished index generation for /usr/share/yacy/DATA/WORK/pkcounter.bheap, 1 entries, 0 gaps.
I 2015/01/03 14:34:03 Heap initializing heap /usr/share/yacy/DATA/WORK/pkcounter.bheap
I 2015/01/03 14:34:03 HeapReader generating index for /usr/share/yacy/DATA/WORK/searchfl.bheap, 0 MB. Please wait.
I 2015/01/03 14:34:03 HeapReader finished index generation for /usr/share/yacy/DATA/WORK/searchfl.bheap, 5 entries, 0 gaps.
I 2015/01/03 14:34:03 Heap initializing heap /usr/share/yacy/DATA/WORK/searchfl.bheap
I 2015/01/03 14:34:03 HeapReader generating index for /usr/share/yacy/DATA/WORK/api.bheap, 0 MB. Please wait.
I 2015/01/03 14:34:03 HeapReader finished index generation for /usr/share/yacy/DATA/WORK/api.bheap, 2 entries, 0 gaps.
I 2015/01/03 14:34:03 Heap initializing heap /usr/share/yacy/DATA/WORK/api.bheap
I 2015/01/03 14:34:04 HeapReader generating index for /usr/share/yacy/DATA/WORK/rss.bheap, 4 MB. Please wait.
I 2015/01/03 14:34:06 HeapReader finished index generation for /usr/share/yacy/DATA/WORK/rss.bheap, 20855 entries, 688 gaps.
I 2015/01/03 14:34:06 HeapReader BLOB /usr/share/yacy/DATA/WORK/rss.bheap: merged 0 free records
I 2015/01/03 14:34:06 Heap initializing heap /usr/share/yacy/DATA/WORK/rss.bheap
I 2015/01/03 14:34:06 UPNP found device: Freebox ADSL
I 2015/01/03 14:34:07 UPNP mapped mapped port 8090 to port 49160 on device Freebox ADSL, external IP is 78.218.10.58
I 2015/01/03 14:34:08 UPNP mapped mapped port 8443 to port 49161 on device Freebox ADSL, external IP is 78.218.10.58
I 2015/01/03 14:34:12 Word hashCache.size = 20000
I 2015/01/03 14:34:13 SWITCHBOARD Initializing Segment '/usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS.
I 2015/01/03 14:34:13 HeapReader generating index for /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/default/text.index.20140806221109187.blob, 3642 MB. Please wait.
I 2015/01/03 14:37:36 HeapReader finished index generation for /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/default/text.index.20140806221109187.blob, 4747618 entries, 2706 gaps.
I 2015/01/03 14:37:36 HeapReader BLOB /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/default/text.index.20140806221109187.blob: merged 0 free records
I 2015/01/03 14:37:46 HeapReader saturation of text.index.20150103124646248.blob.H0royER1AofG.idx: keylength = 5, vallength = 3, size = 12890, maximum saving for index-compression = 0 MB, exact saving for value-compression = 0 MB
I 2015/01/03 14:37:46 HeapReader using a dump of the index of /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/default/text.index.20150103124646248.blob.
I 2015/01/03 14:37:48 HeapReader saturation of text.index.20150103131127438.blob.V7zP2qHnVmgQ.idx: keylength = 6, vallength = 4, size = 214009, maximum saving for index-compression = 1 MB, exact saving for value-compression = 0 MB
I 2015/01/03 14:37:48 HeapReader using a dump of the index of /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/default/text.index.20150103131127438.blob.
I 2015/01/03 14:37:58 org.apache.solr.core.ConfigSolr Loading container configuration from /usr/share/yacy/defaults/solr/solr.xml
I 2015/01/03 14:38:01 org.apache.solr.update.UpdateShardHandler Creating UpdateShardHandler HTTP client with params: socketTimeout=0&connTimeout=0&retry=false
I 2015/01/03 14:38:02 org.apache.solr.logging.LogWatcher SLF4J impl is org.slf4j.impl.JDK14LoggerFactory
I 2015/01/03 14:38:02 org.apache.solr.logging.LogWatcher Registering Log Listener [JUL (org.slf4j.impl.JDK14LoggerFactory)]
I 2015/01/03 14:38:05 org.apache.solr.update.SolrIndexConfig IndexWriter infoStream solr logging is enabled
I 2015/01/03 14:38:05 org.apache.solr.update.SolrIndexConfig IndexWriter infoStream solr logging is enabled
I 2015/01/03 14:38:48 HeapReader close HeapFile text.index.20140806221109187.blob; trace: net.yacy.kelondro.blob.HeapModifier.close(HeapModifier.java:82) -> net.yacy.kelondro.blob.ArrayStack.unmountBLOB(ArrayStack.java:276) -> net.yacy.kelondro.blob.ArrayStack.unmountOldest(ArrayStack.java:332) -> net.yacy.kelondro.rwi.ReferenceContainerArray.shrinkOldFiles(ReferenceContainerArray.java:427) -> net.yacy.kelondro.rwi.IndexCell.shrink(IndexCell.java:212) -> net.yacy.kelondro.rwi.IndexCell.access$900(IndexCell.java:65) -> net.yacy.kelondro.rwi.IndexCell$FlushThread.flushBuffer(IndexCell.java:172) -> net.yacy.kelondro.rwi.IndexCell$FlushThread.run(IndexCell.java:122)
I 2015/01/03 14:38:48 RICELL-shrink4/rewrite unmountOldest()
I 2015/01/03 14:38:48 IODispatcher appended rewrite job of file text.index.20140806221109187.blob to text.index.20150103133848619.blob
I 2015/01/03 14:38:48 BLOBArray rewrite of text.index.20140806221109187.blob
I 2015/01/03 14:38:48 org.apache.solr.rest.ManagedResourceStorage File-based storage initialized to use dir: /usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/solr_4_10/webgraph/conf
I 2015/01/03 14:38:48 org.apache.solr.rest.RestManager Initializing RestManager with initArgs: {storageDir=/usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/solr_4_10/webgraph/conf}
I 2015/01/03 14:38:49 org.apache.solr.rest.ManagedResourceStorage Reading _rest_managed.json using file:dir=/usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/solr_4_10/webgraph/conf
I 2015/01/03 14:38:49 org.apache.solr.rest.ManagedResourceStorage Loaded LinkedHashMap at path _rest_managed.json using file:dir=/usr/share/yacy/DATA/INDEX/freeworld/SEGMENTS/solr_4_10/webgraph/conf
I 2015/01/03 14:38:49 org.apache.solr.rest.RestManager Initializing 0 registered ManagedResources
I 2015/01/03 14:39:46 MEMORY performed explicit GC, freed 118551 KB (requested/available/average: 1081 / 118937 / 0 KB)
E 2015/01/03 14:42:23 ReferenceIterator lost entry 'C6RDnumkbZ2f' because of too low memory: net.yacy.cora.util.SpaceExceededException: 1105880 bytes needed for importRowSet: OutOfMemoryError: 255808 free at Sat Jan 03 14:42:23 CET 2015
E 2015/01/03 14:44:42 org.apache.solr.core.CoreContainer Error creating core [collection1]: Error Instantiating Update Handler, solr.DirectUpdateHandler2 failed to instantiate org.apache.solr.update.UpdateHandler
org.apache.solr.common.SolrException: Error Instantiating Update Handler, solr.DirectUpdateHandler2 failed to instantiate org.apache.solr.update.UpdateHandler
   at org.apache.solr.core.SolrCore.<init>(SolrCore.java:873)
   at org.apache.solr.core.SolrCore.<init>(SolrCore.java:646)
   at org.apache.solr.core.CoreContainer.create(CoreContainer.java:491)
   at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:255)
   at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:249)
   at java.util.concurrent.FutureTask.run(FutureTask.java:262)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.solr.common.SolrException: Error Instantiating Update Handler, solr.DirectUpdateHandler2 failed to instantiate org.apache.solr.update.UpdateHandler
   at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:564)
   at org.apache.solr.core.SolrCore.createUpdateHandler(SolrCore.java:620)
   at org.apache.solr.core.SolrCore.<init>(SolrCore.java:835)
   ... 8 more
Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
   at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:550)
   ... 10 more
Caused by: java.lang.OutOfMemoryError: Java heap space
   at org.apache.solr.update.TransactionLog.<init>(TransactionLog.java:154)
   at org.apache.solr.update.UpdateLog.init(UpdateLog.java:261)
   at org.apache.solr.update.UpdateHandler.<init>(UpdateHandler.java:134)
   at org.apache.solr.update.UpdateHandler.<init>(UpdateHandler.java:94)
   at org.apache.solr.update.DirectUpdateHandler2.<init>(DirectUpdateHandler2.java:100)
   ... 15 more
I 2015/01/03 14:44:42 SolrEmbeddedInstance detected default solr core: collection1
E 2015/01/03 14:44:42 STARTUP YaCy cannot start: SolrCore 'collection1' is not available due to init failure: Error Instantiating Update Handler, solr.DirectUpdateHandler2 failed to instantiate org.apache.solr.update.UpdateHandler
org.apache.solr.common.SolrException: SolrCore 'collection1' is not available due to init failure: Error Instantiating Update Handler, solr.DirectUpdateHandler2 failed to instantiate org.apache.solr.update.UpdateHandler
   at org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:745)
   at net.yacy.cora.federate.solr.instance.EmbeddedInstance.<init>(EmbeddedInstance.java:89)
   at net.yacy.search.index.Fulltext.connectLocalSolr(Fulltext.java:133)
   at net.yacy.search.Switchboard.<init>(Switchboard.java:532)
   at net.yacy.yacy.startup(yacy.java:205)
   at net.yacy.yacy.main(yacy.java:697)
Caused by: org.apache.solr.common.SolrException: Error Instantiating Update Handler, solr.DirectUpdateHandler2 failed to instantiate org.apache.solr.update.UpdateHandler
   at org.apache.solr.core.SolrCore.<init>(SolrCore.java:873)
   at org.apache.solr.core.SolrCore.<init>(SolrCore.java:646)
   at org.apache.solr.core.CoreContainer.create(CoreContainer.java:491)
   at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:255)
   at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:249)
   at java.util.concurrent.FutureTask.run(FutureTask.java:262)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.solr.common.SolrException: Error Instantiating Update Handler, solr.DirectUpdateHandler2 failed to instantiate org.apache.solr.update.UpdateHandler
   at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:564)
   at org.apache.solr.core.SolrCore.createUpdateHandler(SolrCore.java:620)
   at org.apache.solr.core.SolrCore.<init>(SolrCore.java:835)
   ... 8 more
Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
   at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:550)
   ... 10 more
Caused by: java.lang.OutOfMemoryError: Java heap space
   at org.apache.solr.update.TransactionLog.<init>(TransactionLog.java:154)
   at org.apache.solr.update.UpdateLog.init(UpdateLog.java:261)
   at org.apache.solr.update.UpdateHandler.<init>(UpdateHandler.java:134)
   at org.apache.solr.update.UpdateHandler.<init>(UpdateHandler.java:94)
   at org.apache.solr.update.DirectUpdateHandler2.<init>(DirectUpdateHandler2.java:100)
   ... 15 more


Server Linux Debian Jessie
lann
 
Beiträge: 2
Registriert: Sa Jan 03, 2015 3:04 pm

Re: Yacy crash

Beitragvon smokingwheels » So Jan 04, 2015 4:46 am

If you are using a VPS Cloud server it could be lack of swap space.

Try this.
cd /var
touch swap.img
chmod 600 swap.img
dd if=/dev/zero of=/var/swap.img bs=2048k count=1000
mkswap /var/swap.img
swapon /var/swap.img
echo "/var/swap.img none swap sw 0 0" >> /etc/ fstab

see https://www.digitalocean.com/community/ ... e-on-a-vps
About 1/3 down the page.
Hope this helps
smokingwheels
 
Beiträge: 126
Registriert: Sa Aug 31, 2013 7:16 am

Re: Yacy crash

Beitragvon lann » So Jan 04, 2015 4:02 pm

No my swap it's OK :

Code: Alles auswählen
             total       used       free     shared    buffers     cached
Mem:       1261756    1156628     105128          0      19888     324312
-/+ buffers/cache:     812428     449328
Swap:      2931856       8400    2923456


Thank you
lann
 
Beiträge: 2
Registriert: Sa Jan 03, 2015 3:04 pm

Re: Yacy crash

Beitragvon smokingwheels » Do Jan 08, 2015 10:43 am

lann

I gave it a try the other day using Virtual Box using Jessie Beta 2 and Yacy wont start.
I suggest you log a bug report at http://bugs.yacy.net/

I confirm the non starting but not being a guru have no way to get the logs yet if you could post it.
Thanks
smokingwheels
 
Beiträge: 126
Registriert: Sa Aug 31, 2013 7:16 am

Re: Yacy crash

Beitragvon Orbiter » So Jan 11, 2015 11:54 pm

as far as I can see from your error log you just run out of memory. Because you cannot change the memory setting from the online config page, you must set it in the config file before you start YaCy again. Do:
- open DATA/SETTINGS/yacy.conf
- change value "javastart_Xmx" to a higher value
Orbiter
 
Beiträge: 5787
Registriert: Di Jun 26, 2007 10:58 pm
Wohnort: Frankfurt am Main


Zurück zu English

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 2 Gäste

cron