YaCy fährt nicht / Keine Fehlermeldung / ECOTABLE initializa

Hier finden YaCy User Hilfe wenn was nicht funktioniert oder anders funktioniert als man dachte. Bei offensichtlichen Fehlern diese bitte gleich in die Bugs (http://bugs.yacy.net) eintragen.
Forumsregeln
In diesem Forum geht es um Benutzungsprobleme und Anfragen für Hilfe. Wird dabei ein Bug identifiziert, wird der thread zur Bearbeitung in die Bug-Sektion verschoben. Wer hier also einen Thread eingestellt hat und ihn vermisst, wird ihn sicherlich in der Bug-Sektion wiederfinden.

YaCy fährt nicht / Keine Fehlermeldung / ECOTABLE initializa

Beitragvon Halborinda » So Sep 21, 2008 7:10 am

Hi,

Mal wieder fährt mein YaCy nicht hoch.

Nach zehn Stunden hat sich nichts getan. Hier der volle Auszug aus den Logs:
Code: Alles auswählen
S 2008/09/20 12:12:14 STARTUP Java version: 1.6.0_06
S 2008/09/20 12:12:15 STARTUP Operation system: Linux
S 2008/09/20 12:12:15 STARTUP Application root-path: /yacy
S 2008/09/20 12:12:15 STARTUP Time zone: UTC+0200; UTC+0000 is 1221905535327
S 2008/09/20 12:12:15 STARTUP Maximum file system path length: 65535
I 2008/09/20 12:12:15 PLASMA This is the pro-version of YaCy
I 2008/09/20 12:12:16 PLASMA restoring dump for rwi heap 'index.dhtout.heap'
I 2008/09/20 12:12:17 PLASMA finished rwi heap restore: 23999 words, 534834 word/URL relations in 1 seconds
I 2008/09/20 12:12:17 PLASMA restoring dump for rwi heap 'index.dhtin.heap'
I 2008/09/20 12:12:17 PLASMA finished rwi heap restore: 0 words, 0 word/URL relations in 0 seconds
D 2008/09/20 12:12:17 STARTUP OPENING COLLECTION INDEX
D 2008/09/20 12:13:46 STARTUP opened array file /yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.00.00.kca with 17248372 RWIs
D 2008/09/20 12:13:46 STARTUP opened array file /yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.02.00.kca with 671439 RWIs
D 2008/09/20 12:13:46 STARTUP opened array file /yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.06.00.kca with 12298 RWIs
D 2008/09/20 12:13:46 STARTUP opened array file /yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.05.00.kca with 35101 RWIs
D 2008/09/20 12:13:46 STARTUP opened array file /yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.03.00.kca with 243848 RWIs
D 2008/09/20 12:13:46 STARTUP opened array file /yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.07.00.kca with 3948 RWIs
D 2008/09/20 12:13:46 STARTUP opened array file /yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.04.00.kca with 99770 RWIs
D 2008/09/20 12:13:46 STARTUP opened array file /yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.01.00.kca with 1765436 RWIs
I 2008/09/20 12:13:48 kelondroSplitTable opening partial eco table /yacy/DATA/INDEX/freeworld/TEXT/urls.200803
I 2008/09/20 12:13:48 ECOTABLE initialization of /yacy/DATA/INDEX/freeworld/TEXT/urls.200803: available RAM: 119MB, allocating space for 2744805 entries
I 2008/09/20 12:13:48 ECOTABLE /yacy/DATA/INDEX/freeworld/TEXT/urls.200803: EcoTable /yacy/DATA/INDEX/freeworld/TEXT/urls.200803 has table copy DISABLED
I 2008/09/20 12:13:48 ECOTABLE initializing RAM index for EcoTable urls.200803, please wait.
I 2008/09/20 12:14:08 kelondroSplitTable opening partial flex table /yacy/DATA/INDEX/freeworld/TEXT/urls.200801
I 2008/09/20 12:14:19 kelondroSplitTable opening partial eco table /yacy/DATA/INDEX/freeworld/TEXT/urls.200802
I 2008/09/20 12:14:19 ECOTABLE initialization of /yacy/DATA/INDEX/freeworld/TEXT/urls.200802: available RAM: 85MB, allocating space for 1752260 entries
I 2008/09/20 12:14:19 ECOTABLE /yacy/DATA/INDEX/freeworld/TEXT/urls.200802: EcoTable /yacy/DATA/INDEX/freeworld/TEXT/urls.200802 has table copy DISABLED
I 2008/09/20 12:14:19 ECOTABLE initializing RAM index for EcoTable urls.200802, please wait.
I 2008/09/20 12:14:36 kelondroSplitTable opening partial eco table /yacy/DATA/INDEX/freeworld/TEXT/urls.200806
I 2008/09/20 12:14:36 ECOTABLE initialization of /yacy/DATA/INDEX/freeworld/TEXT/urls.200806: available RAM: 25MB, allocating space for 1706249 entries
I 2008/09/20 12:14:36 MEMORY performed necessary GC, freed 43530 KB (requested/available/average: 42038 / 69433 / 0 KB)
I 2008/09/20 12:14:36 ECOTABLE /yacy/DATA/INDEX/freeworld/TEXT/urls.200806: EcoTable /yacy/DATA/INDEX/freeworld/TEXT/urls.200806 has table copy DISABLED
I 2008/09/20 12:14:36 ECOTABLE initializing RAM index for EcoTable urls.200806, please wait.
I 2008/09/20 12:15:05 kelondroSplitTable opening partial eco table /yacy/DATA/INDEX/freeworld/TEXT/urls.200807
I 2008/09/20 12:15:05 ECOTABLE initialization of /yacy/DATA/INDEX/freeworld/TEXT/urls.200807: available RAM: 27MB, allocating space for 864395 entries
I 2008/09/20 12:15:05 ECOTABLE /yacy/DATA/INDEX/freeworld/TEXT/urls.200807: EcoTable /yacy/DATA/INDEX/freeworld/TEXT/urls.200807 has table copy DISABLED
I 2008/09/20 12:15:05 ECOTABLE initializing RAM index for EcoTable urls.200807, please wait.
I 2008/09/20 12:15:14 kelondroSplitTable opening partial eco table /yacy/DATA/INDEX/freeworld/TEXT/urls.200808
I 2008/09/20 12:15:14 ECOTABLE initialization of /yacy/DATA/INDEX/freeworld/TEXT/urls.200808: available RAM: 25MB, allocating space for 614304 entries
I 2008/09/20 12:15:14 ECOTABLE /yacy/DATA/INDEX/freeworld/TEXT/urls.200808: EcoTable /yacy/DATA/INDEX/freeworld/TEXT/urls.200808 has table copy DISABLED
I 2008/09/20 12:15:14 ECOTABLE initializing RAM index for EcoTable urls.200808, please wait.
I 2008/09/20 12:15:21 kelondroSplitTable opening partial flex table /yacy/DATA/INDEX/freeworld/TEXT/urls.200712
I 2008/09/20 12:15:25 kelondroSplitTable opening partial eco table /yacy/DATA/INDEX/freeworld/TEXT/urls.200804
I 2008/09/20 12:15:25 ECOTABLE initialization of /yacy/DATA/INDEX/freeworld/TEXT/urls.200804: available RAM: 11MB, allocating space for 364637 entries


Um 22 Uhr habe ich meinen Rechner wieder ausgeschalten. Prozesse waren vorhanden, aber haben geidled.

Weitere Informationen:
Code: Alles auswählen
releaseVersion=0.601
releaseNr=$Revision: 5186 $
Linux meinpc 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686 GNU/Linux
Kubuntu 8.04
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode)


