Deadlock? Nur noch Blocked Threads und Waiting...

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.

Deadlock? Nur noch Blocked Threads und Waiting...

Beitragvon jdelmour » So Mär 07, 2010 1:06 pm

Hallo

ich glaube, ich habe wieder den gleichen Zustand erreicht wie gestern. Die CPU liegt bei 99%/100%, die Crawlingrate ist 0.

Im Threaddump sehe ich einen running thread und alle anderen sind BLOCKED oder WAITING.

Ich wollte die Anwendung dann stoppen und erhalte folgende Fehlermeldung:

/opt/yacy/stopYACY.sh: line 6: bin/apicall.sh: Permission denied
Apicall hat keinen Executable-Flag, vielleicht liegt diese Meldung zumindest daran.

ein TAIL -f auf yaci00.log zeigt an, das der Dienst weiter arbeitet. Es werden aber keine eigenen Crawlings mehr durchgeführt. PPM ist 0.

Nachdem ich auf das apicall-Script den Execuitable-Flag gesetzt und stopYACY.sh erneut aufgerufen habe, versucht sich YACY zu beenden.
Das Logfile ist jetzt voll mit Einträgen der Art "2010/03/07 12:59:07 serverProcessor putting poison pill in queue parseDocument, thread 7
I 2010/03/07 12:59:07 serverProcessor .. poison pill is in queue parseDocument, thread 7. awaiting termination"

Also ziemlich viele awaiting termination. Inzwischen ist der Terminierungs-Process durch. In der Situation gestern war dies innerhalb von 10 Minuten nicht möglich, da warteten die threads alle auf einander.

Hilft euch das weiter? Oder braucht ihr mehr infos?

Grüße, jdelmour


Unter dem Thread-Dump kommen die letzten LOG-Einträge während des Beendens.

Seit einem Neustart läuft die Anwendung wieder auf 99%, das Webinterface ist aber nicht erreichbar. Ich weiss jetzt gar nicht, in welchem der Logfiles man da weiter suchen soll...

Code: Alles auswählen
************* Start Thread Dump Sun Mar 07 12:52:33 CET 2010 *******************

YaCy Version: 0.94/6717
Assigned   Memory = 1047789568
Used       Memory = 672881952
Available  Memory = 374907616


THREADS WITH STATES: BLOCKED

Thread= job_pool-1-thread-26 id=94 BLOCKED
Thread= job_pool-1-thread-27 id=96 BLOCKED
Thread= job_pool-1-thread-28 id=98 BLOCKED
Thread= job_pool-1-thread-29 id=100 BLOCKED
Thread= job_pool-1-thread-30 id=102 BLOCKED
at de.anomic.crawler.Balancer.push(Balancer.java:244) [synchronized (this) {]
at de.anomic.crawler.NoticedURL.push(NoticedURL.java:154)
at de.anomic.crawler.CrawlStacker.stackCrawl(CrawlStacker.java:314)
at de.anomic.crawler.CrawlStacker.job(CrawlStacker.java:141)
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at net.yacy.kelondro.workflow.InstantBlockingThread.job(InstantBlockingThread.java:103)
at net.yacy.kelondro.workflow.AbstractBlockingThread.run(AbstractBlockingThread.java:66)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)


Thread= de.anomic.crawler.CrawlQueues.coreCrawlJob id=185 BLOCKED
at java.lang.Object.wait(Native Method)
at de.anomic.crawler.Balancer.pop(Balancer.java:428)
at de.anomic.crawler.NoticedURL.pop(NoticedURL.java:244)
at de.anomic.crawler.NoticedURL.pop(NoticedURL.java:211)
at de.anomic.crawler.CrawlQueues.coreCrawlJob(CrawlQueues.java:230)
at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at net.yacy.kelondro.workflow.InstantBusyThread.job(InstantBusyThread.java:98)
at net.yacy.kelondro.workflow.AbstractBusyThread.run(AbstractBusyThread.java:147)



THREADS WITH STATES: RUNNABLE

