With MacOS Sierra, I was experiencing a huge delay in server start ups for WSO2 latest versions. They were like follows.
My Processing power was as bellow.
I was in really doubt, Why it took so much of time to start the server. When researching on that i could locate following discussion [1]. It was really interesting , you can go through it and understand it.
The solution i did as int he above blog post, i added a mapping to the canonical 127.0.0.1 address of my macbook hostname to my /etc/hosts file as bellow.
Once i done that, My ESB 5.0.0 server startup was 13 seconds.. So it reduced from 90 --> 13 seconds... Amazing haa... :D
[1] https://thoeni.io/post/macos-sierra-java/
Server | Version | Java Version | Startup Time | |||
WSO2 ESB | 4.8.1 | 1.7.0_80 | 15 Seconds | |||
WSO2 ESB | 5.0.0 | 1.7.0_80 | 90 Seconds | |||
WSO2 ESB | 5.0.0 | 1.8.0_101 | 89 Seconds | |||
API Manager | 1.7.0 | 1.7.0_80 | 17 seconds | |||
API Manager | 2.0.0 | 1.7.0_80 | 166 seconds | |||
API Manager | 2.0.0 | 1.8.0_101 | 167 seconds | |||
My Processing power was as bellow.
I was in really doubt, Why it took so much of time to start the server. When researching on that i could locate following discussion [1]. It was really interesting , you can go through it and understand it.
The solution i did as int he above blog post, i added a mapping to the canonical 127.0.0.1 address of my macbook hostname to my /etc/hosts file as bellow.
Once i done that, My ESB 5.0.0 server startup was 13 seconds.. So it reduced from 90 --> 13 seconds... Amazing haa... :D
[1] https://thoeni.io/post/macos-sierra-java/