Hi Oskar:

I have been trying to figure out why the routingTime values are still so long 
on my machine even with the the Accept connection setup time discounted.

I have been watching the values reported by diagnostics, i.e.:

http://127.0.0.1:8889/diagnostics/routingTime/occurrences

Usually the value is ~= 5 - 150ms, but intermittently, my node appears to get 
stuck for a little while, and I see values as high as 70000ms (yes 70 
seconds!).  It eventually unsticks itself, and the values go back down.

I attached a thread dump from when the node was in the stuck state.

The most interesting follows below.  It's holding a lock on the 
routing table and the the directory while it syncs.   There are 16 other 
threads waiting on these two monitors.

Do you think that this is a problem in itself, or the symptom of another 
problem? i.e. why would the sync call take very long? or why would it be hard 
to acquire the directory's lock?

--gj




    PID:30081
    "QThread-1448: freenet.Message: DataReply 
@freenet.ConnectionHandler@4931ac84 @ 8c7eddfb57b" (TID:0x40ecef08, 
sys_thread_t:0x84143d0, state:R, native ID:0x16d053) prio=5
        at java.io.FileDescriptor.sync(Native Method)
        at freenet.fs.RAFStorage$FSOutputStream.flush(RAFStorage.java(Compiled Code))
        at java.io.FilterOutputStream.flush(FilterOutputStream.java(Compiled Code))
        at java.io.FilterOutputStream.close(FilterOutputStream.java(Compiled Code))
        at freenet.fs.WriteLock$WriteLockOutputStream.close(WriteLock.java(Compiled 
Code))
        at freenet.fs.acct.AccountingTable.putBlock(AccountingTable.java:164)
        at 
freenet.fs.acct.AccountingTable$BlockOutputStream.close(AccountingTable.java:183)
        at java.io.FilterOutputStream.close(FilterOutputStream.java(Compiled Code))
        at 
freenet.fs.acct.SingleAccountingProcess.flush(SingleAccountingProcess.java(Compiled 
Code))
        at freenet.fs.dir.FSDirectory.flush(FSDirectory.java:318)
        at freenet.fs.dir.SharedDirectory.flush(SharedDirectory.java:30)
        at freenet.fs.dir.LossyDirectory.forceFlush(LossyDirectory.java:62)
        at freenet.fs.dir.FSDataObjectStore.flush(FSDataObjectStore.java:46)
        at freenet.fs.dir.FSDataObjectStore.keys(FSDataObjectStore.java:116)
        at 
freenet.node.rt.DataObjectRoutingStore.remove(DataObjectRoutingStore.java:70)
        at freenet.node.rt.TreeRoutingTable.discard(TreeRoutingTable.java:118)
        at freenet.node.rt.TreeRoutingTable.reference(TreeRoutingTable.java:80)
        at freenet.node.rt.FilterRoutingTable.reference(FilterRoutingTable.java:38)
        at 
freenet.node.states.request.AwaitingStoreData.relayStoreData(AwaitingStoreData.java:103)
        at 
freenet.node.states.request.AwaitingStoreData.receivedMessage(AwaitingStoreData.java:85)
        at java.lang.reflect.Method.invoke(Native Method)
        at freenet.node.State.received(State.java(Compiled Code))
        at freenet.node.StateChain.received(StateChain.java(Compiled Code))
        at freenet.node.StateChain.received(StateChain.java(Compiled Code))
        at freenet.node.StateChain.received(StateChain.java(Compiled Code))
        at 
freenet.node.StandardMessageHandler$Ticket.run(StandardMessageHandler.java(Compiled 
Code))
        at 
freenet.node.StandardMessageHandler$Ticket.received(StandardMessageHandler.java(Compiled
 
Code))
        at 
freenet.node.StandardMessageHandler$Ticket.access$100(StandardMessageHandler.java(Compiled
 
Code))
        at 
freenet.node.StandardMessageHandler.handle(StandardMessageHandler.java(Compiled 
Code))
        at freenet.Ticker$Event.run(Ticker.java(Compiled Code))
        at freenet.thread.QThreadFactory$QThread.run(QThreadFactory.java(Compiled 
Code))





 


-- 
Freesite
(0.4) freenet:SSK@npfV5XQijFkF6sXZvuO0o~kG4wEPAgM/homepage//

Attachment: javacore28517.1027789635.txt.gz
Description: GNU Zip compressed data


Continuous:

routingTime

