java.lang.OutOfMemoryError: unable to create new native thread

偏执的太偏执、 2022-07-15 07:14 255阅读 0赞

今天现场weblogic出现不能创建线程的内存溢出的错误。

####<2016-11-7 上午10时37分29秒 CST> <[ACTIVE] ExecuteThread: ‘12’ for queue: ‘weblogic.kernel.Default (self-tuning)’> <> <> <> <1478054249028> <[ServletContext@2009164895[app:EAR module:web path:/web spec-version:2.5]] Servlet failed with Exception

java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:640)
at weblogic.jsp.internal.client.ThreadPool.(ThreadPool.java:51)
at weblogic.jsp.internal.client.AbstractThreadPool.createPool(AbstractThreadPool.java:39)
at weblogic.jsp.internal.client.ClientUtilsImpl.(ClientUtilsImpl.java:48)

at weblogic.jsp.internal.client.ClientUtilsImpl.get(ClientUtilsImpl.java:61)

我看了一下dump文件,只有126个线程,而JVM默认thread stack的大小为1024(可以通过-Xss128k配置),那是什么问题呢?

linux nproc的限制,现场操作系统修改了这个参数,但是中间件没有重启。

发表评论

表情:
评论列表 (有 0 条评论,255人围观)

还没有评论,来说两句吧...

相关阅读