<?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: Memory ??? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149065#M900855</link>
    <description>Hi&lt;BR /&gt;the program is first precompiled by the oracle precompiler - I see the $ORACLE_HOME/precomp/lib has an equivelent ../lib64 dir. Do I have to change something in the $ORACLE_HOME/precomp/lib/env_precomp.mk for it to use the lib64 ?&lt;BR /&gt;&lt;BR /&gt;cheers</description>
    <pubDate>Tue, 23 Dec 2003 03:16:30 GMT</pubDate>
    <dc:creator>AntBark</dc:creator>
    <dc:date>2003-12-23T03:16:30Z</dc:date>
    <item>
      <title>Memory ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149049#M900839</link>
      <description>Hi - I recently completed a migration from a D320 Server to a B1000 Workstation. 32 to 64 bit. New system is running HPUX 11.00 and Oracle 8.1.6 64 bit. The machine has 512 MB of memory. My problem is that although the C programs startup fine at some stage they do core dumps. I suspected memory problems , and saw somewhere that one must check for paging - if I check vmstat the amount of memory steadily decrease. Some ideas ????&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Dec 2003 02:57:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149049#M900839</guid>
      <dc:creator>AntBark</dc:creator>
      <dc:date>2003-12-19T02:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Memory ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149050#M900840</link>
      <description>If you run file on the core files, what is the signal that caused the core file?</description>
      <pubDate>Fri, 19 Dec 2003 03:04:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149050#M900840</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2003-12-19T03:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Memory ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149051#M900841</link>
      <description>unfortunately I had to wipe the core file - LV overflow - will check it as soon as it happens again ...</description>
      <pubDate>Fri, 19 Dec 2003 03:07:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149051#M900841</guid>
      <dc:creator>AntBark</dc:creator>
      <dc:date>2003-12-19T03:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Memory ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149052#M900842</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I think it is a good idea to install GPM/glance ( 60 days eval) and look into the process that cores. This way you can pinpoint your problem. You can find it on you applications cdroms.&lt;BR /&gt;&lt;BR /&gt;Gideon&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Dec 2003 03:10:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149052#M900842</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2003-12-19T03:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Memory ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149053#M900843</link>
      <description>Are the C programs using shared libraries? If so, relink them.&lt;BR /&gt;Also, check the old system tunables in your /stand/system file on the old machine, perhaps you need to tweak the kernel&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Dec 2003 15:21:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149053#M900843</guid>
      <dc:creator>Judy Traynor</dc:creator>
      <dc:date>2003-12-19T15:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Memory ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149054#M900844</link>
      <description>As soon as a core file is dumped, do file core.&lt;BR /&gt;&lt;BR /&gt;This will give details about whihc siganl caused the core.&lt;BR /&gt;&lt;BR /&gt;Depending on that you can troubleshoot.</description>
      <pubDate>Fri, 19 Dec 2003 15:25:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149054#M900844</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2003-12-19T15:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Memory ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149055#M900845</link>
      <description>Did you tune your kernel appropriately?  My initial guess would be that you are hitting one of the max?siz (maxdsiz, maxtsiz, etc) limits.  You should probably compare the settings on your D320 to your B1000 and adjust where appropriate.</description>
      <pubDate>Fri, 19 Dec 2003 15:35:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149055#M900845</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-12-19T15:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Memory ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149056#M900846</link>
      <description>First of all, 512MB is a tiny amount of memory for 64-bit Oracle BUT a UNIX box doesn't really care about how much physical memory is in a box but rather the amount of virtual memory. You could very well be hitting maxdsiz or maxssiz limits OR you may simply be a victim of bad code. You really need to use a debugger and do a stack trace on the core file. That will tell you exactly why your program is crashing ---- anything else is a shot in the dark.&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Dec 2003 16:22:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149056#M900846</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-12-19T16:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Memory ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149057#M900847</link>
      <description>Thanx everyone - file core showed SIGBUS was the interrupting the C program - what does this mean?  Sorry I'm only comming back now but I'm running around for other stuff as well.&lt;BR /&gt;&lt;BR /&gt;Will be back 22 Dec&lt;BR /&gt;&lt;BR /&gt;Thanx&lt;BR /&gt;&lt;BR /&gt;PS : maxdsiz and maxtsiz and their 64 bit mates are set to 256000000 - 1/2 memory size, is that fine?</description>
      <pubDate>Sun, 21 Dec 2003 05:57:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149057#M900847</guid>
      <dc:creator>AntBark</dc:creator>
      <dc:date>2003-12-21T05:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Memory ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149058#M900848</link>
      <description>SIGBUS is a programming error. If the programs ran OK in the past, they may have some underlying code that took advantage of an incompatible feature from a previous release. You may also have development libraries that were copied from an earlier version of HP-UX rather than installed from the current CDs. You'll need to trace the program to see where it fails.</description>
      <pubDate>Sun, 21 Dec 2003 15:24:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149058#M900848</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-12-21T15:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Memory ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149059#M900849</link>
      <description>Hi again&lt;BR /&gt;This program loops the whole time with sleep(5) at the end - what is funny is that it runs for a couple of days before it core dumps, thats why I initially thought it may be a memory issue. I can't see that it uses resources without setting them free, when compiling it gives a warning :&lt;BR /&gt;cc: "alarms_monitor.c", line 356: warning 604: Pointers are not assignment-compatible.&lt;BR /&gt;cc: "alarms_monitor.c", line 356: warning 563: Argument #2 is not the correct type.&lt;BR /&gt;&lt;BR /&gt;Line 356 : signal(SIGINT,sigint_handler);&lt;BR /&gt;&lt;BR /&gt;signal.h is included and sigint_handler is a procedure which let's the program exit savely if the program gets interrupted (ex. Cntl C) and it works fine ?&lt;BR /&gt;&lt;BR /&gt;Thanx again&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Dec 2003 01:35:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149059#M900849</guid>
      <dc:creator>AntBark</dc:creator>
      <dc:date>2003-12-22T01:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Memory ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149060#M900850</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;HP 9000 uses. memory Page deallocation. which deallocates the particular memory page if it generate errors. and nextime system will not use that portion of memory. Unfortunately it is enabled when STM is installed. I request you to install the latest support tool manager if it is not. following is the path to download the latest.&lt;BR /&gt;&lt;A href="http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B6191AAE" target="_blank"&gt;http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B6191AAE&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This will reduce the chances of memory errors. You can verify the parity bits errors in memory by checking the latest file is /var/tombstones/ts* and once you reboot YOU CAN  verify the system H/W status in SERVICE,INFORMATION MENU.&lt;BR /&gt;&lt;BR /&gt;errors occured can be tracked from syslog.log file. If still coredumps keep on occuring. Pls update the version of compilers or install lates patches.&lt;BR /&gt;&lt;BR /&gt;saurav&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Dec 2003 02:02:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149060#M900850</guid>
      <dc:creator>Saurav_1</dc:creator>
      <dc:date>2003-12-22T02:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Memory ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149061#M900851</link>
      <description>What else is the program doing in the loop besides teh sleep(5)? &lt;BR /&gt;&lt;BR /&gt;Have you ruled out the possibility the some external process and or user is sending a signal directly to your C program?&lt;BR /&gt;&lt;BR /&gt;Are you handling any signals other than SIGINT?&lt;BR /&gt;&lt;BR /&gt;Did you recompile the code for 64-bit?&lt;BR /&gt;&lt;BR /&gt;JL</description>
      <pubDate>Mon, 22 Dec 2003 11:04:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149061#M900851</guid>
      <dc:creator>James Lynch</dc:creator>
      <dc:date>2003-12-22T11:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Memory ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149062#M900852</link>
      <description>Because you have the source code, this task is very simple. Compile the code with the -g option and without optimization. Let it crash and then you need to use a debugger (gdb) to display a stack trace. It will point you to the offending line of source code -- if you compile with -g.&lt;BR /&gt;&lt;BR /&gt;Your SIGINT handler has nothing to do with the problem although the warnings you are getting indicate a less than well-disciplined approach to those pesky little things like typing --- and that may be indicative of a problem of a more fundamental nature.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Dec 2003 11:13:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149062#M900852</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-12-22T11:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Memory ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149063#M900853</link>
      <description>There is a process you must go through with oracle to migrate data from 32 bit word size to 64 bit word size. I'm attaching a document on the subject.&lt;BR /&gt;&lt;BR /&gt;Oracle 8.1.6 is not supported by Oracle any more. I believe that 8.1.7 support starts to go away in about 9 days.&lt;BR /&gt;&lt;BR /&gt;If you haven't done the word size conversion that will cause these problems.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 22 Dec 2003 11:21:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149063#M900853</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-12-22T11:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Memory ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149064#M900854</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Thank you guys for all your help...&lt;BR /&gt;Saurav - &lt;BR /&gt;The STM is installed - I got it on a PLUS disk March 2000. Does it need to be patched and which patch? I tried to download the newer version but our net is to slow at the moment.&lt;BR /&gt;&lt;BR /&gt;James - &lt;BR /&gt;The program retreives values from tags on a Centum (YOKOGAWA equipment). The code ran fine for 2 years on the old system. No external progs send any interrupts to this program. Only SIGINT is handled. What do I need to include to compile for 64 bit.&lt;BR /&gt;&lt;BR /&gt;Steven - &lt;BR /&gt;"If you are changing word-size during a migration, upgrade, or downgrade  operation, then no additional action is required. The word-size is changed  automatically during any of these operations." -- from the document ?????</description>
      <pubDate>Tue, 23 Dec 2003 01:06:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149064#M900854</guid>
      <dc:creator>AntBark</dc:creator>
      <dc:date>2003-12-23T01:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Memory ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149065#M900855</link>
      <description>Hi&lt;BR /&gt;the program is first precompiled by the oracle precompiler - I see the $ORACLE_HOME/precomp/lib has an equivelent ../lib64 dir. Do I have to change something in the $ORACLE_HOME/precomp/lib/env_precomp.mk for it to use the lib64 ?&lt;BR /&gt;&lt;BR /&gt;cheers</description>
      <pubDate>Tue, 23 Dec 2003 03:16:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149065#M900855</guid>
      <dc:creator>AntBark</dc:creator>
      <dc:date>2003-12-23T03:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Memory ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149066#M900856</link>
      <description>To compile a program for 64-bit you would use the "+DA2.0W" compiler option.  This tells the compiler that you want to produce code for the PA-RISC 2.0 wide (64-bit) architecture.  The compiler will also make sure that the 64-bit version of the standard libraries are used instead of the 32-bit versions.&lt;BR /&gt;&lt;BR /&gt;If your code has been compiled with the "-g" option, then you could run adb on it and the core file and get a quick stack trace.  That would tell you what routine it was in when it core dumped.&lt;BR /&gt;&lt;BR /&gt;To get a stack trace using adb, you need to give it the executable program and the core file that you want to debug:&lt;BR /&gt;&lt;BR /&gt;adb path_name_of_executable core&lt;BR /&gt;$c&lt;BR /&gt;$q&lt;BR /&gt;&lt;BR /&gt;The "$c" command tells adb to generate a stack backtrace, thus giving you the function calling sequence of your program when it died.  The "$q" tells adb to quit and exit.&lt;BR /&gt;&lt;BR /&gt;Hopefully that should give you a starting point of where to look.&lt;BR /&gt;&lt;BR /&gt;JL</description>
      <pubDate>Tue, 23 Dec 2003 07:39:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149066#M900856</guid>
      <dc:creator>James Lynch</dc:creator>
      <dc:date>2003-12-23T07:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Memory ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149067#M900857</link>
      <description>Oracle should have extensive docs on compiling a 64bit version. Recompiling Oracle for 64bit may involve several changes or perhaps an entirely different installation file. NOTE: all supporting or middleware applications must be 64bit compatible if they access shared memory (SGA).</description>
      <pubDate>Tue, 23 Dec 2003 07:49:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/3149067#M900857</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-12-23T07:49:44Z</dc:date>
    </item>
  </channel>
</rss>