Thread= Session_127.0.0.1:38296#0 id=613517 RUNNABLE
at java.util.concurrent.ConcurrentHashMap$Values.iterator(ConcurrentHashMap.java:1187)
at de.anomic.crawler.Balancer.top(Balancer.java:521)
at de.anomic.crawler.NoticedURL.top(NoticedURL.java:263)
at de.anomic.crawler.NoticedURL.top(NoticedURL.java:202)
at queues_p.respond(queues_p.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at de.anomic.http.server.HTTPDFileHandler.invokeServlet(HTTPDFileHandler.java:1195)
at de.anomic.http.server.HTTPDFileHandler.doResponse(HTTPDFileHandler.java:752)
at de.anomic.http.server.HTTPDFileHandler.doGet(HTTPDFileHandler.java:234)
at de.anomic.http.server.HTTPDemon.GET(HTTPDemon.java:492)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at de.anomic.server.serverCore$Session.listen(serverCore.java:735)
at de.anomic.server.serverCore$Session.run(serverCore.java:629)


Thread= Session_127.0.0.1:58991#0 id=642229 RUNNABLE
at java.lang.Thread.getAllStackTraces(Thread.java:1487)
at Threaddump_p.respond(Threaddump_p.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at de.anomic.http.server.HTTPDFileHandler.invokeServlet(HTTPDFileHandler.java:1195)
at de.anomic.http.server.HTTPDFileHandler.doResponse(HTTPDFileHandler.java:752)
at de.anomic.http.server.HTTPDFileHandler.doGet(HTTPDFileHandler.java:234)
at de.anomic.http.server.HTTPDemon.GET(HTTPDemon.java:492)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at de.anomic.server.serverCore$Session.listen(serverCore.java:735)
at de.anomic.server.serverCore$Session.run(serverCore.java:629)


Thread= Timeout guard daemon id=640202 RUNNABLE
at java.net.Socket.<init>(Socket.java:240)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91)
at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158)
at java.lang.Thread.run(Thread.java:619)


Thread= httpd:8080 id=189 RUNNABLE
at java.net.ServerSocket.accept(ServerSocket.java:421)
at de.anomic.server.serverCore.job(serverCore.java:321)
at net.yacy.kelondro.workflow.AbstractBusyThread.run(AbstractBusyThread.java:147)



THREADS WITH STATES: TIMED_WAITING

Thread= de.anomic.crawler.CrawlQueues.remoteTriggeredCrawlJob id=183 TIMED_WAITING
Thread= de.anomic.data.bookmarksDB.autoReCrawl id=86 TIMED_WAITING
Thread= de.anomic.search.Switchboard.cleanupJob id=181 TIMED_WAITING
Thread= de.anomic.search.Switchboard.dhtTransferJob id=188 TIMED_WAITING
Thread= de.anomic.search.Switchboard.surrogateProcess id=182 TIMED_WAITING
Thread= de.anomic.yacy.yacyCore.peerPing id=187 TIMED_WAITING
Thread= de.anomic.yacy.yacyCore.publishSeedList id=186 TIMED_WAITING
at java.lang.Thread.sleep(Native Method)
at net.yacy.kelondro.workflow.AbstractBusyThread.ratz(AbstractBusyThread.java:204)
at net.yacy.kelondro.workflow.AbstractBusyThread.run(AbstractBusyThread.java:168)


Thread= Thread-1 id=10 TIMED_WAITING
at java.lang.Thread.sleep(Native Method)
at net.yacy.kelondro.util.MemoryTracker.run(MemoryTracker.java:59)



THREADS WITH STATES: WAITING

Thread= Log Runner id=9 WAITING
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:358)
at net.yacy.kelondro.logging.Log$logRunner.run(Log.java:320)


Thread= MultiThreadedHttpConnectionManager cleanup daemon id=32 WAITING
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ReferenceQueueThread.run(MultiThreadedHttpConnectionManager.java:1122)


Thread= Thread-4 id=30 WAITING
at java.util.concurrent.Semaphore.acquire(Semaphore.java:286)
at net.yacy.kelondro.rwi.IODispatcher.run(IODispatcher.java:149)


