-
Notifications
You must be signed in to change notification settings - Fork 728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display information about container limits in javacore #1932
Comments
@DanHeidinga @pshipton can you please provide your inputs on this. |
The following section is found in the ENVINFO subcomponent. My vote is to put the new information after this section and before the CPU Information
@keithc-ca fyi |
Before the System Information section, or after the CPU Information is also fine with me. |
Which release is this being targeted for please? |
@SueChaplain If you are looking for java release, I believe this should be part of java 11. |
@SueChaplain this is unlikely to make 0.9.0 |
@joransiu fyi |
+1. We recently worked on a performance issue that was a result of an unexpected cpu quota being set on the container running the JVM. It would be great if such container constraints were dumped into javacore as suggested here. |
@joransiu I'm working on to add the cpu quota information in java dump. Can i know in which format it would be good to have. Like cpu quota and cpu period seperately or a ratio of it |
@keithc-ca I have added changes in OpenJ9 to get the cgroup information in a iterator model similar to approach taken for displaying env and system limits. you can have a look at the changes of OMR and Openj9. I feel this approach is better than the earlier one OMR and Openj9 for displaying Cgroup information. Can you please provide your comment on which approach is preferable Note : its a work in progress one and its not completely functional and working. |
I noticed that in your openj9 branch, all the changed files have altered permissions. Was that intentional, and if so, why? |
@keithc-ca sorry for that it was not intentional. Its due to my dev environment issue. Will fix it. |
fyi - as per the changes done by @bharathappali javacore is now displaying following subsystem metrics (more than what I have mentioned in my proposal earlier)
More information about these are available here: |
@pshipton - now that 0.9.0 is slightly delayed, will this go in please? |
@SueChaplain I don't expect there will be changes for this in 0.9.0 |
@ashu-mehra Please can you append a full javadump that includes this section. We need a new one for the user docs, so might as well use one that contains this extra information. Thanks |
@SueChaplain, @bharathappali is still working on finalizing the contents of this section. |
Is this going to make the 0.12 release, or should I move it out of plan? i.e. will it be delivered by Monday, seems unlikely. |
Since this didn't make the feature complete date, I'm moving it out of the 0.12 milestone as it's not a blocker. If it does happen to make it in, we can fix the milestone afterwards. |
As described in OpenJ9 issue eclipse-openj9#1932, cgroup information is useful for java developers in a debugging point of view. After PR 2994 merged in OMR, it has portlibrary api's to get cgroup information. In this PR we use those api's in runtime/rasdump/javadump.cpp to add cgroup information to javacore. Signed-off-by: bharathappali <[email protected]>
Doc update for eclipse-openj9/openj9#1932 Closes: eclipse-openj9#56 Signed-off-by: Sue Chaplain <[email protected]>
Doc update for eclipse-openj9/openj9#1932 Closes: eclipse-openj9#56 Signed-off-by: Sue Chaplain <[email protected]>
Doc update for eclipse-openj9/openj9#1932 Closes: eclipse-openj9#56 Signed-off-by: Sue Chaplain <[email protected]>
It would be useful to include container limits relevant to JVM in javacore.
Following information can be added to javacore:
Current javacore includes cpu information at two places:
GPINFO subcomponent
as:ENVINFO subcomponent
as:Also, there is no information on total physical memory of the system in javacore.
NATIVEMEMINFO subcomponent
displays only JVM's usage.Proposal
My proposal is to add a subsection to javacore under
ENVINFO subcomponent
that covers above mentioned information as:The text was updated successfully, but these errors were encountered: