[Mulgara-dev] Mulgara process 100% CPU

Lotz, Michael (NIH/NIEHS) [C] LotzM at niehs.nih.gov
Tue Apr 26 16:06:45 UTC 2011


http://ehp01.niehs.nih.gov/mulgara/

I think it's Mulgara 2.0.1 - Rich Cave can verify.

Mike

________________________________________
From: Paul Gearon [gearon at ieee.org]
Sent: Tuesday, April 26, 2011 11:18 AM
To: Mulgara Developers
Subject: Re: [Mulgara-dev] Mulgara process 100% CPU

On Tue, Apr 26, 2011 at 10:32 AM, Lotz, Michael (NIH/NIEHS) [C]
<LotzM at niehs.nih.gov> wrote:
> Here is the error:
>
> 2011-04-26 10:30:23,848 INFO  jotm> stop JOTM [Standard shutdown hook org.objectweb.jotm]
> 2011-04-26 10:30:23,865 WARN  TuplesOperations> RuntimeException thrown in join [RMI TCP Connection(52)-157.98.93.161 org.mulgara.store.tuples.TuplesOperations]
> java.lang.NullPointerException
>        at org.mulgara.store.xa.MappedBlockFile.readBlock(MappedBlockFile.java:268)
>        at org.mulgara.store.xa.ManagedBlockFile$Phase.readBlock(ManagedBlockFile.java:388)
>        at org.mulgara.store.xa.AVLNode.init(AVLNode.java:1144)
>        at org.mulgara.store.xa.AVLNode.<init>(AVLNode.java:142)
>        at org.mulgara.store.xa.AVLNode.newInstance(AVLNode.java:180)
>        at org.mulgara.store.xa.AVLFile$Phase.getRootNode(AVLFile.java:304)
>        at org.mulgara.store.statement.xa.TripleAVLFile$Phase$AbstractStoreTuples.<init>(TripleAVLFile.java:1800)
>        at org.mulgara.store.statement.xa.TripleAVLFile$Phase$TuplesImpl.<init>(TripleAVLFile.java:2269)
>        at org.mulgara.store.statement.xa.TripleAVLFile$Phase.allTuples(TripleAVLFile.java:1226)
>        at org.mulgara.store.statement.xa.XAStatementStoreImpl$Phase.findTuples(XAStatementStoreImpl.java:1853)
>        at org.mulgara.store.statement.xa.XAStatementStoreImpl$ReadOnlyGraph.findTuples(XAStatementStoreImpl.java:1342)

This has been solid code for a long time (~10 years), so it's concerning for me.

I can try running the queries in the log against the data and see what
is failing. It looks like it's somehow asking a query against a closed
phase, but I can't really be certain, since the current state isn't
visible. (I mostly do functional programming now, and this kind of
thing is exactly the reason why functional is so much nicer!)

I may need to duplicate the state to follow what's happening. Is there
any way to look at that backup file please? What size is it? Also,
which version of Mulgara is Ambra using?

Regards,
Paul
_______________________________________________
Mulgara-dev mailing list
Mulgara-dev at mulgara.org
http://lists.mulgara.org/mailman/listinfo/mulgara-dev


More information about the Mulgara-dev mailing list