<?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: Question on System Dumps and TC in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263282#M177366</link>
    <description>one more thing...&lt;BR /&gt;&lt;BR /&gt;remember that your /var/adm/crash should be as big as your swap/dump space...&lt;BR /&gt;&lt;BR /&gt;# swapinfo&lt;BR /&gt;             Kb      Kb      Kb   PCT  START/      Kb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev     1024000       0 1024000    0%       0       -    1  /dev/vg00/swap&lt;BR /&gt;dev     16343040       0 16343040    0%       0       -    0  /dev/vg01/swap1&lt;BR /&gt;dev     10240000       0 10240000    0%       0       -    0  /dev/vg01/swap2&lt;BR /&gt;&lt;BR /&gt;# bdf /var/adm/crash&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vgcrash/crash 26624000    6788 26204272    0% /var/adm/crash</description>
    <pubDate>Thu, 29 Apr 2004 12:59:54 GMT</pubDate>
    <dc:creator>Todd McDaniel_1</dc:creator>
    <dc:date>2004-04-29T12:59:54Z</dc:date>
    <item>
      <title>Question on System Dumps and TC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263275#M177359</link>
      <description>On HP-UX Systems, should we always size primary swap (being the dump device) the same as system memory - so we can capture a kernel core image during TC's or system crashes? &lt;BR /&gt;&lt;BR /&gt;Also, is it okay/advisable to have my primary swap on a different disk and outside of vg00?&lt;BR /&gt;&lt;BR /&gt;What tool do I need to analyze crash dumps on HP-UX? Specifically I want to view what the processes are when it was TC'd or crashed.&lt;BR /&gt;&lt;BR /&gt;Our systems are very large memory machines with one machine projected to be a close to 100GB memory..&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Apr 2004 12:18:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263275#M177359</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2004-04-29T12:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Question on System Dumps and TC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263276#M177360</link>
      <description>When system crashes or TOC is done two things take place.&lt;BR /&gt;&lt;BR /&gt;1. Memory contents are dumped into dump area.&lt;BR /&gt; (This is dump area defined by lvlnboot/crashconf. The dump device can be put in /etc/fstab. Like &lt;BR /&gt;/dev/vg00/lvol2 / dump default 0 0)&lt;BR /&gt;2. When system boots again, the save crash saves the crash as defined in /etc/rc.config.d/savecrash&lt;BR /&gt;&lt;BR /&gt;You can have seperate dump and swap area, so primary swap need not be equal to physical RAM. Total swap should be 1.5/2 times RAM.&lt;BR /&gt;And dump area should be equal to RAM.&lt;BR /&gt;&lt;BR /&gt;But as most of sysadmins use same lvol for swap and dump, it should be equal to RAM and still total swap should be 1.5/2 times RAM. You can define secondary swap for this.)&lt;BR /&gt;&lt;BR /&gt;Analyze the crash&lt;BR /&gt;Use Q4 analysis. (Search forms for q4 and you will get lot of details.)&lt;BR /&gt;Simple one that I use is as follows.&lt;BR /&gt;&lt;BR /&gt;adb -m /var/adm/crash/crash.0/vmunix /var/adm/crash/crash.0&lt;BR /&gt;&lt;BR /&gt;Once on adb prompt do&lt;BR /&gt;msgbuf+8/s&lt;BR /&gt;&lt;BR /&gt;there is also a tool crashinfo&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Thu, 29 Apr 2004 12:40:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263276#M177360</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-04-29T12:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Question on System Dumps and TC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263277#M177361</link>
      <description>Nelson,&lt;BR /&gt;&lt;BR /&gt;Rarely does one need the full crash dump and, obviously, in as situation like yours, you don't need to tie up 100GB of disk space.  With large memory systems that are not likely to have significant swapping, swap areas are kept smaller  - like half the size of memory or less - and dump usually uses the swap area.  I think Clay pointed out recently that the RC engineer who gets to analyze your dump will probably thank you that you kept it small.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 29 Apr 2004 12:47:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263277#M177361</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-04-29T12:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Question on System Dumps and TC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263278#M177362</link>
      <description>Nelson,&lt;BR /&gt;&lt;BR /&gt;My primary swap /dev/vg00/swap is usu only  1024000.&lt;BR /&gt;&lt;BR /&gt;Secondary and teriary swap are the ones that get my swap up to 30 to 50% of my memory. With the way the dumps are used nowadays, it is extremely rare to need a full dump. One of my boxes has 75GB of swap. It would be very impractical to have 75GB of swap for extremely rare crashes...&lt;BR /&gt;&lt;BR /&gt;You rarely need more than 30% of memory for swap, but upto 50% is not unusual.&lt;BR /&gt;&lt;BR /&gt;Regarding swap on vg00, You MUST have at least 1 swap area on vg00. It must be available at boot time. Or your system wont boot. AND MUST BE MIRRORED if you have a disk failure and no mirror your system wont boot either.&lt;BR /&gt;&lt;BR /&gt;tools have been mentioned so I wont bring that up.</description>
      <pubDate>Thu, 29 Apr 2004 12:53:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263278#M177362</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-04-29T12:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Question on System Dumps and TC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263279#M177363</link>
      <description>Hi Nelson,&lt;BR /&gt;&lt;BR /&gt;  No. You dont have to size the dump area  the same as system memory.&lt;BR /&gt;&lt;BR /&gt;  From HP-UX 11.0 you have the option to seletively dump the kernel pages.&lt;BR /&gt;&lt;BR /&gt;  # /sbin/crashconf -v &lt;BR /&gt;&lt;BR /&gt;  Refer man page of crashconf&lt;BR /&gt;&lt;BR /&gt;  If you have 11i, you have the option of compressed dumps.&lt;BR /&gt;  &lt;A href="http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=CDUMP11i" target="_blank"&gt;http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=CDUMP11i&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;   Click on the above link.&lt;BR /&gt;&lt;BR /&gt;   I believe there is a limitation that the swap/dump area should be within first 2 GB. I could be wrong here. &lt;BR /&gt;&lt;BR /&gt;   You can use Q4 to analyze the crash dumps. &lt;BR /&gt;&lt;BR /&gt;  ftp://contrib:9unsupp8@192.170.19.51/crash&lt;BR /&gt;  &lt;BR /&gt;  Visit the above links for tools and documentation&lt;BR /&gt;&lt;BR /&gt;-- Sundar&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Apr 2004 12:56:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263279#M177363</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-04-29T12:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Question on System Dumps and TC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263280#M177364</link>
      <description>correct me if I am wrong but when you are running with memory configurations like 100GB orders, swap is pretty much redundant. Your system better does not swap at all with this much of memory. If it does, it usually means it is not configured right and that much of money spent on buying memory is wasted. You should have a swap space of course but nowhere near the amount of physical memory you have. I would be surprised if any swapping happens on your server. So the purpose of your swap/dump space will be mainly dump space. &lt;BR /&gt;&lt;BR /&gt;And by no means I am an expert in kernel development and debugging but for quite a while (like since ver. 10.20 I could remember), the dumps are being stored in a compressed manner (.gz files) and not taking up as much space as the actual physical memory or anywhere close to it. &lt;BR /&gt;&lt;BR /&gt;Assuming with that much of memory, you would be running one or more large databases, the memory utilization will be what so called sparse, hence the compression ratio will significantly be to your advantage. But again it is very hard to say how much dump space you will need to store the memory image without being a kernel developer.&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Apr 2004 12:57:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263280#M177364</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2004-04-29T12:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Question on System Dumps and TC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263281#M177365</link>
      <description>Hello Nelson,&lt;BR /&gt;   Use crashconf -v to verify that you have enough space and you can use the flags to turn off or on what you dont want dumped based on the problem.&lt;BR /&gt;&lt;BR /&gt;e.g &lt;BR /&gt;#crashconf -v&lt;BR /&gt;CLASS          PAGES  INCLUDED IN DUMP  DESCRIPTION&lt;BR /&gt;--------  ----------  ----------------  -------------------------------------&lt;BR /&gt;UNUSED        387390  no,  by default   unused pages&lt;BR /&gt;USERPG         34339  no,  by default   user process pages&lt;BR /&gt;BCACHE         90209  no,  by default   buffer cache pages&lt;BR /&gt;KCODE           2565  no,  by default   kernel code pages&lt;BR /&gt;USTACK           935  yes, by default   user process stacks&lt;BR /&gt;FSDATA           300  yes, by default   file system metadata&lt;BR /&gt;KDDATA         37045  yes, by default   kernel dynamic data&lt;BR /&gt;KSDATA         37041  yes, by default   kernel static data&lt;BR /&gt;&lt;BR /&gt;Total pages on system:            589824&lt;BR /&gt;Total pages included in dump:      75321&lt;BR /&gt;&lt;BR /&gt;DEVICE        OFFSET(kB)   SIZE (kB)  LOGICAL VOL.  NAME&lt;BR /&gt;------------  ----------  ----------  ------------  -------------------------&lt;BR /&gt; 31:0x01a000      310368     1822720    1:0x000001  /dev/vx/dsk/rootdg/swapvol&lt;BR /&gt;                          ----------&lt;BR /&gt;                             1822720&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can run crashinfo to get the perprocess stack and also p4/q4 to get into the nitty-gritty of structures etc...</description>
      <pubDate>Thu, 29 Apr 2004 12:58:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263281#M177365</guid>
      <dc:creator>Navin Bhat_2</dc:creator>
      <dc:date>2004-04-29T12:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: Question on System Dumps and TC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263282#M177366</link>
      <description>one more thing...&lt;BR /&gt;&lt;BR /&gt;remember that your /var/adm/crash should be as big as your swap/dump space...&lt;BR /&gt;&lt;BR /&gt;# swapinfo&lt;BR /&gt;             Kb      Kb      Kb   PCT  START/      Kb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev     1024000       0 1024000    0%       0       -    1  /dev/vg00/swap&lt;BR /&gt;dev     16343040       0 16343040    0%       0       -    0  /dev/vg01/swap1&lt;BR /&gt;dev     10240000       0 10240000    0%       0       -    0  /dev/vg01/swap2&lt;BR /&gt;&lt;BR /&gt;# bdf /var/adm/crash&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vgcrash/crash 26624000    6788 26204272    0% /var/adm/crash</description>
      <pubDate>Thu, 29 Apr 2004 12:59:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263282#M177366</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-04-29T12:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Question on System Dumps and TC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263283#M177367</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try this link for info on dump,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/os/syscrash.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/os/syscrash.html&lt;/A&gt;&lt;BR /&gt;and this link from ITRC,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000072951514" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000072951514&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The ITRC doc id is KBRC00012922.&lt;BR /&gt;&lt;BR /&gt;I don't think it is advisable to put the swap space on any VG other than vg00. What you can do is make a small primary swap "lvol2" under vg00 and add additional seconday swaps under other VGs.&lt;BR /&gt;&lt;BR /&gt;You can use Q4 to analyse dumps.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Apr 2004 13:25:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263283#M177367</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-04-29T13:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Question on System Dumps and TC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263284#M177368</link>
      <description>On a server that we need to understand fully what is going on, we have the following swap config (a 32 GB rp8420):&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;             Kb      Kb      Kb   PCT  START/      Kb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev     4194304       0 4194304    0%       0       -    1  /dev/vg00/swap&lt;BR /&gt;dev     35520512       0 35520512    0%       0       -    0  /dev/swap1/swap&lt;BR /&gt;dev     35520512       0 35520512    0%       0       -    0  /dev/swap2/swap&lt;BR /&gt;dev     35520512       0 35520512    0%       0       -    0  /dev/swap3/swap&lt;BR /&gt;&lt;BR /&gt;I do not have a separate /var/adm/crash -- as we have /var sized 8-16GB. &lt;BR /&gt;&lt;BR /&gt;My primary swap on all our servers are sized just 4GB, regardless of Memory and being the default dump device - it should only be able to hold 4GB of kernel image...?  The reson we so much swap space is the very nature of our processes/apps -- which are very heavy on memory reservations.&lt;BR /&gt;&lt;BR /&gt;In my last TC on this system, dump mentioned that it cannot do a full dump hence it will be doing a partial dump... COnsidering the sizes of the processes, would our "partial crash dump" have captured relevant data about what was going on with the server when we TC'd it?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Apr 2004 13:29:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263284#M177368</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2004-04-29T13:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Question on System Dumps and TC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263285#M177369</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;A partial dump is not good enough. You need a full dump to do a analysis and know what really happened.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Apr 2004 13:33:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263285#M177369</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-04-29T13:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Question on System Dumps and TC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263286#M177370</link>
      <description>Nelson,&lt;BR /&gt;&lt;BR /&gt;  /sbin/crashconf -v has all the answers for you&lt;BR /&gt;&lt;BR /&gt;  If you havenâ  t fiddled with crashconf then try this &lt;BR /&gt; &lt;BR /&gt;  # /sbin/crashconf -v | grep "Total pages included in dump:"&lt;BR /&gt;&lt;BR /&gt;  If your dump device is as big as the above output then you are good to go :-)&lt;BR /&gt;&lt;BR /&gt;Sund</description>
      <pubDate>Thu, 29 Apr 2004 13:36:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263286#M177370</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-04-29T13:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Question on System Dumps and TC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263287#M177371</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you can use Q4 to pre-process a dump,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000072399670" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000072399670&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The itrc doc id is OZBEKBRC00000611.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Apr 2004 13:43:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263287#M177371</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-04-29T13:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Question on System Dumps and TC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263288#M177372</link>
      <description>Thank you &amp;amp; Shukria once more to all ye Lords of HP-UX!&lt;BR /&gt;&lt;BR /&gt;I just gathered that since we now will have a fully validated capability to migrate our bootdisks and swap/dump devices to our SAN disks - that we should be able to have larger contigous dump space... (note. SecurePath 3.0D) so we can do full load image analysis...&lt;BR /&gt;&lt;BR /&gt;We are about to deploy a massive application that is a bread and butter division of a large Fortune 100 Shop...</description>
      <pubDate>Thu, 29 Apr 2004 13:57:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263288#M177372</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2004-04-29T13:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Question on System Dumps and TC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263289#M177373</link>
      <description>From your last statement, I still have major trepidation regarding moving OS and Swap off your local devices.&lt;BR /&gt;&lt;BR /&gt;Just b/c it is possible, doesnt make it feasible or practical, in my mind, but that is up to you and your team. &lt;BR /&gt;&lt;BR /&gt;Just playing a bit of the Devil's advocate...</description>
      <pubDate>Thu, 29 Apr 2004 14:05:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-system-dumps-and-tc/m-p/3263289#M177373</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-04-29T14:05:39Z</dc:date>
    </item>
  </channel>
</rss>

