[root@centos7 kibana-4.6.1-linux-x86_64]# bin/kibana plugin --remove reporting
Removing reporting...
[root@centos7 kibana-4.6.1-linux-x86_64]# bin/kibana plugin --install reporting --url file:///root/es/reporting-latest.tar.gz
Installing reporting
Attempting to transfer from file:///root/es/reporting-latest.tar.gz
Transferring 50539752 bytes....................
Transfer complete
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles...
Killed
Did you get this problem solved? Did you kill it after it appeared hung? It can take several minutes for that last step Optimizing and caching browser bundles...
I'm assuming the Killed
in the output came from the process. How much memory does your server have, and are you using swap?
The Kibana "optimize" step will take at least 2gb of ram, otherwise it'll just crash like this. You can probably get away with 1gb if you also have 1gb or more of swap, at the cost of the process taking a long time to run.
As a workaround, if you the both doesn't or can't have that much memory, you can run it on a box that does and then copy the whole Kibana package back to your server.
Yes, it seems that memory is not enough. I move them to the server where is much more memory.