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

来源:互联网 发布:录音频的软件 编辑:程序博客网 时间:2024/05/19 11:17

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

####<2016-11-7 上午10时37分29秒 CST> <Error> <HTTP> <SCAPP09> <MaterialServer4> <[ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1478054249028> <BEA-101020> <[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.<init>(ThreadPool.java:51)
at weblogic.jsp.internal.client.AbstractThreadPool.createPool(AbstractThreadPool.java:39)
at weblogic.jsp.internal.client.ClientUtilsImpl.<init>(ClientUtilsImpl.java:48)

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

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

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

0 0
原创粉丝点击