<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: unable to create new native thread - linux in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/unable-to-create-new-native-thread-linux/m-p/4850647#M44707</link>
    <description>Check out this link, and check the 'increase threads' section:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://linuxperf.nl.linux.org/general/kerneltuning.html" target="_blank"&gt;http://linuxperf.nl.linux.org/general/kerneltuning.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rgrds,&lt;BR /&gt;       Bart</description>
    <pubDate>Sun, 26 Oct 2003 04:28:57 GMT</pubDate>
    <dc:creator>Schelstraete Bart_1</dc:creator>
    <dc:date>2003-10-26T04:28:57Z</dc:date>
    <item>
      <title>unable to create new native thread - linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-create-new-native-thread-linux/m-p/4850642#M44702</link>
      <description>I am getting this error when i start weblogic.&lt;BR /&gt;&lt;BR /&gt;Throwable: java.lang.OutOfMemoryError: unable to create new native thread&lt;BR /&gt;&lt;BR /&gt;I know it has to do something with number of threads per process.&lt;BR /&gt;&lt;BR /&gt;can anyone tell me what are these these parameters like nproc etc. Is there any parameter that sets no. of threads per process? per user?&lt;BR /&gt;pls let me know&lt;BR /&gt;thanks&lt;BR /&gt;vijay</description>
      <pubDate>Fri, 24 Oct 2003 15:19:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-create-new-native-thread-linux/m-p/4850642#M44702</guid>
      <dc:creator>Vijaya Kumar_3</dc:creator>
      <dc:date>2003-10-24T15:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: unable to create new native thread - linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-create-new-native-thread-linux/m-p/4850643#M44703</link>
      <description>Your Linux distribution would help.&lt;BR /&gt;&lt;BR /&gt;If you are running REd Hat 9, there is a graphical display for making some kernel changes on the fly in X-Windows.&lt;BR /&gt;&lt;BR /&gt;On older distributions, you have to compile a new kernel.&lt;BR /&gt;&lt;BR /&gt;Instructions:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=234110" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=234110&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 24 Oct 2003 15:25:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-create-new-native-thread-linux/m-p/4850643#M44703</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-10-24T15:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: unable to create new native thread - linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-create-new-native-thread-linux/m-p/4850644#M44704</link>
      <description>It is rhl 7.2 &lt;BR /&gt;&lt;BR /&gt;i would like to know the parameters, i tried searching for nthreads and nproc... but no luck.&lt;BR /&gt;&lt;BR /&gt;i know we can do on the fly kernel parameter changes in RHL7.2 too. i need to know threads parameters.&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;vijay</description>
      <pubDate>Fri, 24 Oct 2003 15:32:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-create-new-native-thread-linux/m-p/4850644#M44704</guid>
      <dc:creator>Vijaya Kumar_3</dc:creator>
      <dc:date>2003-10-24T15:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: unable to create new native thread - linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-create-new-native-thread-linux/m-p/4850645#M44705</link>
      <description>I dont remember in 7.2 but in 9.0 you can find this with the following command, try your luck !&lt;BR /&gt;&lt;BR /&gt;cat /proc/sys/kernel/threads-max&lt;BR /&gt;&lt;BR /&gt;# /sbin/sysctl -a&lt;BR /&gt;&lt;BR /&gt;will also show all the present kernel parameters.&lt;BR /&gt;&lt;BR /&gt;have a read of man sysctl to find out more about changing theses values.&lt;BR /&gt;&lt;BR /&gt;Hope this help by-pass this lack of ressources !&lt;BR /&gt;&lt;BR /&gt;J-P&lt;BR /&gt;</description>
      <pubDate>Sat, 25 Oct 2003 15:14:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-create-new-native-thread-linux/m-p/4850645#M44705</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2003-10-25T15:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: unable to create new native thread - linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-create-new-native-thread-linux/m-p/4850646#M44706</link>
      <description>I miss that part of your question on first read and reply.&lt;BR /&gt; &lt;BR /&gt;To set the number of process per user (nproc)&lt;BR /&gt;&lt;BR /&gt;cat /etc/security/limits.conf&lt;BR /&gt;&lt;BR /&gt;tell you the present values&lt;BR /&gt;you may change these to meet your needs.&lt;BR /&gt;&lt;BR /&gt;J-P&lt;BR /&gt;</description>
      <pubDate>Sat, 25 Oct 2003 15:25:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-create-new-native-thread-linux/m-p/4850646#M44706</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2003-10-25T15:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: unable to create new native thread - linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-create-new-native-thread-linux/m-p/4850647#M44707</link>
      <description>Check out this link, and check the 'increase threads' section:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://linuxperf.nl.linux.org/general/kerneltuning.html" target="_blank"&gt;http://linuxperf.nl.linux.org/general/kerneltuning.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rgrds,&lt;BR /&gt;       Bart</description>
      <pubDate>Sun, 26 Oct 2003 04:28:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-create-new-native-thread-linux/m-p/4850647#M44707</guid>
      <dc:creator>Schelstraete Bart_1</dc:creator>
      <dc:date>2003-10-26T04:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: unable to create new native thread - linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-create-new-native-thread-linux/m-p/4850648#M44708</link>
      <description>Thanks, Bart&lt;BR /&gt;&lt;BR /&gt;I found your link to be very good !&lt;BR /&gt;&lt;BR /&gt;The following entry from a few days back is nearly the same so I have posted A link there to to here&lt;BR /&gt;&lt;BR /&gt;link to other question here below&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=237598" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=237598&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope theses cross references help reply to both questions.&lt;BR /&gt;&lt;BR /&gt;J-P&lt;BR /&gt;</description>
      <pubDate>Sun, 26 Oct 2003 06:42:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-create-new-native-thread-linux/m-p/4850648#M44708</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2003-10-26T06:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: unable to create new native thread - linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-create-new-native-thread-linux/m-p/4850649#M44709</link>
      <description>I got the same problem.&lt;BR /&gt;&lt;BR /&gt;For jvm-options:&lt;BR /&gt; -Xssn -Xossn -XX:threadstacksize=n&lt;BR /&gt;can set thread stack size to n Kilobytes.&lt;BR /&gt;&lt;BR /&gt;These option works under Solaris, AIX,&lt;BR /&gt;but under linux, these options seems lose function. So the only way to decrease thread stack size from default 8M to a resonable size is to use system command:&lt;BR /&gt;&lt;BR /&gt;ulimit -s n&lt;BR /&gt;&lt;BR /&gt;This command can be added into the start up script so that only affect the java server.&lt;BR /&gt;&lt;BR /&gt;For my instance, with default setting, my Weblogic server can only use about 800M Heap. When I set thread stack size to 1024k by:&lt;BR /&gt;&lt;BR /&gt;ulimit -s 1024&lt;BR /&gt;&lt;BR /&gt;I can have a heap size at about 1.5G.&lt;BR /&gt;&lt;BR /&gt;For any process under linux, the total memory size cannot exceed 2G. For a JVM process,&lt;BR /&gt;MaxHeap + MaxPermsize + threadstacksizee * numberofThreads &amp;lt; 2G.&lt;BR /&gt;&lt;BR /&gt;So you can adjust your setting by you need.&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Nov 2004 04:20:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-create-new-native-thread-linux/m-p/4850649#M44709</guid>
      <dc:creator>chengsongbo</dc:creator>
      <dc:date>2004-11-25T04:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: unable to create new native thread - linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-create-new-native-thread-linux/m-p/4850650#M44710</link>
      <description>Thanks a lot</description>
      <pubDate>Wed, 23 Mar 2005 23:33:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-create-new-native-thread-linux/m-p/4850650#M44710</guid>
      <dc:creator>Vijaya Kumar_3</dc:creator>
      <dc:date>2005-03-23T23:33:59Z</dc:date>
    </item>
  </channel>
</rss>