Thread= parseDocument_pool-1-thread-53 id=148 WAITING
Thread= parseDocument_pool-1-thread-54 id=150 WAITING
Thread= parseDocument_pool-1-thread-55 id=152 WAITING
Thread= parseDocument_pool-1-thread-56 id=154 WAITING
Thread= parseDocument_pool-1-thread-57 id=156 WAITING
Thread= parseDocument_pool-1-thread-58 id=158 WAITING
Thread= parseDocument_pool-1-thread-59 id=160 WAITING
Thread= parseDocument_pool-1-thread-60 id=162 WAITING
Thread= parseDocument_pool-1-thread-61 id=164 WAITING
Thread= parseDocument_pool-1-thread-62 id=166 WAITING
Thread= parseDocument_pool-1-thread-63 id=168 WAITING
Thread= parseDocument_pool-1-thread-64 id=170 WAITING
Thread= parseDocument_pool-1-thread-65 id=172 WAITING
Thread= parseDocument_pool-1-thread-66 id=174 WAITING
Thread= parseDocument_pool-1-thread-67 id=176 WAITING
Thread= parseDocument_pool-1-thread-68 id=178 WAITING
Thread= parseDocument_pool-1-thread-69 id=180 WAITING
at java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:254)
at net.yacy.kelondro.workflow.WorkflowProcessor.enQueue(WorkflowProcessor.java:154)
at de.anomic.crawler.CrawlStacker.enqueueEntry(CrawlStacker.java:168)
at de.anomic.search.Switchboard.parseDocument(Switchboard.java:1652)
at de.anomic.search.Switchboard.parseDocument(Switchboard.java:1565)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at net.yacy.kelondro.workflow.InstantBlockingThread.job(InstantBlockingThread.java:103)
at net.yacy.kelondro.workflow.AbstractBlockingThread.run(AbstractBlockingThread.java:66)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)


Thread= Thread-117573 id=615552 WAITING
Thread= Thread-117574 id=615845 WAITING
Thread= Thread-117575 id=616127 WAITING
Thread= Thread-117576 id=616388 WAITING
Thread= Thread-117577 id=616731 WAITING
Thread= Thread-117578 id=617046 WAITING
Thread= Thread-117579 id=617420 WAITING
Thread= Thread-117580 id=617710 WAITING
Thread= Thread-117581 id=617976 WAITING
Thread= Thread-117582 id=618288 WAITING
Thread= Thread-117583 id=618634 WAITING
Thread= Thread-117584 id=618974 WAITING
Thread= Thread-117586 id=619595 WAITING
Thread= Thread-117587 id=619935 WAITING
Thread= Thread-117588 id=620236 WAITING
Thread= Thread-117589 id=620565 WAITING
Thread= Thread-117590 id=620877 WAITING
Thread= Thread-117591 id=621184 WAITING
Thread= Thread-117592 id=621514 WAITING
Thread= Thread-117593 id=621832 WAITING
Thread= Thread-117595 id=622457 WAITING
at java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:254)
at net.yacy.kelondro.workflow.WorkflowProcessor.enQueue(WorkflowProcessor.java:154)
at de.anomic.search.Switchboard.toIndexer(Switchboard.java:1180)
at de.anomic.crawler.CrawlQueues$crawlWorker.run(CrawlQueues.java:572)


Thread= de.anomic.crawler.CrawlQueues.remoteCrawlLoaderJob id=184 WAITING
at java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:254)
at net.yacy.kelondro.workflow.WorkflowProcessor.enQueue(WorkflowProcessor.java:154)
at de.anomic.crawler.CrawlStacker.enqueueEntry(CrawlStacker.java:168)
at de.anomic.crawler.CrawlQueues.remoteCrawlLoaderJob(CrawlQueues.java:447)
at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at net.yacy.kelondro.workflow.InstantBusyThread.job(InstantBusyThread.java:98)
at net.yacy.kelondro.workflow.AbstractBusyThread.run(AbstractBusyThread.java:147)


Thread= Reference Handler daemon id=2 WAITING
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)


Thread= Finalizer daemon id=3 WAITING
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)


