<?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: application core file size in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/application-core-file-size/m-p/2777855#M76498</link>
    <description>Kurt,&lt;BR /&gt;&lt;BR /&gt;the size of the core file depend on the memory used by the process. If you don't use that core file to debug that application, you could start your application in a shell where you would have change the coredump limit (by default that value is 2 Gig).&lt;BR /&gt;An easy way to do this is to create a small shell script to start you application (I will use xterm in my example):&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;ulimit -c 2048 # set coredump size to 1 Meg 2048x512 Bytes&lt;BR /&gt;xterm &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Luc&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 01 Aug 2002 17:14:23 GMT</pubDate>
    <dc:creator>Luc Bussieres_1</dc:creator>
    <dc:date>2002-08-01T17:14:23Z</dc:date>
    <item>
      <title>application core file size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/application-core-file-size/m-p/2777852#M76495</link>
      <description>We have an application that generates a core file frequently, and fills up the filesystem it is run from.  I know the correct answer is to fix the problem that causes it to dump a core image... and we are working on that, but in the meantime, we would like to prevent the filesystem full condition because it is unnecessarily reported by the SAP system running thereon.  &lt;BR /&gt;&lt;BR /&gt;Is there a way to determine the maximum size a core image could become.  I realize they will not be the same size all the time, but was thinking that the kernel parms maxssiz, maxdsiz, and maxtsiz would be likely values to have some effect on the size to expect.  Anyone have any insight into this?</description>
      <pubDate>Thu, 01 Aug 2002 17:01:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/application-core-file-size/m-p/2777852#M76495</guid>
      <dc:creator>Kurt Renner</dc:creator>
      <dc:date>2002-08-01T17:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: application core file size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/application-core-file-size/m-p/2777853#M76496</link>
      <description>In theory, the maximum would be the sum of those three parameters plus some overhead for headers and kernel data; in practice, it would be less. You could probably better do what you want by making a ulimit -c call in the parent shell of this process to directly limit the size of the corefile to zero if you like.&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Aug 2002 17:12:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/application-core-file-size/m-p/2777853#M76496</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-08-01T17:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: application core file size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/application-core-file-size/m-p/2777854#M76497</link>
      <description>Assuming that the app is run in /sbin/sh or /bin/sh (which is posix shell).  You can set this in user's .profile or set at the command line before starting the app.&lt;BR /&gt;# ulimit -c 2048&lt;BR /&gt;&lt;BR /&gt;The above limits the core size to 1Mb.  You can adjust the above number, which means 2048 512-byte blocks.&lt;BR /&gt;&lt;BR /&gt;Keeping mind that this will help you limit the size of the core file.  However, you may not be able to debug the core files.&lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Thu, 01 Aug 2002 17:14:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/application-core-file-size/m-p/2777854#M76497</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2002-08-01T17:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: application core file size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/application-core-file-size/m-p/2777855#M76498</link>
      <description>Kurt,&lt;BR /&gt;&lt;BR /&gt;the size of the core file depend on the memory used by the process. If you don't use that core file to debug that application, you could start your application in a shell where you would have change the coredump limit (by default that value is 2 Gig).&lt;BR /&gt;An easy way to do this is to create a small shell script to start you application (I will use xterm in my example):&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;ulimit -c 2048 # set coredump size to 1 Meg 2048x512 Bytes&lt;BR /&gt;xterm &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Luc&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Aug 2002 17:14:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/application-core-file-size/m-p/2777855#M76498</guid>
      <dc:creator>Luc Bussieres_1</dc:creator>
      <dc:date>2002-08-01T17:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: application core file size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/application-core-file-size/m-p/2777856#M76499</link>
      <description>If this server is dedicated to this application, you can put&lt;BR /&gt;&lt;BR /&gt;ulimit -c 4096&lt;BR /&gt;&lt;BR /&gt;in /etc/profile. Otherwise, wrap the application in a shell that performs the same command.&lt;BR /&gt;&lt;BR /&gt;Tom</description>
      <pubDate>Thu, 01 Aug 2002 17:15:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/application-core-file-size/m-p/2777856#M76499</guid>
      <dc:creator>Tom Maloy</dc:creator>
      <dc:date>2002-08-01T17:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: application core file size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/application-core-file-size/m-p/2777857#M76500</link>
      <description>Thanks for the responses.  I forgot about the ulimit command.  That will be a workable solution.</description>
      <pubDate>Thu, 01 Aug 2002 17:31:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/application-core-file-size/m-p/2777857#M76500</guid>
      <dc:creator>Kurt Renner</dc:creator>
      <dc:date>2002-08-01T17:31:50Z</dc:date>
    </item>
  </channel>
</rss>

