A colleague has speculated that it maybe related to permissions. Im on a shared solaris box with no setuid access - can anyone elaborate on whether some specific access rights are required to use memory mapped IO?
Sent from my iPhone On 30 Jun 2011, at 11:20, Paul Bandler <pband...@cseuk.co.uk> wrote: > Further to an earlier posting I also notice this warning from neo4j which > sounds relevant..? Note that the application does continue and eventually > complete successfully having taken orders of magnitude longer than when run > on windows. This is running on solaris - any suggestions about what could > be causing this behaviour most welcome . Are there issues with using neo4j > on Solaris? > > Jun 30, 2011 10:58:59 AM > org.neo4j.kernel.impl.nioneo.store.PersistenceWindowPool logWarn > WARNING: > [./neo4j-advanced-1.4.M05/data/graph.db/neostore.relationshipstore.db] Unable > to memory map > org.neo4j.kernel.impl.nioneo.store.MappedMemException: Unable to map > pos=28593 recordSize=33 totalSize=104841 > at > org.neo4j.kernel.impl.nioneo.store.MappedPersistenceWindow.<init>(MappedPersistenceWindow.java:61) > at > org.neo4j.kernel.impl.nioneo.store.PersistenceWindowPool.allocateNewWindow(PersistenceWindowPool.java:603) > at > org.neo4j.kernel.impl.nioneo.store.PersistenceWindowPool.refreshBricks(PersistenceWindowPool.java:501) > at > org.neo4j.kernel.impl.nioneo.store.PersistenceWindowPool.acquire(PersistenceWindowPool.java:128) > at > org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore.acquireWindow(CommonAbstractStore.java:526) > at > org.neo4j.kernel.impl.nioneo.store.RelationshipStore.getChainRecord(RelationshipStore.java:327) > at > org.neo4j.kernel.impl.nioneo.xa.ReadTransaction.getMoreRelationships(ReadTransaction.java:114) > at > org.neo4j.kernel.impl.nioneo.xa.ReadTransaction.getMoreRelationships(ReadTransaction.java:97) > at > org.neo4j.kernel.impl.persistence.PersistenceManager.getMoreRelationships(PersistenceManager.java:108) > at > org.neo4j.kernel.impl.core.NodeManager.getMoreRelationships(NodeManager.java:604) > at > org.neo4j.kernel.impl.core.NodeImpl.getMoreRelationships(NodeImpl.java:403) > at > org.neo4j.kernel.impl.core.IntArrayIterator.hasNext(IntArrayIterator.java:98) > at > com.nomura.smo.vcs.rdm.neo4j.AbstractBaseNeo4j.getSectorRelations(AbstractBaseNeo4j.java:42) > > Sent from my iPhone > > On 30 Jun 2011, at 07:40, Paul Bandler <pband...@cseuk.co.uk> wrote: > >> When running a test neo4j application on Solaris that I have previously run >> successfully on Windows I'm encountering the following exception: >> >> Caused by: java.io.IOException: Resource temporarily unavailable >> at sun.nio.ch.FileChannelImpl.map0(Native Method) >> at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:747) >> at >> org.neo4j.kernel.impl.nioneo.store.MappedPersistenceWindow.<init>(MappedPersistenceWindow.java:53) >> >> Indeed this in turn is causing a huge knock-on effect but I've not included >> that stack trace for clarity. The program appears to attempt to continue, >> albeit at a snails pace. >> >> I'm running using the latest 1.4 milestone release, with a maximum heap of >> 2G, and defaulting all other store parameters. >> >> Any suggestions as to what is happening would be most welcome. >> _______________________________________________ >> Neo4j mailing list >> User@lists.neo4j.org >> https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user