Thread= BQP6jN-0a4___pool-1-thread-376 id=526889 WAITING
Thread= BQP6jN-0a4___pool-1-thread-386 id=554703 WAITING
Thread= Java2D Disposer daemon id=218 WAITING
Thread= text.index_pool-1-thread-70 id=350 WAITING
Thread= text.index_pool-1-thread-71 id=351 WAITING
Thread= text.index_pool-1-thread-72 id=352 WAITING
Thread= text.index_pool-1-thread-73 id=353 WAITING
Thread= text.index_pool-1-thread-74 id=354 WAITING
Thread= text.index_pool-1-thread-75 id=355 WAITING
Thread= text.index_pool-1-thread-76 id=356 WAITING
Thread= text.index_pool-1-thread-77 id=357 WAITING
Thread= text.index_pool-1-thread-78 id=358 WAITING
at java.lang.Thread.run(Thread.java:619)


Thread= condenseDocument_pool-1-thread-44 id=130 WAITING
Thread= condenseDocument_pool-1-thread-45 id=132 WAITING
Thread= condenseDocument_pool-1-thread-46 id=134 WAITING
Thread= condenseDocument_pool-1-thread-47 id=136 WAITING
Thread= condenseDocument_pool-1-thread-48 id=138 WAITING
Thread= condenseDocument_pool-1-thread-49 id=140 WAITING
Thread= condenseDocument_pool-1-thread-50 id=142 WAITING
Thread= condenseDocument_pool-1-thread-51 id=144 WAITING
Thread= condenseDocument_pool-1-thread-52 id=146 WAITING
Thread= job_pool-1-thread-24 id=90 WAITING
Thread= job_pool-1-thread-25 id=92 WAITING
Thread= storeDocumentIndex_pool-1-thread-10 id=41 WAITING
Thread= storeDocumentIndex_pool-1-thread-11 id=43 WAITING
Thread= storeDocumentIndex_pool-1-thread-12 id=45 WAITING
Thread= storeDocumentIndex_pool-1-thread-13 id=47 WAITING
Thread= storeDocumentIndex_pool-1-thread-14 id=49 WAITING
Thread= storeDocumentIndex_pool-1-thread-15 id=51 WAITING
Thread= storeDocumentIndex_pool-1-thread-16 id=53 WAITING
Thread= storeDocumentIndex_pool-1-thread-17 id=55 WAITING
Thread= storeDocumentIndex_pool-1-thread-18 id=57 WAITING
Thread= storeDocumentIndex_pool-1-thread-19 id=59 WAITING
Thread= storeDocumentIndex_pool-1-thread-20 id=61 WAITING
Thread= storeDocumentIndex_pool-1-thread-21 id=63 WAITING
Thread= storeDocumentIndex_pool-1-thread-22 id=65 WAITING
Thread= storeDocumentIndex_pool-1-thread-23 id=67 WAITING
Thread= storeDocumentIndex_pool-1-thread-31 id=104 WAITING
Thread= storeDocumentIndex_pool-1-thread-32 id=106 WAITING
Thread= storeDocumentIndex_pool-1-thread-33 id=108 WAITING
Thread= storeDocumentIndex_pool-1-thread-34 id=110 WAITING
Thread= storeDocumentIndex_pool-1-thread-7 id=35 WAITING
Thread= storeDocumentIndex_pool-1-thread-8 id=37 WAITING
Thread= storeDocumentIndex_pool-1-thread-9 id=39 WAITING
Thread= webStructureAnalysis_pool-1-thread-35 id=112 WAITING
Thread= webStructureAnalysis_pool-1-thread-36 id=114 WAITING
Thread= webStructureAnalysis_pool-1-thread-37 id=116 WAITING
Thread= webStructureAnalysis_pool-1-thread-38 id=118 WAITING
Thread= webStructureAnalysis_pool-1-thread-39 id=120 WAITING
Thread= webStructureAnalysis_pool-1-thread-40 id=122 WAITING
Thread= webStructureAnalysis_pool-1-thread-41 id=124 WAITING
Thread= webStructureAnalysis_pool-1-thread-42 id=126 WAITING
Thread= webStructureAnalysis_pool-1-thread-43 id=128 WAITING
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:358)
at net.yacy.kelondro.workflow.WorkflowProcessor.take(WorkflowProcessor.java:104)
at net.yacy.kelondro.workflow.AbstractBlockingThread.run(AbstractBlockingThread.java:57)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)


