JIRA 4.0 : Troubleshooting Profiling Memory and CPU usage with YourKit
This page last changed on Aug 16, 2006 by dylan@atlassian.com.
If some of the steps in the Profiling Memory and CPU usage with YourKit page are skipped or not correctly followed you could run into some trouble. Here are some things to look out for: 'Oops - an error has occurred' when viewing manageyourkitprofiling.jspIf you encounter an error page when trying to view the manageyourkitprofiling.jsp that looks like this:
It is likely that you have not correctly included the yjp-controller-api-redist.jar in your JIRA WEB-INF/lib directory or you have not restarted JIRA since you have placed the jar there. Please verify that the jar is present and that JIRA has been restarted and try again. HTTP Status 404 - /secure/admin/manageyourkitprofiling.jspIf you encounter this error when trying to view the manageyourkitprofiling.jsp then the likely cause is that you have not correctly placed the manageyourkitprofiling.jsp into your instance of JIRA. Please verify that the file is present in the correct place and try again. Error occurred during initialization of VM Could not find -Xrun library: libyjpagent.soIf you encounter this error then it is likely that you have not made the profiler agent library accessible to the Java Virtual Machine correctly while trying to use the -Xrunyjpagent JMV parameter. Please re-read the section on this and ensure that you have set this up correctly and try again. Error occurred during initialization of VM Could not find agent library on the library path or in the local directory: yjpagentIf you encounter this error then it is likely that you have not made the profiler agent library accessible to the Java Virtual Machine correctly while trying to use the -agentlib:yjpagent JMV parameter. Please re-read the section on this and ensure that you have set this up correctly and try again. 'Error: An unknown error occurred, caused by: To profile application, you should run it with the profiler agent' shown on manageyourkitprofiling.jsp pageIf you see this error when viewing the manageyourkitprofiling.jsp page then it is likely that you have not instructed the JVM running JIRA to use the YourKit Agent. Please re-read the section on this and ensure that you have set this up correctly and try again. |
![]() |
Document generated by Confluence on Oct 06, 2009 00:26 |