hang - How to debug Neo4J stalls? -
i have neo4j server running periodically stalls out 10s of seconds. web frontend it's "disconnected" red warning bar @ top, , instant rest query in application apparently hang, until stall ends , returns normal. web frontend becomes usable , rest query completes fine.
is there way debug happening during 1 of these stall periods? can list of running queries? or list of hosts connected server? or kind of indication of server load?
most jvm garbage collection kicking in because haven't allocated enough heap space.
there's number of ways debug this. can example enable gc logging (uncomment appropriate lines in neo4j-wrapper.conf), or use profiler (e.g. yourkit) see what's going on , why pauses.
Comments
Post a Comment