The amount of time between when requests are dispatched (client call or message received) and when the first route is found.
Aggregated over every minute . Recorded occurrences:
TimeMeanStd. Dev.MinimumMaximumObservations
7/27/02 5:14:44 PM EDT60387.00.060387.060387.01
7/27/02 5:14:44 PM EDT2067.00.02067.02067.01
7/27/02 5:14:44 PM EDT3438.00.03438.03438.01
7/27/02 5:14:44 PM EDT4475.00.04475.04475.01
7/27/02 5:14:58 PM EDT22653.00.022653.022653.01
7/27/02 5:14:59 PM EDT74160.00.074160.074160.01
7/27/02 5:14:59 PM EDT3966.00.03966.03966.01
7/27/02 5:14:59 PM EDT9755.00.09755.09755.01
7/27/02 5:14:59 PM EDT70628.00.070628.070628.01
7/27/02 5:14:59 PM EDT11412.00.011412.011412.01
7/27/02 5:14:59 PM EDT8764.00.08764.08764.01
7/27/02 5:15:00 PM EDT70585.00.070585.070585.01
7/27/02 5:15:00 PM EDT67320.00.067320.067320.01
7/27/02 5:15:00 PM EDT67108.00.067108.067108.01
7/27/02 5:15:00 PM EDT65124.00.065124.065124.01
7/27/02 5:15:00 PM EDT64649.00.064649.064649.01
7/27/02 5:15:00 PM EDT63619.00.063619.063619.01
7/27/02 5:15:00 PM EDT52996.00.052996.052996.01
7/27/02 5:15:00 PM EDT51656.00.051656.051656.01
7/27/02 5:15:00 PM EDT51123.00.051123.051123.01
7/27/02 5:15:00 PM EDT51137.00.051137.051137.01
7/27/02 5:15:00 PM EDT50098.00.050098.050098.01
7/27/02 5:15:00 PM EDT47135.00.047135.047135.01
7/27/02 5:15:00 PM EDT44417.00.044417.044417.01
7/27/02 5:15:00 PM EDT43692.00.043692.043692.01
7/27/02 5:15:00 PM EDT43024.00.043024.043024.01
7/27/02 5:15:00 PM EDT34911.00.034911.034911.01
7/27/02 5:15:00 PM EDT34001.00.034001.034001.01
7/27/02 5:15:00 PM EDT31581.00.031581.031581.01
7/27/02 5:15:00 PM EDT31034.00.031034.031034.01
7/27/02 5:15:00 PM EDT30474.00.030474.030474.01
7/27/02 5:15:00 PM EDT30367.00.030367.030367.01
7/27/02 5:15:00 PM EDT27064.00.027064.027064.01
7/27/02 5:15:00 PM EDT1740.00.01740.01740.01
7/27/02 5:15:00 PM EDT64758.00.064758.064758.01
7/27/02 5:15:01 PM EDT2394.00.02394.02394.01
7/27/02 5:15:10 PM EDT9708.00.09708.09708.01
7/27/02 5:15:10 PM EDT251.00.0251.0251.01
7/27/02 5:15:10 PM EDT8795.00.08795.08795.01
7/27/02 5:15:10 PM EDT7638.00.07638.07638.01
7/27/02 5:15:10 PM EDT1309.00.01309.01309.01
7/27/02 5:15:10 PM EDT809.00.0809.0809.01
7/27/02 5:15:10 PM EDT1193.00.01193.01193.01
7/27/02 5:15:10 PM EDT1105.00.01105.01105.01
7/27/02 5:15:10 PM EDT835.00.0835.0835.01
7/27/02 5:15:10 PM EDT9937.00.09937.09937.01
7/27/02 5:15:10 PM EDT632.00.0632.0632.01
7/27/02 5:15:10 PM EDT209.00.0209.0209.01
7/27/02 5:15:10 PM EDT26.00.026.026.01
7/27/02 5:15:14 PM EDT5.00.05.05.01
7/27/02 5:15:18 PM EDT6.00.06.06.01
7/27/02 5:15:18 PM EDT5.00.05.05.01
7/27/02 5:15:18 PM EDT6.00.06.06.01
7/27/02 5:15:18 PM EDT4.00.04.04.01
7/27/02 5:15:19 PM EDT5.00.05.05.01
7/27/02 5:15:19 PM EDT4.00.04.04.01
7/27/02 5:15:19 PM EDT4.00.04.04.01
7/27/02 5:15:19 PM EDT5.00.05.05.01
7/27/02 5:15:21 PM EDT6.00.06.06.01
7/27/02 5:15:25 PM EDT5.00.05.05.01

Reply via email to