There is insufficient memory for the Java Runtime Environment to continue.
Cannot create worker GC thread. Out of system resources.
An error report file with more information is saved as:
/tmp/hs_err_pid15413.log
修改配置文件limits.conf
中的nproc限制上限是受文件/etc/security/limits.d/90-nproc.conf中nproc
值大小制约的,但是shell终端下是不受制约的。

这个值也会影响服务器的最大并发数,其实Linux是有文件句柄限制的,而且Linux默认不是很高,一般都是1024,生产服务器用其实很容易就达到这个数量,生产环境上面1024可能会不够,如遇到这个问题可适当调大。
注:本文转自http://support.transwarp.cn/t/hbase-shell-cannot-create-worker-gc-thread-out-of-system-resources/1049
Be First to Comment