Error importing data into neo4j with py2neo version: 3.1.2

12 views
Skip to first unread message

Jon Endre Hausberg

unread,
Jan 29, 2018, 9:24:23 PM1/29/18
to Neo4j

Hi,

I am using  py2neo version: 3.1.2 to ingest data into neo4j.

 

After a while (about 4 million nodes 5 million relationships) I get Error 10055 an operation on a socket could not be preformed because the system lacked sufficient buffer space or because a queue was full. 


On Linux I get an error to many files open.

 

I am using:

 

graph.run(query_sting, data)

 

And this for transactions:

for i in data:

    tx.run(query_string, i)

    count +=1

 

    if count == 1000:

        tx.commit()

        tx = graph.begin()

        count = 0

if count > 0:

    tx.commit():

 

Is this way of execute statements wrong? Is there a way to close the connection after the transactions?


Best regards

Jon 





Michael Hunger

unread,
Jan 29, 2018, 9:31:09 PM1/29/18
to ne...@googlegroups.com
Can you try to set a higher ulimit for open files?


Michael

--
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 neo4j+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages