Disconnected from Neo4j. Please check if the cord is unplugged.

549 views
Skip to first unread message

Pavan Kumar

unread,
Jun 23, 2014, 2:51:39 AM6/23/14
to neo4j
Hi, 
I am running LOAD CSV on neo4j V 2.1.2
I am trying to import CSV file, While the query is executing, I am getting the following error

Disconnected from Neo4j. Please check if the cord is unplugged.

I am running on defalut port number.

Any solution?
--
Thanks & Regards,
Pavan

Michael Hunger

unread,
Jun 23, 2014, 3:06:23 AM6/23/14
to ne...@googlegroups.com
What is your server configuration? I think your server is just quite busy loading the data (and cleaning up memory), and stops responding to the web-client which then shows this message.

Heap-Memory (conf/neo4j-wrapper.conf), Mmio-config (conf/neo4j.properties)?


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

Smoked Haddock

unread,
Jun 25, 2014, 8:43:13 AM6/25/14
to ne...@googlegroups.com
Hi there,

I have an application which gathers patterns from newsfeeds and stores them in Neo4J ( see datamonkees.wpengine.com for details ). The application uses "merge" to create nodes, so that a counter can get updated when the same patterns recur.

My setup is Neo4J 2.1.0 on Ubuntu 13.10, Oracle 1.7 JVM with 2048M. I've followed the manual's suggestions on open files for Linux. I get the red unplugged band as well. Here's an excerpt from the log.

Jun 24, 2014 3:59:51 PM com.sun.jersey.server.impl.application.WebApplicationImpl _handleRequest
SEVERE: The response of the WebApplicationException cannot be utilized as the response is already committed. Re-throwing to the HTTP container
javax.ws.rs.WebApplicationException: javax.ws.rs.WebApplicationException: org.eclipse.jetty.io.EofException
    at org.neo4j.server.rest.repr.OutputFormat$1.write(OutputFormat.java:178)
    at com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:71)
    at com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:57)
    at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306)
    at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1437)
    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
    at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
    at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
    at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:698)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1506)
    at org.neo4j.server.rest.security.SecurityFilter.doFilter(SecurityFilter.java:112)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1477)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:211)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1096)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:432)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:175)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1030)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136)
    at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    at org.eclipse.jetty.server.Server.handle(Server.java:445)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:268)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:229)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.run(AbstractConnection.java:358)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:601)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:532)
    at java.lang.Thread.run(Thread.java:745)
Caused by: javax.ws.rs.WebApplicationException: org.eclipse.jetty.io.EofException
    at org.neo4j.server.rest.repr.formats.StreamingJsonFormat$StreamingListWriter.writeValue(StreamingJsonFormat.java:316)
    at org.neo4j.server.rest.repr.ListWriter.writeValue(ListWriter.java:75)
    at org.neo4j.server.rest.repr.ValueRepresentation.addTo(ValueRepresentation.java:49)
    at org.neo4j.server.rest.repr.ListRepresentation.serialize(ListRepresentation.java:65)
    at org.neo4j.server.rest.repr.Serializer.serialize(Serializer.java:75)
    at org.neo4j.server.rest.repr.MappingSerializer.putList(MappingSerializer.java:61)
    at org.neo4j.server.webadmin.rest.representations.RrdDataRepresentation$1.serialize(RrdDataRepresentation.java:68)
    at org.neo4j.server.rest.repr.Serializer.serialize(Serializer.java:40)
    at org.neo4j.server.rest.repr.MappingSerializer.putMapping(MappingSerializer.java:56)
    at org.neo4j.server.rest.repr.MappingRepresentation.putTo(MappingRepresentation.java:57)
    at org.neo4j.server.rest.repr.ObjectRepresentation$PropertyGetter.putTo(ObjectRepresentation.java:133)
    at org.neo4j.server.rest.repr.ObjectRepresentation.serialize(ObjectRepresentation.java:144)
    at org.neo4j.server.rest.repr.MappingRepresentation.serialize(MappingRepresentation.java:41)
    at org.neo4j.server.rest.repr.OutputFormat$1.write(OutputFormat.java:164)
    ... 30 more
Caused by: org.eclipse.jetty.io.EofException
    at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:186)
    at org.eclipse.jetty.io.WriteFlusher.completeWrite(WriteFlusher.java:400)
    at org.eclipse.jetty.io.SelectChannelEndPoint.onSelected(SelectChannelEndPoint.java:111)
    at org.eclipse.jetty.io.SelectorManager$ManagedSelector.processKey(SelectorManager.java:498)
    at org.eclipse.jetty.io.SelectorManager$ManagedSelector.select(SelectorManager.java:455)
    at org.eclipse.jetty.io.SelectorManager$ManagedSelector.run(SelectorManager.java:420)
    ... 3 more
Caused by: java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
    at sun.nio.ch.IOUtil.write(IOUtil.java:65)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:487)
    at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:165)
    ... 8 more


Googling shows that Mark Needham has already encountered this issue, cf.
http://www.markhneedham.com/blog/2014/01/27/neo4j-org-eclipse-jetty-io-eofexception-caused-by-java-io-ioexception-broken-pipe/
What's the recommended workaround?

Interestingly if I store on a graphenedb  Community 2.0.3 database the problem is not immediately apparent ( perhaps it will come as that database grows in size ). Just a thought, could this be Ubuntu 13.10 related?


Thanks for your time,

Best wishes,



Chris
Reply all
Reply to author
Forward
0 new messages