You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/01/14 10:05:40 UTC

[GitHub] [shardingsphere] sandynz commented on issue #14576: InstanceId depended ManagementFactory.getRuntimeMXBean().getName() might cost much time on lock

sandynz commented on issue #14576:
URL: https://github.com/apache/shardingsphere/issues/14576#issuecomment-1012977940


   Any of them could solve this issue as a workaround out of code:
   
   1, `sudo vi /etc/hosts`, bind local host name and ip, e.g.
    ```
   127.0.0.1     myname.local
   ::1           myname.local
   ```
   
   2, Start proxy with JVM option: `-Djava.net.preferIPv4Stack=true`
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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