We are facing a very weird issue in Neo4j REST service hosted on windows azure. The service becomes inaccessible through code and webadmin console. On analyzing messages.log we found nothing and the most strange thing was GC monitor log was being logged in messages.logs even when service was not accessible. The service was in started state.
When nothing was found, we just restarted the service and it is accessible now. But we need to find the root cause analysis for why this happened. Is there any other logs/traces where we can actually find why the service behaved abnormally?
> We are facing a very weird issue in Neo4j REST service hosted on windows
> azure. The service becomes inaccessible through code and webadmin console.
> On analyzing messages.log we found nothing and the most strange thing was GC
> monitor log was being logged in messages.logs even when service was not
> accessible. The service was in started state.
> When nothing was found, we just restarted the service and it is accessible
> now. But we need to find the root cause analysis for why this happened. Is
> there any other logs/traces where we can actually find why the service
> behaved abnormally?
After a long time we faced the issue again. We ran threadprofiler of newrelic to find the cause for the same. And found some thread locking issue on an object.
Following is the screenshot of the same. Please suggest what can be done to overcome the locking behavior or is there any way through which we can drill down the goovy script which caused the issue.
On Wednesday, 3 October 2012 15:23:49 UTC+5:30, Khushbu Bhatewara wrote:
> Hi,
> We are facing a very weird issue in Neo4j REST service hosted on windows > azure. The service becomes inaccessible through code and webadmin > console. On analyzing messages.log we found nothing and the most strange > thing was GC monitor log was being logged in messages.logs even when > service was not accessible. The service was in started state.
> When nothing was found, we just restarted the service and it is accessible > now. But we need to find the root cause analysis for why this happened. Is > there any other logs/traces where we can actually find why the service > behaved abnormally?
> After a long time we faced the issue again. We ran threadprofiler of
> newrelic to find the cause for the same. And found some thread locking
> issue on an object.
> Following is the screenshot of the same. Please suggest what can be done
> to overcome the locking behavior or is there any way through which we can
> drill down the goovy script which caused the issue.
> On Wednesday, 3 October 2012 15:23:49 UTC+5:30, Khushbu Bhatewara wrote:
>> Hi,
>> We are facing a very weird issue in Neo4j REST service hosted on windows
>> azure. The service becomes inaccessible through code and webadmin
>> console. On analyzing messages.log we found nothing and the most strange
>> thing was GC monitor log was being logged in messages.logs even when
>> service was not accessible. The service was in started state.
>> When nothing was found, we just restarted the service and it is
>> accessible now. But we need to find the root cause analysis for why this
>> happened. Is there any other logs/traces where we can actually find why
>> the service behaved abnormally?
>> - Khushbu
> --
> 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/groups/opt_out.
On Wednesday, 3 October 2012 15:23:49 UTC+5:30, Khushbu Bhatewara wrote:
> Hi,
> We are facing a very weird issue in Neo4j REST service hosted on windows > azure. The service becomes inaccessible through code and webadmin > console. On analyzing messages.log we found nothing and the most strange > thing was GC monitor log was being logged in messages.logs even when > service was not accessible. The service was in started state.
> When nothing was found, we just restarted the service and it is accessible > now. But we need to find the root cause analysis for why this happened. Is > there any other logs/traces where we can actually find why the service > behaved abnormally?
On Wednesday, 3 October 2012 15:23:49 UTC+5:30, Khushbu Bhatewara wrote:
> Hi,
> We are facing a very weird issue in Neo4j REST service hosted on windows > azure. The service becomes inaccessible through code and webadmin > console. On analyzing messages.log we found nothing and the most strange > thing was GC monitor log was being logged in messages.logs even when > service was not accessible. The service was in started state.
> When nothing was found, we just restarted the service and it is accessible > now. But we need to find the root cause analysis for why this happened. Is > there any other logs/traces where we can actually find why the service > behaved abnormally?
> On Wednesday, 3 October 2012 15:23:49 UTC+5:30, Khushbu Bhatewara wrote:
>> Hi,
>> We are facing a very weird issue in Neo4j REST service hosted on windows
>> azure. The service becomes inaccessible through code and webadmin
>> console. On analyzing messages.log we found nothing and the most strange
>> thing was GC monitor log was being logged in messages.logs even when
>> service was not accessible. The service was in started state.
>> When nothing was found, we just restarted the service and it is
>> accessible now. But we need to find the root cause analysis for why this
>> happened. Is there any other logs/traces where we can actually find why
>> the service behaved abnormally?
>> - Khushbu
> --
> 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/groups/opt_out.
On Wednesday, 3 October 2012 15:23:49 UTC+5:30, Khushbu Bhatewara wrote:
> Hi,
> We are facing a very weird issue in Neo4j REST service hosted on windows > azure. The service becomes inaccessible through code and webadmin > console. On analyzing messages.log we found nothing and the most strange > thing was GC monitor log was being logged in messages.logs even when > service was not accessible. The service was in started state.
> When nothing was found, we just restarted the service and it is accessible > now. But we need to find the root cause analysis for why this happened. Is > there any other logs/traces where we can actually find why the service > behaved abnormally?
Mmh,
I wonder if you maybe are starting a transaction that spans the whole
database or so, and not committing it so that there is a transaction lock
hanging?
khushbu.bhatew...@gmail.com> wrote:
> We are running gremlin queries for get query. As well as, we are using
> groovy scripts for transactions - creation and updation.
> On Wednesday, 3 October 2012 15:23:49 UTC+5:30, Khushbu Bhatewara wrote:
>> Hi,
>> We are facing a very weird issue in Neo4j REST service hosted on windows
>> azure. The service becomes inaccessible through code and webadmin
>> console. On analyzing messages.log we found nothing and the most strange
>> thing was GC monitor log was being logged in messages.logs even when
>> service was not accessible. The service was in started state.
>> When nothing was found, we just restarted the service and it is
>> accessible now. But we need to find the root cause analysis for why this
>> happened. Is there any other logs/traces where we can actually find why
>> the service behaved abnormally?
>> - Khushbu
> --
> 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/groups/opt_out.
}}; On Wednesday, 3 October 2012 15:23:49 UTC+5:30, Khushbu Bhatewara wrote:
> Hi,
> We are facing a very weird issue in Neo4j REST service hosted on windows > azure. The service becomes inaccessible through code and webadmin > console. On analyzing messages.log we found nothing and the most strange > thing was GC monitor log was being logged in messages.logs even when > service was not accessible. The service was in started state.
> When nothing was found, we just restarted the service and it is accessible > now. But we need to find the root cause analysis for why this happened. Is > there any other logs/traces where we can actually find why the service > behaved abnormally?
We are also facing similar issue with Neo4j. Is there any solution to the problem?
We are using transactions to create relation with node. Committing and rolling back transactions properly using try catch. But if we put load on Neo4j and multiple nodes try to attachd with same node then transactions are waiting to aquire lock so that they can take lock and create relationship with same node... Neo4j is going in hang state if there is long queue pending... Ideally it should process queue. It can take time as other requests are getting processed... but unfortunately it going in hang state...
On Wednesday, October 3, 2012 3:23:49 PM UTC+5:30, Khushbu Bhatewara wrote:
> Hi,
> We are facing a very weird issue in Neo4j REST service hosted on windows > azure. The service becomes inaccessible through code and webadmin > console. On analyzing messages.log we found nothing and the most strange > thing was GC monitor log was being logged in messages.logs even when > service was not accessible. The service was in started state.
> When nothing was found, we just restarted the service and it is accessible > now. But we need to find the root cause analysis for why this happened. Is > there any other logs/traces where we can actually find why the service > behaved abnormally?
> We are also facing similar issue with Neo4j. Is there any solution to the problem?
> We are using transactions to create relation with node. Committing and rolling back transactions properly using try catch. But if we put load on Neo4j and multiple nodes try to attachd with same node then transactions are waiting to aquire lock so that they can take lock and create relationship with same node... Neo4j is going in hang state if there is long queue pending... Ideally it should process queue. It can take time as other requests are getting processed... but unfortunately it going in hang state...
> We have to restart Neo4j to bring it up.....
> -Vikas Y
> On Wednesday, October 3, 2012 3:23:49 PM UTC+5:30, Khushbu Bhatewara wrote:
>> Hi,
>> We are facing a very weird issue in Neo4j REST service hosted on windows azure. The service becomes inaccessible through code and webadmin console. On analyzing messages.log we found nothing and the most strange thing was GC monitor log was being logged in messages.logs even when service was not accessible. The service was in started state.
>> When nothing was found, we just restarted the service and it is accessible now. But we need to find the root cause analysis for why this happened. Is there any other logs/traces where we can actually find why the service behaved abnormally?
>> - Khushbu
> -- > 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/groups/opt_out.
On Wednesday, October 3, 2012 3:23:49 PM UTC+5:30, Khushbu Bhatewara wrote:
> Hi,
> We are facing a very weird issue in Neo4j REST service hosted on windows > azure. The service becomes inaccessible through code and webadmin > console. On analyzing messages.log we found nothing and the most strange > thing was GC monitor log was being logged in messages.logs even when > service was not accessible. The service was in started state.
> When nothing was found, we just restarted the service and it is accessible > now. But we need to find the root cause analysis for why this happened. Is > there any other logs/traces where we can actually find why the service > behaved abnormally?
I also made changes in thread configuration. Also, when neo4j hangs, if REST URL of Neo4j is requested , it responds with 502 HTTP status code.
The messages.log does not show any error. Also java.exe is running with optimal memory and CPU is at 100%.
But as soon as Neo4j is restarted it starts working. It is becoming a mystery as no error is found at Neo4j machine. We also tried profiling but did not found anything significant for help.
On Wednesday, 3 October 2012 15:23:49 UTC+5:30, Khushbu Bhatewara wrote:
> Hi,
> We are facing a very weird issue in Neo4j REST service hosted on windows > azure. The service becomes inaccessible through code and webadmin > console. On analyzing messages.log we found nothing and the most strange > thing was GC monitor log was being logged in messages.logs even when > service was not accessible. The service was in started state.
> When nothing was found, we just restarted the service and it is accessible > now. But we need to find the root cause analysis for why this happened. Is > there any other logs/traces where we can actually find why the service > behaved abnormally?
> Neo4j : 1.7
> Yes, we increased the thread count per core to 25.
> Code is something similar to snapshot which Khushbu shared.
> -Vikas Y
> On Wednesday, October 3, 2012 3:23:49 PM UTC+5:30, Khushbu Bhatewara wrote:
> Hi,
> We are facing a very weird issue in Neo4j REST service hosted on windows azure. The service becomes inaccessible through code and webadmin console. On analyzing messages.log we found nothing and the most strange thing was GC monitor log was being logged in messages.logs even when service was not accessible. The service was in started state.
> When nothing was found, we just restarted the service and it is accessible now. But we need to find the root cause analysis for why this happened. Is there any other logs/traces where we can actually find why the service behaved abnormally?
> - Khushbu
> -- > 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/groups/opt_out.
Around 10 parallel request coming for any update request similar to mentioned below.
We just faced the same issue again and took the thread profiler result from newrelic. PFA the screenshot. Also, after restarting neo4j, messages.log has non-clean shutdown entry with "Internal recovery completed, scanned 118549 log entries. Recovered 6571 transactions".In neo4j admin console, found some blank nodes created at the end.
On Wednesday, 3 October 2012 15:23:49 UTC+5:30, Khushbu Bhatewara wrote:
> Hi,
> We are facing a very weird issue in Neo4j REST service hosted on windows > azure. The service becomes inaccessible through code and webadmin > console. On analyzing messages.log we found nothing and the most strange > thing was GC monitor log was being logged in messages.logs even when > service was not accessible. The service was in started state.
> When nothing was found, we just restarted the service and it is accessible > now. But we need to find the root cause analysis for why this happened. Is > there any other logs/traces where we can actually find why the service > behaved abnormally?
On Wednesday, 3 October 2012 15:23:49 UTC+5:30, Khushbu Bhatewara wrote:
> Hi,
> We are facing a very weird issue in Neo4j REST service hosted on windows > azure. The service becomes inaccessible through code and webadmin > console. On analyzing messages.log we found nothing and the most strange > thing was GC monitor log was being logged in messages.logs even when > service was not accessible. The service was in started state.
> When nothing was found, we just restarted the service and it is accessible > now. But we need to find the root cause analysis for why this happened. Is > there any other logs/traces where we can actually find why the service > behaved abnormally?
> On Wednesday, 3 October 2012 15:23:49 UTC+5:30, Khushbu Bhatewara wrote:
> Hi,
> We are facing a very weird issue in Neo4j REST service hosted on windows azure. The service becomes inaccessible through code and webadmin console. On analyzing messages.log we found nothing and the most strange thing was GC monitor log was being logged in messages.logs even when service was not accessible. The service was in started state.
> When nothing was found, we just restarted the service and it is accessible now. But we need to find the root cause analysis for why this happened. Is there any other logs/traces where we can actually find why the service behaved abnormally?
> - Khushbu
> -- > 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/groups/opt_out.
On Wednesday, 3 October 2012 15:23:49 UTC+5:30, Khushbu Bhatewara wrote:
> Hi,
> We are facing a very weird issue in Neo4j REST service hosted on windows > azure. The service becomes inaccessible through code and webadmin > console. On analyzing messages.log we found nothing and the most strange > thing was GC monitor log was being logged in messages.logs even when > service was not accessible. The service was in started state.
> When nothing was found, we just restarted the service and it is accessible > now. But we need to find the root cause analysis for why this happened. Is > there any other logs/traces where we can actually find why the service > behaved abnormally?
On Wednesday, 3 October 2012 15:23:49 UTC+5:30, Khushbu Bhatewara wrote:
> Hi,
> We are facing a very weird issue in Neo4j REST service hosted on windows > azure. The service becomes inaccessible through code and webadmin > console. On analyzing messages.log we found nothing and the most strange > thing was GC monitor log was being logged in messages.logs even when > service was not accessible. The service was in started state.
> When nothing was found, we just restarted the service and it is accessible > now. But we need to find the root cause analysis for why this happened. Is > there any other logs/traces where we can actually find why the service > behaved abnormally?
On Wednesday, 3 October 2012 15:23:49 UTC+5:30, Khushbu Bhatewara wrote:
> Hi,
> We are facing a very weird issue in Neo4j REST service hosted on windows > azure. The service becomes inaccessible through code and webadmin > console. On analyzing messages.log we found nothing and the most strange > thing was GC monitor log was being logged in messages.logs even when > service was not accessible. The service was in started state.
> When nothing was found, we just restarted the service and it is accessible > now. But we need to find the root cause analysis for why this happened. Is > there any other logs/traces where we can actually find why the service > behaved abnormally?
This dump was taken while load testing for different functionality wherein NEO4J Rest batch request is executed for creating node and adding index to it. This operation does not use any gremlin query.
On Wednesday, 3 October 2012 15:23:49 UTC+5:30, Khushbu Bhatewara wrote:
> Hi,
> We are facing a very weird issue in Neo4j REST service hosted on windows > azure. The service becomes inaccessible through code and webadmin > console. On analyzing messages.log we found nothing and the most strange > thing was GC monitor log was being logged in messages.logs even when > service was not accessible. The service was in started state.
> When nothing was found, we just restarted the service and it is accessible > now. But we need to find the root cause analysis for why this happened. Is > there any other logs/traces where we can actually find why the service > behaved abnormally?
> This dump was taken while load testing for different functionality wherein NEO4J Rest batch request is executed for creating node and adding index to it. This operation does not use any gremlin query.
> On Wednesday, 3 October 2012 15:23:49 UTC+5:30, Khushbu Bhatewara wrote:
> Hi,
> We are facing a very weird issue in Neo4j REST service hosted on windows azure. The service becomes inaccessible through code and webadmin console. On analyzing messages.log we found nothing and the most strange thing was GC monitor log was being logged in messages.logs even when service was not accessible. The service was in started state.
> When nothing was found, we just restarted the service and it is accessible now. But we need to find the root cause analysis for why this happened. Is there any other logs/traces where we can actually find why the service behaved abnormally?
> - Khushbu
> -- > 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/groups/opt_out.
Can you please read thouroughly through your code?
From a quick look you are acquiring locks which you never release (b/c those objects only live in that scope) and locks that are not really released will not get released or gc'ed.
This object only lives in this block and still holds a write lock.
You should also release your lock in finally blocks.
> On Wednesday, 3 October 2012 15:23:49 UTC+5:30, Khushbu Bhatewara wrote:
> Hi,
> We are facing a very weird issue in Neo4j REST service hosted on windows azure. The service becomes inaccessible through code and webadmin console. On analyzing messages.log we found nothing and the most strange thing was GC monitor log was being logged in messages.logs even when service was not accessible. The service was in started state.
> When nothing was found, we just restarted the service and it is accessible now. But we need to find the root cause analysis for why this happened. Is there any other logs/traces where we can actually find why the service behaved abnormally?
> - Khushbu
> -- > 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/groups/opt_out.
> Thanks so much for those logs. Sorry for the late reply I'm at a
> conference all day up until Saturday but I immediately report it to the
> team.
> Michael
> Am 26.04.2013 um 10:55 schrieb Khushbu Bhatewara:
> This dump was taken while load testing for different functionality wherein
> NEO4J Rest batch request is executed for creating node and adding index to
> it. This operation does not use any gremlin query.
> On Wednesday, 3 October 2012 15:23:49 UTC+5:30, Khushbu Bhatewara wrote:
>> Hi,
>> We are facing a very weird issue in Neo4j REST service hosted on windows
>> azure. The service becomes inaccessible through code and webadmin
>> console. On analyzing messages.log we found nothing and the most strange
>> thing was GC monitor log was being logged in messages.logs even when
>> service was not accessible. The service was in started state.
>> When nothing was found, we just restarted the service and it is
>> accessible now. But we need to find the root cause analysis for why this
>> happened. Is there any other logs/traces where we can actually find why
>> the service behaved abnormally?
>> - Khushbu
> --
> 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/groups/opt_out.