Thread= main id=1 WAITING
at java.util.concurrent.Semaphore.acquire(Semaphore.java:286)
at de.anomic.search.Switchboard.waitForShutdown(Switchboard.java:2170)
at net.yacy.yacy.startup(yacy.java:395)
at net.yacy.yacy.main(yacy.java:1029)



THREADS WITH STATES: NEW


THREADS WITH STATES: TERMINATED


************* End Thread Dump Sun Mar 07 12:52:33 CET 2010 *******************


####################

log file

I 2010/03/07 12:59:19 serverProcessor queue webStructureAnalysis: shutdown.
I 2010/03/07 12:59:19 serverProcessor queue storeDocumentIndex: shutdown.
I 2010/03/07 12:59:19 STACKCRAWL Shutdown. waiting for remaining 1044 crawl stacker job entries. please wait.
I 2010/03/07 12:59:19 serverProcessor putting poison pill in queue CrawlStackerFast, thread 0
I 2010/03/07 12:59:19 serverProcessor .. poison pill is in queue CrawlStackerFast, thread 0. awaiting termination
I 2010/03/07 12:59:19 serverProcessor putting poison pill in queue CrawlStackerFast, thread 1
I 2010/03/07 12:59:19 serverProcessor .. poison pill is in queue CrawlStackerFast, thread 1. awaiting termination
I 2010/03/07 12:59:19 serverProcessor putting poison pill in queue CrawlStackerSlow, thread 0
I 2010/03/07 12:59:19 serverProcessor .. poison pill is in queue CrawlStackerSlow, thread 0. awaiting termination
I 2010/03/07 12:59:19 serverProcessor putting poison pill in queue CrawlStackerSlow, thread 1
I 2010/03/07 12:59:19 serverProcessor .. poison pill is in queue CrawlStackerSlow, thread 1. awaiting termination
I 2010/03/07 12:59:19 serverProcessor putting poison pill in queue CrawlStackerSlow, thread 2
I 2010/03/07 12:59:19 serverProcessor .. poison pill is in queue CrawlStackerSlow, thread 2. awaiting termination
I 2010/03/07 12:59:19 serverProcessor putting poison pill in queue CrawlStackerSlow, thread 3
I 2010/03/07 12:59:19 serverProcessor .. poison pill is in queue CrawlStackerSlow, thread 3. awaiting termination
I 2010/03/07 12:59:19 serverProcessor putting poison pill in queue CrawlStackerSlow, thread 4
I 2010/03/07 12:59:19 serverProcessor .. poison pill is in queue CrawlStackerSlow, thread 4. awaiting termination
I 2010/03/07 12:59:19 serverProcessor queue CrawlStackerFast: shutdown.
I 2010/03/07 12:59:21 serverProcessor queue CrawlStackerSlow: shutdown.
I 2010/03/07 12:59:21 STACKCRAWL Shutdown. Closing stackCrawl queue.
I 2010/03/07 12:59:21 PLASMA Saving Web Structure File
W 2010/03/07 12:59:22 StackTrace null
java.lang.InterruptedException
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:1899)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1934)
        at java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:254)
        at net.yacy.kelondro.workflow.WorkflowProcessor.enQueue(WorkflowProcessor.java:154)
        at de.anomic.search.Switchboard.toIndexer(Switchboard.java:1180)
        at de.anomic.crawler.CrawlQueues$crawlWorker.run(CrawlQueues.java:572)
W 2010/03/07 12:59:22 StackTrace null
java.lang.InterruptedException
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:1899)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1934)
        at java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:254)
        at net.yacy.kelondro.workflow.WorkflowProcessor.enQueue(WorkflowProcessor.java:154)
        at de.anomic.search.Switchboard.toIndexer(Switchboard.java:1180)
        at de.anomic.crawler.CrawlQueues$crawlWorker.run(CrawlQueues.java:572)
