<?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: SIGSEGV in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv/m-p/3300154#M183647</link>
    <description>HI Paul,&lt;BR /&gt;&lt;BR /&gt;What is your dbc_max_pct value? consider to tune that one also.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Richard</description>
    <pubDate>Wed, 09 Jun 2004 06:20:03 GMT</pubDate>
    <dc:creator>Rgomes</dc:creator>
    <dc:date>2004-06-09T06:20:03Z</dc:date>
    <item>
      <title>SIGSEGV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv/m-p/3300153#M183646</link>
      <description>Hi, we have a application (written in house), this when run is consuming upto 90% of CPU then causing a core file and displaying.&lt;BR /&gt;&lt;BR /&gt;Pid 16740 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;The system is running UX11i, &lt;BR /&gt;Hardware = rp2430&lt;BR /&gt;Memory = 3gb&lt;BR /&gt;Swap = 5gb&lt;BR /&gt;&lt;BR /&gt;I know swap and memory are not getting hit as I have watched the values in glance during the time the process runs.&lt;BR /&gt;&lt;BR /&gt;The OS is runnning 64bits,&lt;BR /&gt;Now thepart which has confused me, I have been reading various posts on ITRC which suggest increasing maxssiz , others suggest maxdsiz.  I increase maxdsiz from &lt;BR /&gt;0x10000000 to 0x40000000&lt;BR /&gt;Actual parameters are, &lt;BR /&gt;maxdsiz            0x40000000  -  0X40000000&lt;BR /&gt;maxdsiz_64bit      0x40000000  -  0X40000000&lt;BR /&gt;maxssiz              16777216  -  16777216&lt;BR /&gt;maxssiz_64bit        16777216  -  16777216&lt;BR /&gt;maxtsiz             134217728  Y  134217728&lt;BR /&gt;maxtsiz_64bit      0x40000000  Y  0X40000000&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The fact I have done this and yet still the process produces a core file, it there anything else I can do ? &lt;BR /&gt;&lt;BR /&gt;Also , the value 0x40000000 relates in hex to 1073741824 , this is in bytes I assume, so this gives a GB stack size ? &lt;BR /&gt;&lt;BR /&gt;Should I increase maxssiz too ?&lt;BR /&gt;&lt;BR /&gt;Thanks for any replies&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jun 2004 06:04:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv/m-p/3300153#M183646</guid>
      <dc:creator>Paul Thomson_2</dc:creator>
      <dc:date>2004-06-09T06:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv/m-p/3300154#M183647</link>
      <description>HI Paul,&lt;BR /&gt;&lt;BR /&gt;What is your dbc_max_pct value? consider to tune that one also.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Richard</description>
      <pubDate>Wed, 09 Jun 2004 06:20:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv/m-p/3300154#M183647</guid>
      <dc:creator>Rgomes</dc:creator>
      <dc:date>2004-06-09T06:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv/m-p/3300155#M183648</link>
      <description>Richard, my values are&lt;BR /&gt;# kmtune | grep dbc&lt;BR /&gt;dbc_max_pct                10  -  10&lt;BR /&gt;dbc_min_pct                 5  -  5&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Bufpages is 0.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jun 2004 06:30:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv/m-p/3300155#M183648</guid>
      <dc:creator>Paul Thomson_2</dc:creator>
      <dc:date>2004-06-09T06:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv/m-p/3300156#M183649</link>
      <description>If a process produces and error like this, it seems to hit an infinite loop of recursive function calling... The stack is used to store local variables and CPU registers to reload after a function call has been finished.&lt;BR /&gt;&lt;BR /&gt;So, don't try to increase kernel parameters, but find the faulting function, I would say. Try looking into debuggers and such (which is best depends on the language used in the application).&lt;BR /&gt;&lt;BR /&gt;A simple question: did the size of the core file increase after increasing the kernel parameter for maxdsiz ?</description>
      <pubDate>Wed, 09 Jun 2004 07:33:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv/m-p/3300156#M183649</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2004-06-09T07:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv/m-p/3300157#M183650</link>
      <description>According to the error, it's the maxssiz parameter that's being exceeded.  &lt;BR /&gt;&lt;BR /&gt;Looking at the kernel parameters you've given, maxssize (stack size) is&lt;BR /&gt;&lt;BR /&gt;maxssiz 16777216 - 16777216&lt;BR /&gt;maxssiz_64bit 16777216 - 16777216&lt;BR /&gt;&lt;BR /&gt;This equates to 16Mb.  Try increasing this to see if it helps.&lt;BR /&gt;&lt;BR /&gt;a value of 33554432 will give you a 32MB stack size.  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;for reference, maxdsiz is the data segment size, and maxtsiz is the text segment size.</description>
      <pubDate>Wed, 09 Jun 2004 07:34:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv/m-p/3300157#M183650</guid>
      <dc:creator>Chris Wilshaw</dc:creator>
      <dc:date>2004-06-09T07:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv/m-p/3300158#M183651</link>
      <description>Thanks for posts, I will try increasing the stack to 32mb maxssiz and will let you know.</description>
      <pubDate>Wed, 09 Jun 2004 08:50:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv/m-p/3300158#M183651</guid>
      <dc:creator>Paul Thomson_2</dc:creator>
      <dc:date>2004-06-09T08:50:58Z</dc:date>
    </item>
  </channel>
</rss>

