Re: [Neo4j] Help debugging server crash

2016-03-31 Thread 'Michael Hunger' via Neo4j
I just saw that you have much more RAM available than you use. You're running with 1G heap only but 4G of page-cache for the DB You should adapt the latter to your db-size and up the heap to 4 or 8 G depending on your use-case. Also if you could share your concrete queries that would be more

[Neo4j] Cannot install py2neo: cannot import name SSLContext

2016-03-31 Thread Alan Robertson
Hi, When I try and do a pip install "py2neo>2.0.7", I get the same error on exactly two versions of Linux: *Ubuntu precise* and *Debian wheezy*. The errors are reproducible. Re-creating a clean build environment from scratch doesn't help. The builds are exactly the same ones that I used to put

Re: [Neo4j] two identical relationships to the same node

2016-03-31 Thread Eric Fulton
The merge is not done by hand so the rel name will be consistent every time. I'm going to see if I can reproduce it. A little more information: Initially, that start node had two relationships A-[produces]->B A-[produces]->C The problem showed up after detach-deleting C after which we

[Neo4j] Help debugging server crash

2016-03-31 Thread Tim Pierson
I have a browser app communicating via REST with a neo4j-community server built in a docker-container using the latest image and I'm getting frequent (5min) crashes but can't seem to figure out which queries are causing it. The console.log and messages.log don't seem to contain anything

Re: [Neo4j] two identical relationships to the same node

2016-03-31 Thread 'Michael Hunger' via Neo4j
do you think you could reproduce it? Could it be that one of your rel-types has an "invisible" leading or trailing whitespace? Michael > Am 31.03.2016 um 23:48 schrieb Eric Fulton : > > That's good to know. As I've said before, we are not executing in a threaded >

Re: [Neo4j] two identical relationships to the same node

2016-03-31 Thread Eric Fulton
That's good to know. As I've said before, we are not executing in a threaded environment. Thanks, Eric -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [Neo4j] two identical relationships to the same node

2016-03-31 Thread Michael Hunger
Single thread it should work. Multi threaded you'd have to lock the two nodes first. Eg by removing one non-existant property Von meinem iPhone gesendet Am 31.03.2016 um 21:55 schrieb Eric Fulton : >> So in this case, the query is actually a MERGE. > > MATCH

Re: [Neo4j] two identical relationships to the same node

2016-03-31 Thread Eric Fulton
> > So in this case, the query is actually a MERGE. > MATCH (a:SecretObject {uid: {1}}),(b:SecretObject {uid: {2}}) "MERGE (a)<-[r:`%s`]-(b) -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails

Re: [Neo4j] two identical relationships to the same node

2016-03-31 Thread Mahesh Lal
Hello Eric, I'm sure you are aware of this difference, but would anyway put it here. What are you using to create the Relationship? CREATE or *CREATE UNIQUE.* I have observed that CREATE will create another relationship even though there is a pre-existing relationship. That is the contract of

Re: [Neo4j] two identical relationships to the same node

2016-03-31 Thread Eric Fulton
We are not doing any concurrent transaction, so that theory is out. Appreciate the suggestion though. Thanks, Eric -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [Neo4j] two identical relationships to the same node

2016-03-31 Thread Michael Hunger
Sure it can happen if you either create these rels or merge them concurrently without locking both nodes upfront. Von meinem iPhone gesendet > Am 31.03.2016 um 18:38 schrieb Eric Fulton : > > I've attached an image of what i'm talking about. > > I'm not sure how this

[Neo4j] two identical relationships to the same node

2016-03-31 Thread Eric Fulton
I've attached an image of what i'm talking about. I'm not sure how this can happen or how to undo it. Does anyone know? -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email

[Neo4j] Help running load2neo

2016-03-31 Thread Lucas Lourenço
Hello, I need to insert a lot of data into my neo4j db and I've came across load2neo, which seemed suitable for my case. I've parsed my data into a txt file named geoff. Inserted the line: org.neo4j.server.database.location=/Users/Lucas/Documents/Neo4j/testdb. load2neo=/load2neo at my

[Neo4j] Help running load2neo

2016-03-31 Thread Lucas Lourenço
Hello, I need to insert a lot of data into my neo4j db and I've came across load2neo, which seemed suitable for my case. I've parsed my data into a txt file named geoff. Inserted the line `org.neo4j.server.database.location=/Users/Lucas/Documents/Neo4j/testdb.load2neo=/load2neo` at my