You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/09/29 08:14:23 UTC

[GitHub] [pulsar] thetumbled opened a new issue, #17885: [Bug] Incorrect TotalNicLimit collected by pulsar

thetumbled opened a new issue, #17885:
URL: https://github.com/apache/pulsar/issues/17885

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
   
   
   ### Version
   
   2.11
   
   ### Minimal reproduce step
   
   org.apache.pulsar.broker.loadbalance.LinuxInfoUtils#getTotalNicLimit
   ![图片1](https://user-images.githubusercontent.com/52550727/192977255-fe621470-a2a8-43b9-81e5-31fd879fc027.png)
   
   speed value read in ```/sys/class/net/<iface>/speed``` is Mbits, not bit.
   https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-class-net
   ```
   What:		/sys/class/net/<iface>/speed
   Date:		October 2009
   KernelVersion:	2.6.33
   Contact:	netdev@vger.kernel.org
   Description:
   		Indicates the interface latest or current speed value. Value is
   		an integer representing the link speed in **Mbits/sec.**
   
   		Note: this attribute is only valid for interfaces that implement
   		the ethtool get_link_ksettings method (mostly Ethernet).
   ```
   
   ### What did you expect to see?
   
   ,
   
   ### What did you see instead?
   
   ,
   
   ### Anything else?
   
   ,
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] mattisonchao closed issue #17885: [Bug] Incorrect TotalNicLimit collected by pulsar

Posted by GitBox <gi...@apache.org>.
mattisonchao closed issue #17885: [Bug] Incorrect TotalNicLimit collected by pulsar
URL: https://github.com/apache/pulsar/issues/17885


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org