Press "Enter" to skip to content

【问题分享】登陆hbase shell的时候报错Cannot create worker GC thread. Out of system resources.

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

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注