<?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: insufficient memory error with application in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/insufficient-memory-error-with-application/m-p/2609564#M854005</link>
    <description>Hello,&lt;BR /&gt;The HP-UX kernel has a default stack size of 8MB(?) per process.&lt;BR /&gt;You need to extend maxssiz and recompile the kernel (and reboot).&lt;BR /&gt;You can use SAM to do this.&lt;BR /&gt;(While at it, check out the maxdsiz parameter for the maximum amount&lt;BR /&gt;of data a program can use. It depends on your applications, if the&lt;BR /&gt;default of 64MB is enough or not.)&lt;BR /&gt;Tune maxssiz&lt;BR /&gt;     maxdsiz &lt;BR /&gt;for 32 bit&lt;BR /&gt;tune maxssiz_64&lt;BR /&gt;     maxdsiz_64 for 64 bit&lt;BR /&gt;</description>
    <pubDate>Thu, 08 Nov 2001 03:07:01 GMT</pubDate>
    <dc:creator>T G Manikandan</dc:creator>
    <dc:date>2001-11-08T03:07:01Z</dc:date>
    <item>
      <title>insufficient memory error with application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/insufficient-memory-error-with-application/m-p/2609562#M854003</link>
      <description>I recive this error from an application: &lt;BR /&gt;&lt;BR /&gt;Pid 4130 received a SIGSEGV for stack growth failure.&lt;BR /&gt;Possible causes: insufficient memory or swap space,&lt;BR /&gt;or stack size exceeded maxssiz.&lt;BR /&gt;&lt;BR /&gt;It dones NOT happen on a consistant basis.&lt;BR /&gt;&lt;BR /&gt;This same server is running Oracle 8.1.7. &lt;BR /&gt;&lt;BR /&gt;Here are my kernel parameters, &lt;BR /&gt;STRMSGSZ        65535&lt;BR /&gt;dbc_max_pct     35&lt;BR /&gt;max_thread_proc 512&lt;BR /&gt;maxdsiz         0X10000000&lt;BR /&gt;maxfiles        1024&lt;BR /&gt;maxfiles_lim    2048&lt;BR /&gt;maxssiz         0X10000000&lt;BR /&gt;maxssiz_64bit   0X10000000&lt;BR /&gt;maxswapchunks   8193&lt;BR /&gt;maxuprc         1024&lt;BR /&gt;maxusers        900&lt;BR /&gt;msgmax          65535&lt;BR /&gt;msgmnb          65535&lt;BR /&gt;msgmni          256&lt;BR /&gt;msgseg          7168&lt;BR /&gt;msgssz          1024&lt;BR /&gt;msgtql          1024&lt;BR /&gt;ncallout        8192&lt;BR /&gt;nflocks         8192&lt;BR /&gt;nkthread        (20+32*MAXUSERS)&lt;BR /&gt;nstrpty         60&lt;BR /&gt;num_tachyon_adapters 5&lt;BR /&gt;semaem          32767&lt;BR /&gt;semmni          1024&lt;BR /&gt;semmns          16384&lt;BR /&gt;semmnu          2048&lt;BR /&gt;semume          256&lt;BR /&gt;semvmx          65535&lt;BR /&gt;shmmax          0X40000000&lt;BR /&gt;shmmni          1024&lt;BR /&gt;shmseg          1024&lt;BR /&gt;&lt;BR /&gt;We have recently increased the maxssiz parameters to see if it fixed the above error, and it did not. &lt;BR /&gt;&lt;BR /&gt;Anyone come across the above error, if so what direction should I be proceeding in? &lt;BR /&gt;</description>
      <pubDate>Thu, 08 Nov 2001 00:28:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/insufficient-memory-error-with-application/m-p/2609562#M854003</guid>
      <dc:creator>VINCENT SPURGEON</dc:creator>
      <dc:date>2001-11-08T00:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: insufficient memory error with application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/insufficient-memory-error-with-application/m-p/2609563#M854004</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;   What userid is this application running as?&lt;BR /&gt;Check the "ulimit" setting of the userid which&lt;BR /&gt;it is using.&lt;BR /&gt;&lt;BR /&gt;  Some more things to check:&lt;BR /&gt;&lt;BR /&gt;  Swap -&amp;gt;  swapinfo -mt&lt;BR /&gt;&lt;BR /&gt;  maxdsiz  -&amp;gt; increase this parameter&lt;BR /&gt;  &lt;BR /&gt;  The problem normally occurs if the application is asking for malloc and does not get it.  &lt;BR /&gt;&lt;BR /&gt; Have a closer look at your application too.&lt;BR /&gt;&lt;BR /&gt;-raj&lt;BR /&gt;  &lt;BR /&gt;</description>
      <pubDate>Thu, 08 Nov 2001 02:52:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/insufficient-memory-error-with-application/m-p/2609563#M854004</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-11-08T02:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: insufficient memory error with application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/insufficient-memory-error-with-application/m-p/2609564#M854005</link>
      <description>Hello,&lt;BR /&gt;The HP-UX kernel has a default stack size of 8MB(?) per process.&lt;BR /&gt;You need to extend maxssiz and recompile the kernel (and reboot).&lt;BR /&gt;You can use SAM to do this.&lt;BR /&gt;(While at it, check out the maxdsiz parameter for the maximum amount&lt;BR /&gt;of data a program can use. It depends on your applications, if the&lt;BR /&gt;default of 64MB is enough or not.)&lt;BR /&gt;Tune maxssiz&lt;BR /&gt;     maxdsiz &lt;BR /&gt;for 32 bit&lt;BR /&gt;tune maxssiz_64&lt;BR /&gt;     maxdsiz_64 for 64 bit&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Nov 2001 03:07:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/insufficient-memory-error-with-application/m-p/2609564#M854005</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2001-11-08T03:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: insufficient memory error with application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/insufficient-memory-error-with-application/m-p/2609565#M854006</link>
      <description>Hello,&lt;BR /&gt;These links might help you.&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x29f9c6af36b7d5118ff10090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x29f9c6af36b7d5118ff10090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;check for the description for the kernel parameters using this link&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x29f9c6af36b7d5118ff10090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x29f9c6af36b7d5118ff10090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also increase the parameter maxtsiz-shared text segment size as you can avoid a another reboot.&lt;BR /&gt;&lt;BR /&gt;Another thing is that you cannot increase the parameter maxdsiz &amp;gt;2gb using SAM.&lt;BR /&gt;So you have to tune the parameter by using the command line&lt;BR /&gt;11.0 Manual Kernel Configuration &lt;BR /&gt;$ cd /stand/build &lt;BR /&gt;$ /usr/lbin/sysadm/system_prep -v -s system &lt;BR /&gt;&lt;BR /&gt;kmtune parm_name=value | kmtune parm_name+value &lt;BR /&gt;kmsystem -c y driver_name # these utilities modify the system &lt;BR /&gt;file at 11.0 &lt;BR /&gt;$ /usr/sbin/mk_kernel -s ./system &lt;BR /&gt;&lt;BR /&gt;$ mv /stand/system /stand/system.prev #new for dynamically &lt;BR /&gt;linked modules at 11.0 &lt;BR /&gt;$ mv /stand/build/system /stand/system &lt;BR /&gt;$ kmupdate # kmupdate automates moving &lt;BR /&gt;the kernel files into the &lt;BR /&gt;proper directory &lt;BR /&gt;&lt;BR /&gt;$ shutdown -ry 0 &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Nov 2001 04:04:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/insufficient-memory-error-with-application/m-p/2609565#M854006</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2001-11-08T04:04:14Z</dc:date>
    </item>
  </channel>
</rss>

