Hi Johan,

here are some config details:

System is Ubuntu 10.10

uname -a
Linux dev1 2.6.35-28-generic #49-Ubuntu SMP Tue Mar 1 14:39:03 UTC 2011 
x86_64 GNU/Linux

Filesystem is ext4 on an SSD

03:00.0 SATA controller: JMicron Technology Corp. JMB361 AHCI/IDE (rev 02)

Host: scsi0 Channel: 00 Id: 00 Lun: 00
   Vendor: ATA      Model: C300-CTFDDAC064M Rev: 0002
   Type:   Direct-Access                    ANSI  SCSI revision: 05

Neo4j configuration:

Fri Mar 11 10:04:08 CET 2011: Physical mem: 7999MB, Heap size: 3640MB
Fri Mar 11 10:04:08 CET 2011: Kernel version: Neo4j - Graph Database 
Kernel 1.3.M03
Fri Mar 11 10:04:08 CET 2011: Neo4j - Graph Database Kernel 1.3.M03
Fri Mar 11 10:04:08 CET 2011: Operating System: Linux; version: 
2.6.35-28-generic; arch: amd64; cpus: 4
Fri Mar 11 10:04:08 CET 2011: VM Name: OpenJDK 64-Bit Server VM
Fri Mar 11 10:04:08 CET 2011: VM Vendor: Sun Microsystems Inc.
Fri Mar 11 10:04:08 CET 2011: VM Version: 19.0-b09

Greetings

Axel