Irgendeine Idee?
Halborinda
 
Beiträge: 217
Registriert: Sa Jul 07, 2007 7:58 am

Re: YaCy fährt nicht / Keine Fehlermeldung / ECOTABLE initializa

Beitragvon Orbiter » So Sep 21, 2008 7:53 am

wie, kam dann im log nichts mehr?
dann bitte mal mit startYACY.sh -l starten, warten bis die gleiche Situation da ist, die Java-Prozess ID rausfinden (ps ax | grep java) und ein kill -3 auf die ID setzen, dann ist im log in yacy.log ein thread dump, den bitte hier posten.
Orbiter
 
Beiträge: 5796
Registriert: Di Jun 26, 2007 10:58 pm
Wohnort: Frankfurt am Main

Re: YaCy fährt nicht / Keine Fehlermeldung / ECOTABLE initializa

Beitragvon Halborinda » So Sep 21, 2008 9:17 am

Nein es stand nicht mehr im Log.

Aber dieses Mal stand ein bisschen was anderes im Log:
Code: Alles auswählen
S 2008/09/21 09:55:20 STARTUP Java version: 1.6.0_06
S 2008/09/21 09:55:20 STARTUP Operation system: Linux
S 2008/09/21 09:55:20 STARTUP Application root-path: /yacy
S 2008/09/21 09:55:20 STARTUP Time zone: UTC+0200; UTC+0000 is 1221983720894
S 2008/09/21 09:55:20 STARTUP Maximum file system path length: 65535
E 2008/09/21 09:55:20 STARTUP WARNING: the file /yacy/DATA/yacy.running exists, this usually means that a YaCy instance is still running
I 2008/09/21 09:55:21 PLASMA This is the pro-version of YaCy
I 2008/09/21 09:55:21 PLASMA restoring dump for rwi heap 'index.dhtout.heap'
I 2008/09/21 09:55:24 PLASMA finished rwi heap restore: 23999 words, 534834 word/URL relations in 2 seconds
I 2008/09/21 09:55:24 PLASMA restoring dump for rwi heap 'index.dhtin.heap'
I 2008/09/21 09:55:24 PLASMA finished rwi heap restore: 0 words, 0 word/URL relations in 0 seconds
D 2008/09/21 09:55:24 STARTUP OPENING COLLECTION INDEX
D 2008/09/21 09:56:31 STARTUP opened array file /yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.00.00.kca with 17248372 RWIs
D 2008/09/21 09:56:31 STARTUP opened array file /yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.02.00.kca with 671439 RWIs
D 2008/09/21 09:56:31 STARTUP opened array file /yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.06.00.kca with 12298 RWIs
D 2008/09/21 09:56:31 STARTUP opened array file /yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.05.00.kca with 35101 RWIs
D 2008/09/21 09:56:31 STARTUP opened array file /yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.03.00.kca with 243848 RWIs
D 2008/09/21 09:56:31 STARTUP opened array file /yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.07.00.kca with 3948 RWIs
D 2008/09/21 09:56:31 STARTUP opened array file /yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.04.00.kca with 99770 RWIs
D 2008/09/21 09:56:31 STARTUP opened array file /yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.01.00.kca with 1765436 RWIs
I 2008/09/21 09:56:32 kelondroSplitTable opening partial eco table /yacy/DATA/INDEX/freeworld/TEXT/urls.200803
I 2008/09/21 09:56:32 ECOTABLE initialization of /yacy/DATA/INDEX/freeworld/TEXT/urls.200803: available RAM: 103MB, allocating space for 2744805 entries
I 2008/09/21 09:56:32 ECOTABLE /yacy/DATA/INDEX/freeworld/TEXT/urls.200803: EcoTable /yacy/DATA/INDEX/freeworld/TEXT/urls.200803 has table copy DISABLED
I 2008/09/21 09:56:32 ECOTABLE initializing RAM index for EcoTable urls.200803, please wait.
I 2008/09/21 09:56:58 kelondroSplitTable opening partial flex table /yacy/DATA/INDEX/freeworld/TEXT/urls.200801
I 2008/09/21 09:57:03 kelondroSplitTable opening partial eco table /yacy/DATA/INDEX/freeworld/TEXT/urls.200802
I 2008/09/21 09:57:03 ECOTABLE initialization of /yacy/DATA/INDEX/freeworld/TEXT/urls.200802: available RAM: 93MB, allocating space for 1752260 entries
I 2008/09/21 09:57:03 ECOTABLE /yacy/DATA/INDEX/freeworld/TEXT/urls.200802: EcoTable /yacy/DATA/INDEX/freeworld/TEXT/urls.200802 has table copy DISABLED
I 2008/09/21 09:57:03 ECOTABLE initializing RAM index for EcoTable urls.200802, please wait.
I 2008/09/21 09:57:21 kelondroSplitTable opening partial eco table /yacy/DATA/INDEX/freeworld/TEXT/urls.200806
I 2008/09/21 09:57:21 ECOTABLE initialization of /yacy/DATA/INDEX/freeworld/TEXT/urls.200806: available RAM: 32MB, allocating space for 1706249 entries
I 2008/09/21 09:57:21 MEMORY performed necessary GC, freed 35663 KB (requested/available/average: 42038 / 69185 / 0 KB)
I 2008/09/21 09:57:21 ECOTABLE /yacy/DATA/INDEX/freeworld/TEXT/urls.200806: EcoTable /yacy/DATA/INDEX/freeworld/TEXT/urls.200806 has table copy DISABLED
I 2008/09/21 09:57:21 ECOTABLE initializing RAM index for EcoTable urls.200806, please wait.
I 2008/09/21 09:57:46 kelondroSplitTable opening partial eco table /yacy/DATA/INDEX/freeworld/TEXT/urls.200807
I 2008/09/21 09:57:46 ECOTABLE initialization of /yacy/DATA/INDEX/freeworld/TEXT/urls.200807: available RAM: 35MB, allocating space for 864395 entries
I 2008/09/21 09:57:46 ECOTABLE /yacy/DATA/INDEX/freeworld/TEXT/urls.200807: EcoTable /yacy/DATA/INDEX/freeworld/TEXT/urls.200807 has table copy DISABLED
I 2008/09/21 09:57:46 ECOTABLE initializing RAM index for EcoTable urls.200807, please wait.
I 2008/09/21 09:57:57 kelondroSplitTable opening partial eco table /yacy/DATA/INDEX/freeworld/TEXT/urls.200808
I 2008/09/21 09:57:57 ECOTABLE initialization of /yacy/DATA/INDEX/freeworld/TEXT/urls.200808: available RAM: 25MB, allocating space for 614304 entries
I 2008/09/21 09:57:57 ECOTABLE /yacy/DATA/INDEX/freeworld/TEXT/urls.200808: EcoTable /yacy/DATA/INDEX/freeworld/TEXT/urls.200808 has table copy DISABLED
I 2008/09/21 09:57:57 ECOTABLE initializing RAM index for EcoTable urls.200808, please wait.
I 2008/09/21 09:58:05 kelondroSplitTable opening partial flex table /yacy/DATA/INDEX/freeworld/TEXT/urls.200712
I 2008/09/21 09:58:08 kelondroSplitTable opening partial eco table /yacy/DATA/INDEX/freeworld/TEXT/urls.200804
I 2008/09/21 09:58:08 ECOTABLE initialization of /yacy/DATA/INDEX/freeworld/TEXT/urls.200804: available RAM: 7MB, allocating space for 364637 entries
I 2008/09/21 09:58:08 MEMORY performed necessary GC, freed 4864 KB (requested/available/average: 10594 / 12591 / 35663 KB)


