Please raise a JIRA ticket for this missing option (and probably others of 
such kind). Some options may be missing, because there was no strict 
requirement to document them on Jenkins Wiki. I will make sure the option 
is documented.

Generally you should not need this reporting when everything goes well. But 
there were bugs with object unexporting, so I would not recommend turning 
it off unless your instance is really overloaded

вторник, 6 июня 2017 г., 14:27:52 UTC+2 пользователь Stephen Connolly 
написал:
>
> This is typically either a canary in the coal mine or the point where your 
> master is so highly loaded that you need to turn off some of the 
> diagnostics that are run automatically.
>
> If you do not have remoting issues, and your master is heavy usage (100's 
> of concurrent builds) then turn it off
>
> HTH 
>
>
> On Tue 6 Jun 2017 at 13:20, Łukasz Zachulski <[email protected] 
> <javascript:>> wrote:
>
>> Hello,
>>
>> Analyzing Jenkins' Remoting Component source code and agents' log files 
>> I've found a lot of warnings regarding "*reportStats*".
>>
>>
>> In logs:
>> 2017-06-05 23:58:55.789+0200 [id=28820] WARNING 
>> h.r.RemoteInvocationHandler$Unexporter#reportStats: The 5 minute average 
>> rate is 309.5±87.0/sec. At the 95% c
>> onfidence level this is above 100.0/sec. If this message is repeated 
>> often in the logs then seriously consider setting system property 
>> 'hudson.remoting.Remote
>> InvocationHandler.Unexporter.retainOrigin' to 'false' to trade debug 
>> diagnostics for reduced memory pressure.
>> 2017-06-06 00:02:25.393+0200 [id=28835] INFO    
>> h.r.RemoteInvocationHandler$Unexporter#reportStats: rate(1min) = 
>> 187.4±166.4/sec; rate(5min) = 278.4±122.9/s
>> ec; rate(15min) = 281.8±122.3/sec; rate(total) = 18.4±83.2/sec; N = 84,223
>>
>>
>> I source code 
>> <https://github.com/jenkinsci/remoting/blob/1cf29ce994a6087919e523a8b07d917e8e2075ae/src/main/java/hudson/remoting/RemoteInvocationHandler.java#L688>
>> :
>>             if (m15Std > 1 && 100 < m15Avg - 2 * m15Std) {
>>                 if (tStd > 1 && 100 < tAvg - 2 * tStd) {
>>                     logger.log(Level.SEVERE,
>>                             retainOrigin ?
>>                                     "The all time average rate is 
>> {0,number,0.0}±{1,number,0.0}/sec. "
>>                                     + "The 15 minute average rate is 
>> {2,number,0.0}±{3,number,0.0}/sec. "
>>                                             + "At the 95% confidence 
>> level both are above 100.0/sec. "
>>                                             + "If this message is 
>> repeated often in the logs then PLEASE "
>>                                             + "seriously consider setting 
>> system property ''hudson.remoting"
>>                                             + 
>> ".RemoteInvocationHandler.Unexporter.retainOrigin'' to "
>>                                             + "''false'' to trade debug 
>> diagnostics for reduced memory "
>>                                             + "pressure."
>>                                     : "The all time average rate is 
>> {0,number,0.0}±{1,number,0.0}/sec. "
>>                                                     + "The 15 minute 
>> average rate is {2,number,0.0}±{3,number,0.0}/sec. "
>>                                                     + "At the 95% 
>> confidence level both are above 100.0/sec. ",
>> new Object[]{tAvg, tStd, m15Avg, m15Std})
>>
>>
>>
>> But I haven't find anything about on Remoting Configuration page 
>> <https://github.com/jenkinsci/remoting/blob/master/docs/configuration.md> 
>> where "*Unexporter*.*retainOrigin*" is not mentioned at all.
>>
>> For what purpose does "RemoteInvocationHandler$Unexporter#*reportStats*" 
>> report this data?
>> What does "*retainOrigin*" flag do? 
>> When should I explicitly disable "*retainOrigin"* as asked.
>>
>>
>> With Regards,
>> Lukasz.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-dev/8fa770c3-458d-4d78-8287-38f9795a25d5%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-dev/8fa770c3-458d-4d78-8287-38f9795a25d5%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
> Sent from my phone
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/4bae370c-4614-444a-9be6-a591c14c48d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to