On 11.03.2011 10:14, Johan Svensson wrote:
> Hi,
>
> I am assuming no manual modifying of log files or store files at
> runtime or between shutdowns/crashes and startups has been performed.
>
> What filesystem are you running this on (and with what configuration)?
>
> Massimo since you say it happen more and more if the db grows can you
> write a test case that starts from a clean db and triggers the
> problem?
>
> -Johan
>
> On Fri, Mar 11, 2011 at 9:52 AM, Massimo Lusetti<mluse...@gmail.com>  wrote:
>> On Thu, Mar 10, 2011 at 9:58 PM, Massimo Lusetti<mluse...@gmail.com>  wrote:
>>
>>> On Thu, Mar 10, 2011 at 6:11 PM, Axel Morgner<a...@morgner.de>  wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm getting an InvalidRecordException
>>>>
>>>> org.neo4j.kernel.impl.nioneo.store.InvalidRecordException: Node[5] is
>>>> neither firstNode[37781] nor secondNode[37782] for Relationship[188125]
>>>>      at
>>>> org.neo4j.kernel.impl.nioneo.xa.ReadTransaction.getMoreRelationships(ReadTransaction.java:131)
>>>>      at
>>>> org.neo4j.kernel.impl.nioneo.xa.NioNeoDbPersistenceSource$ReadOnlyResourceConnection.getMoreRelationships(NioNeoDbPersistenceSource.java:280)
>>>>      at
>>>> org.neo4j.kernel.impl.persistence.PersistenceManager.getMoreRelationships(PersistenceManager.java:100)
>>>>      at
>>>> org.neo4j.kernel.impl.core.NodeManager.getMoreRelationships(NodeManager.java:585)
>>>>      at
>>>> org.neo4j.kernel.impl.core.NodeImpl.getMoreRelationships(NodeImpl.java:358)
>>>>      at
>>>> org.neo4j.kernel.impl.core.IntArrayIterator.hasNext(IntArrayIterator.java:115)
>>>>
>>>> when iterating through the relationships of a certain node:
>>>>
>>>>              Node node = graphDb.getNodeById(sNode.getId());
>>>>
>>>>              Iterable<Relationship>  rels =
>>>> node.getRelationships(relType, dir);
>>>>
>>>>              for (Relationship r : rels) {<--------- here the expeption
>>>> occurs
>>>>                  ...
>>>>              }
>>>>
>>>> I'm using 1.3.M03.
>>>>
>>>> Seems that the database is in an inconsitant state. Don't know how this
>>>> could happen ...
>>>>
>>>>
>>>> Greetings
>>>>
>>>> Axel
>>>>
>>>> _______________________________________________
>>>> Neo4j mailing list
>>>> User@lists.neo4j.org
>>>> https://lists.neo4j.org/mailman/listinfo/user
>>>>
>>>
>>> I'm encountering this same/similar exception quite ofter lately, with
>>> the same 1.3.M03 version, on FreeBSD 8.2 with  OpenJDK Runtime
>>> Environment (build 1.6.0-b21) OpenJDK 64-Bit Server VM (build
>>> 19.0-b09, mixed mode):
>>>
>>> org.neo4j.kernel.impl.nioneo.store.InvalidRecordException:
>>> Record[4130751] not in use
>>>         at 
>>> org.neo4j.kernel.impl.nioneo.store.RelationshipStore.getRecord(RelationshipStore.java:194)
>>>         at 
>>> org.neo4j.kernel.impl.nioneo.store.RelationshipStore.getRecord(RelationshipStore.java:96)
>>>         at 
>>> org.neo4j.kernel.impl.nioneo.xa.WriteTransaction.connectRelationship(WriteTransaction.java:1435)
>>>         at 
>>> org.neo4j.kernel.impl.nioneo.xa.WriteTransaction.relationshipCreate(WriteTransaction.java:1389)
>>>         at 
>>> org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaConnection$RelationshipEventConsumerImpl.createRelationship(NeoStoreXaConnection.java:256)
>>>         at 
>>> org.neo4j.kernel.impl.nioneo.xa.NioNeoDbPersistenceSource$NioNeoDbResourceConnection.relationshipCreate(NioNeoDbPersistenceSource.java:370)
>>>         at 
>>> org.neo4j.kernel.impl.persistence.PersistenceManager.relationshipCreate(PersistenceManager.java:153)
>>>         at 
>>> org.neo4j.kernel.impl.core.NodeManager.createRelationship(NodeManager.java:309)
>>>         at 
>>> org.neo4j.kernel.impl.core.NodeImpl.createRelationshipTo(NodeImpl.java:387)
>>>         at 
>>> org.neo4j.kernel.impl.core.NodeProxy.createRelationshipTo(NodeProxy.java:186)
>>>
>>> Did it rings and alert bell!?
>>>
>>> Cheers
>>> --
>>> Massimo
>>> http://meridio.blogspot.com
>>>
>> I still getting these errors more and more as the DB grows in size and
>> node/relations numbers:
>>
>>
>>
>> org.neo4j.kernel.impl.nioneo.store.InvalidRecordException: Node[8388]
>> is neither firstNode[0] nor secondNode[0] for Relationship[4925127]
>>         at 
>> org.neo4j.kernel.impl.nioneo.xa.WriteTransaction.getMoreRelationships(WriteTransaction.java:909)
>>         at 
>> org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaConnection$RelationshipEventConsumerImpl.getMoreRelationships(NeoStoreXaConnection.java:304)
>>         at 
>> org.neo4j.kernel.impl.nioneo.xa.NioNeoDbPersistenceSource$NioNeoDbResourceConnection.getMoreRelationships(NioNeoDbPersistenceSource.java:465)
>>         at 
>> org.neo4j.kernel.impl.persistence.PersistenceManager.getMoreRelationships(PersistenceManager.java:100)
>>         at 
>> org.neo4j.kernel.impl.core.NodeManager.getMoreRelationships(NodeManager.java:585)
>>         at 
>> org.neo4j.kernel.impl.core.NodeImpl.getMoreRelationships(NodeImpl.java:358)
>>         at 
>> org.neo4j.kernel.impl.core.IntArrayIterator.hasNext(IntArrayIterator.java:115)
>>
>> Do you think the DB is getting corrupted?
>> --
>> Massimo
>> http://meridio.blogspot.com
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user


-- 
Axel Morgner
Creative Solutions - Software Engineering
GUI&  UX Design - Project Management

c/o inxire GmbH
Hanauer Landstr. 293a
60314 Frankfurt
Germany

Phone +49 151 40522060
E-mail a...@morgner.de
Web http://www.morgner.de

_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to