Ich habe YaCy so gestartet, wie Du es geschrieben hast, dabei kam folgende hilfreiche Information zum Vorschein:
Code: Alles auswählen
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
        at de.anomic.kelondro.kelondroRowCollection.<init>(kelondroRowCollection.java:82)
        at de.anomic.kelondro.kelondroRowSet.<init>(kelondroRowSet.java:55)
        at de.anomic.kelondro.kelondroRAMIndex.reset(kelondroRAMIndex.java:52)
        at de.anomic.kelondro.kelondroRAMIndex.<init>(kelondroRAMIndex.java:43)
        at de.anomic.kelondro.kelondroBytesIntMap.<init>(kelondroBytesIntMap.java:45)
        at de.anomic.kelondro.kelondroEcoTable.<init>(kelondroEcoTable.java:120)
        at de.anomic.kelondro.kelondroSplitTable.init(kelondroSplitTable.java:144)
        at de.anomic.kelondro.kelondroSplitTable.<init>(kelondroSplitTable.java:78)
        at de.anomic.index.indexRepositoryReference.<init>(indexRepositoryReference.java:66)
        at de.anomic.plasma.plasmaWordIndex.<init>(plasmaWordIndex.java:149)
        at de.anomic.plasma.plasmaSwitchboard.<init>(plasmaSwitchboard.java:309)
        at yacy.startup(yacy.java:224)
        at yacy.main(yacy.java:1037)


Aber es gab keinen Thread-Dump mit kill -3.

Aber mit VisualVM konnte ich einen erstellen:
Code: Alles auswählen
Thread 13329 "DestroyJavaVM": (state = BLOCKED)

Thread 13340 "Thread-1": (state = BLOCKED)
   at java.lang.Thread.sleep(Native Method)
   at de.anomic.server.serverProfiling.run(serverProfiling.java:61)

VM Thread 13338 "Low Memory Detector": (state = BLOCKED)

VM Thread 13337 "CompilerThread1": (state = BLOCKED)

VM Thread 13336 "CompilerThread0": (state = BLOCKED)

Thread 13335 "Signal Dispatcher": (state = BLOCKED)

Thread 13334 "Finalizer": (state = BLOCKED)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x94ba65c8> (a java.lang.ref.ReferenceQueue$Lock)
   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
   - locked <0x94ba65c8> (a java.lang.ref.ReferenceQueue$Lock)
   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
   at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

Thread 13333 "Reference Handler": (state = BLOCKED)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x94ba65e8> (a java.lang.ref.Reference$Lock)
   at java.lang.Object.wait(Object.java:485)
   at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
   - locked <0x94ba65e8> (a java.lang.ref.Reference$Lock)


Ich habe den Heap von 512MB auf 1024MB erweitert.

Jetzt geht's...

Grüße
Halborinda
 
Beiträge: 217
Registriert: Sa Jul 07, 2007 7:58 am

Re: YaCy fährt nicht / Keine Fehlermeldung / ECOTABLE initializa

Beitragvon Halborinda » So Sep 21, 2008 9:31 am

Ich habe mir den Source-Code angesehen:
Code: Alles auswählen
private boolean running;

public serverProfiling(final long time) {
   this.delaytime = time;
   running = true;
}

public void run() {
   while (running) {
         update("memory", Long.valueOf(serverMemory.used()));
         try {
                     Thread.sleep(this.delaytime);
               } catch (final InterruptedException e) {
                     this.running = false;
               }
   }
}


Sollte es vielleicht folgend lauten?
Code: Alles auswählen
private volatile boolean running;


Grüße
Halborinda
 
Beiträge: 217
Registriert: Sa Jul 07, 2007 7:58 am


Zurück zu Fragen und Antworten

Wer ist online?

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

cron