W 2010/03/07 12:59:22 StackTrace null
java.lang.InterruptedException
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1920)
        at java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:254)
        at net.yacy.kelondro.workflow.WorkflowProcessor.enQueue(WorkflowProcessor.java:154)
        at de.anomic.search.Switchboard.toIndexer(Switchboard.java:1180)
        at de.anomic.crawler.CrawlQueues$crawlWorker.run(CrawlQueues.java:572)
I 2010/03/07 12:59:22 NoticedURL CLOSING ALL STACKS
jdelmour
 
Beiträge: 8
Registriert: Sa Mär 06, 2010 5:44 pm

Re: Deadlock? Nur noch Blocked Threads und Waiting...

Beitragvon jdelmour » So Mär 07, 2010 1:37 pm

Ergänzung: Seit diesem yacy-restart bekomme ich auch keinen Start mehr hin.
Yacy fährt zwar hoch, bindet aber nicht mehr auf den Port 8080, bzw. auf gar keinen Port laut "netstat -tulpen"

Merkwürdiger weise wird auch "DATA/yacy.running" nicht selbständig gelöscht. Nach einem stopYACY.sh (bzw. killYACY) muss ich die Datei von Hand löschen, um im Logfile keinen Eintrag zu bekommen, das yacy-running schon existiert.

yacy00.log hat folgenden inhalt seit dem Neustart:

S 2010/03/07 13:34:32 STARTUP YaCy version: 0.94/6717
S 2010/03/07 13:34:32 STARTUP Java version: 1.6.0_12
S 2010/03/07 13:34:32 STARTUP Operation system: Linux
S 2010/03/07 13:34:32 STARTUP Application root-path: /opt/yacy
S 2010/03/07 13:34:32 STARTUP Time zone: UTC+0100; UTC+0000 is 1267965272150
S 2010/03/07 13:34:32 STARTUP Maximum file system path length: 65535
E 2010/03/07 13:34:32 STARTUP WARNING: the file /opt/yacy/DATA/yacy.running exists, this usually means that a YaCy instance is still running
I 2010/03/07 13:34:32 HeapReader generating index for /opt/yacy/DATA/WORK/api.bheap, 0 MB. Please wait.
I 2010/03/07 13:34:32 HeapReader finished index generation for /opt/yacy/DATA/WORK/api.bheap, 71 entries, 1 gaps.
I 2010/03/07 13:34:32 HeapReader generating index for /opt/yacy/DATA/WORK/robots.bheap, 13 MB. Please wait.
I 2010/03/07 13:34:32 HeapReader finished index generation for /opt/yacy/DATA/WORK/robots.bheap, 50121 entries, 0 gaps.
I 2010/03/07 13:34:32 HeapReader generating index for /opt/yacy/DATA/INDEX/freeworld/NETWORK/seed.new.heap, 0 MB. Please wait.
I 2010/03/07 13:34:32 HeapReader finished index generation for /opt/yacy/DATA/INDEX/freeworld/NETWORK/seed.new.heap, 19 entries, 10 gaps.
I 2010/03/07 13:34:32 kelondroBLOBHeap BLOB seed.new.heap: merged 0 free records

darüber hinaus passiert nichts.
jdelmour
 
Beiträge: 8
Registriert: Sa Mär 06, 2010 5:44 pm

Re: Deadlock? Nur noch Blocked Threads und Waiting...

Beitragvon Quix0r » Mi Mär 10, 2010 10:02 pm

Pake bitte solch dumps in ein Logfile und komprimiere es. Anschliessend dann bitte hochladen. :) Wegen der besseren Uebersictlichkeit wurde mir das "damals" angeraten.
Quix0r
 
Beiträge: 1345
Registriert: Di Jul 31, 2007 9:22 am
Wohnort: Krefeld


Zurück zu Fragen und Antworten

Wer ist online?

Mitglieder in diesem Forum: Exabot [Bot] und 2 Gäste