You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by aledsage <gi...@git.apache.org> on 2016/05/31 00:04:46 UTC

[GitHub] brooklyn-docs pull request: Troubleshooting tips for slow Brooklyn

GitHub user aledsage opened a pull request:

    https://github.com/apache/brooklyn-docs/pull/73

    Troubleshooting tips for slow Brooklyn

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/aledsage/brooklyn-docs troubleshooting-slow-brooklyn

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/brooklyn-docs/pull/73.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #73
    
----
commit bf029d26180138a2ba71503344877f79538410fe
Author: Aled Sage <al...@gmail.com>
Date:   2016-05-31T00:04:15Z

    Troubleshooting tips for slow Brooklyn

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] brooklyn-docs pull request #73: Troubleshooting tips for slow Brooklyn

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/brooklyn-docs/pull/73


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] brooklyn-docs pull request: Troubleshooting tips for slow Brooklyn

Posted by neykov <gi...@git.apache.org>.
Github user neykov commented on a diff in the pull request:

    https://github.com/apache/brooklyn-docs/pull/73#discussion_r65199020
  
    --- Diff: guide/ops/troubleshooting/detailed-support-report.md ---
    @@ -0,0 +1,39 @@
    +---
    +layout: website-normal
    +title: Detailed Support Report
    +toc: /guide/toc.json
    +---
    +
    +If you wish to send a detailed report, then depending on the nature of the problem, consider 
    +collecting the following information.
    +
    +See [Brooklyn Slow or Unresponse](slow-unresponsive.html) docs for details of these commands.
    + 
    +{% highlight bash %}
    +BROOKLYN_HOME=/home/users/brooklyn/apache-brooklyn-0.9.0-bin
    +BROOKLYN_PID=$(cat $BROOKLYN_HOME/pid_java)
    +REPORT_DIR=/tmp/brooklyn-report/
    +
    +uname -a > ${REPORT_DIR}/uname.txt
    +df -h > ${REPORT_DIR}/df.txt
    +cat /proc/cpuinfo > ${REPORT_DIR}/cpuinfo.txt
    +cat /proc/meminfo > ${REPORT_DIR}/meminfo.txt
    +ulimit -a > ${REPORT_DIR}/ulimit.txt
    +top -n 1 -b > ${REPORT_DIR}/top.txt
    +lsof -p ${BROOKLYN_PID} > ${REPORT_DIR}/lsof.txt
    +netstat -an > ${REPORT_DIR}/netstat.txt
    +
    +jmap -histo:live $BROOKLYN_PID > ${REPORT_DIR}/jmap-histo.txt
    +jmap -heap $BROOKLYN_PID > ${REPORT_DIR}/jmap-heap.txt
    +for i in {1..10}; do
    +  jstack ${BROOKLYN_PID} > ${REPORT_DIR}/jstack.${i}.txt
    +  sleep 1
    +done
    +tar czf brooklyn-report.tgz ${REPORT_DIR}
    +{% endhighlight %}
    +
    +Also consider providing your log files and persisted state, though extreme care should be taken if
    --- End diff --
    
    Alternatively could include "grep 'brooklyn gc' cloudsoft-amp.debug.log` which won't contain any sensitive information but will provide useful feedback on the memory pressure of the heap.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] brooklyn-docs issue #73: Troubleshooting tips for slow Brooklyn

Posted by aledsage <gi...@git.apache.org>.
Github user aledsage commented on the issue:

    https://github.com/apache/brooklyn-docs/pull/73
  
    Thanks - I've incorporated those comments; merging now.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] brooklyn-docs pull request: Troubleshooting tips for slow Brooklyn

Posted by neykov <gi...@git.apache.org>.
Github user neykov commented on the pull request:

    https://github.com/apache/brooklyn-docs/pull/73
  
    Very useful and extensive. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] brooklyn-docs pull request: Troubleshooting tips for slow Brooklyn

Posted by neykov <gi...@git.apache.org>.
Github user neykov commented on a diff in the pull request:

    https://github.com/apache/brooklyn-docs/pull/73#discussion_r65198449
  
    --- Diff: guide/ops/troubleshooting/detailed-support-report.md ---
    @@ -0,0 +1,39 @@
    +---
    +layout: website-normal
    +title: Detailed Support Report
    +toc: /guide/toc.json
    +---
    +
    +If you wish to send a detailed report, then depending on the nature of the problem, consider 
    +collecting the following information.
    +
    +See [Brooklyn Slow or Unresponse](slow-unresponsive.html) docs for details of these commands.
    + 
    +{% highlight bash %}
    +BROOKLYN_HOME=/home/users/brooklyn/apache-brooklyn-0.9.0-bin
    +BROOKLYN_PID=$(cat $BROOKLYN_HOME/pid_java)
    +REPORT_DIR=/tmp/brooklyn-report/
    +
    +uname -a > ${REPORT_DIR}/uname.txt
    +df -h > ${REPORT_DIR}/df.txt
    +cat /proc/cpuinfo > ${REPORT_DIR}/cpuinfo.txt
    +cat /proc/meminfo > ${REPORT_DIR}/meminfo.txt
    +ulimit -a > ${REPORT_DIR}/ulimit.txt
    --- End diff --
    
    This will show the limits for the current user which might be completely different from those on the process, depending on how it was launched. Could replace with `cat /proc/$BROOKLYN_PID/limits`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---