<?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: Ulimit in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/2656224#M47238</link>
    <description>You are right.&lt;BR /&gt;&lt;BR /&gt;I got confused about the large files option which is set as default on 10.20 systems.&lt;BR /&gt;&lt;BR /&gt;When not creating filesystems with the option large_files you run into the 2GB limit.&lt;BR /&gt;&lt;BR /&gt;Sorry my last response was partially wrong.</description>
    <pubDate>Thu, 31 Jan 2002 16:43:37 GMT</pubDate>
    <dc:creator>Corthouts Carlo</dc:creator>
    <dc:date>2002-01-31T16:43:37Z</dc:date>
    <item>
      <title>Ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/2656218#M47232</link>
      <description>Can anyone advise where I would set a file size limit using 'ulimit' / UL_SETFILESIZE.&lt;BR /&gt;I have an issue where a file has a limit of 32Mb but I need it to be allowed to grow bigger than this.</description>
      <pubDate>Thu, 31 Jan 2002 11:16:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/2656218#M47232</guid>
      <dc:creator>John Walker_1</dc:creator>
      <dc:date>2002-01-31T11:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/2656219#M47233</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;When setting ulimit you have to take in account that the value used cannot exceed the value of the kernel parameter of maxssiz.&lt;BR /&gt;&lt;BR /&gt;When you want to increase the value you need to increase the kernel parameter first.&lt;BR /&gt;&lt;BR /&gt;NOTE : changing kernel parameters require a kernel rebuild and reboot.&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Jan 2002 12:01:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/2656219#M47233</guid>
      <dc:creator>Corthouts Carlo</dc:creator>
      <dc:date>2002-01-31T12:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/2656220#M47234</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Please remeber the following.&lt;BR /&gt;&lt;BR /&gt;The minimum, maximum, and default ulimit values are based on certain&lt;BR /&gt;kernel parameters.&lt;BR /&gt;&lt;BR /&gt;For the Korn shell (ksh), ulimit only affects the filesize limit&lt;BR /&gt;which defaults to 4194304, and this is the ksh value for unlimited.&lt;BR /&gt;&lt;BR /&gt;For the POSIX shell (sh), there are several variables that can be set&lt;BR /&gt;with ulimit.  The 'ulimit -a' command lists the variables that can be&lt;BR /&gt;set for the posix shell.&lt;BR /&gt;&lt;BR /&gt;     Note: See the sh-posix(1) man page.  There are soft and hard&lt;BR /&gt;           limits for these variables.&lt;BR /&gt;&lt;BR /&gt;     Soft Limit:&lt;BR /&gt;     -----------&lt;BR /&gt;&lt;BR /&gt;     $ ulimit -aS&lt;BR /&gt;     time(seconds)        unlimited&lt;BR /&gt;     file(blocks)         unlimited&lt;BR /&gt;     data(kbytes)         65536        max determined by maxdsiz&lt;BR /&gt;     stack(kbytes)        8192         max determined by maxssiz&lt;BR /&gt;     memory(kbytes)       unlimited&lt;BR /&gt;     coredump(blocks)     4194303&lt;BR /&gt;     nofiles(descriptors) 60           max determined by maxfiles&lt;BR /&gt;&lt;BR /&gt;     Hard Limit:&lt;BR /&gt;     -----------&lt;BR /&gt;&lt;BR /&gt;     $ ulimit -aH&lt;BR /&gt;     time(seconds)        unlimited&lt;BR /&gt;     file(blocks)         unlimited&lt;BR /&gt;     data(kbytes)         65536&lt;BR /&gt;     stack(kbytes)        8192&lt;BR /&gt;     memory(kbytes)       unlimited&lt;BR /&gt;     coredump(blocks)     unlimited&lt;BR /&gt;     nofiles(descriptors) 1024        max determined by maxfiles_lim&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                    Steve Steel</description>
      <pubDate>Thu, 31 Jan 2002 12:18:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/2656220#M47234</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-01-31T12:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/2656221#M47235</link>
      <description>&lt;BR /&gt;Corthouts, maxssiz has nothing to do with file size limits.&lt;BR /&gt;&lt;BR /&gt;Steve, the ulimit file size of 4,194,304 is the number of blocks (512 bytes) giving 2,147,483,648 bytes (2gb).&lt;BR /&gt;&lt;BR /&gt;John, because you have a limit of 32mb, you have a profile that is setting this lower limit. Look at /etc/profile or the users local .profiles.&lt;BR /&gt;&lt;BR /&gt;The file size limits are defined in /usr/include/sys/resources.h.&lt;BR /&gt;&lt;BR /&gt;for 64 bit machines the filesize upper limits are huge.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Jan 2002 13:35:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/2656221#M47235</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-01-31T13:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/2656222#M47236</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;Could you tell us what version of HP-UX you are using since harry is somehow confused about the question.&lt;BR /&gt;&lt;BR /&gt;For 10.20 systems the limits for ulimit values are determined by kernel parameters.&lt;BR /&gt;&lt;BR /&gt;Sorry Harry but I was not talking about FILE SIZE limits but about ULIMIT.&lt;BR /&gt;&lt;BR /&gt;Even for 10.20 systems the file size limits are determined by kernel parameters.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Jan 2002 14:02:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/2656222#M47236</guid>
      <dc:creator>Corthouts Carlo</dc:creator>
      <dc:date>2002-01-31T14:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/2656223#M47237</link>
      <description>Corthouts,&lt;BR /&gt;&lt;BR /&gt;John's question was about changing UL_SETFILESIZE via ulimit, because he had a 32mb limit. The posix "sh" (/usr/bin/sh) allows you to set the file limit via the "-f" option, as in "ulimit -f 50000". Of course only root can increase a processes file limit.&lt;BR /&gt;&lt;BR /&gt;What kernel parameter at HPux 10.20 limits the size of a file? The reason I ask this, is because the /usr/include/sys/resouces.h defines RLIM_INFINITY which corresponds to the largest file size that can be created:&lt;BR /&gt;&lt;BR /&gt;10.20:&lt;BR /&gt;ulimit()&lt;BR /&gt;&lt;BR /&gt;The default UL_FILESIZE that a process used to get was (2GB - 511)/512. The new default is 2GB/512. This value now corresponds to INFINITY in the kernel. Therefore, the default file size limit for a process is RLIM_INFINITY.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wwwinfo.cern.ch/pdp/as/file/hpux10/RN13961020.html" target="_blank"&gt;http://wwwinfo.cern.ch/pdp/as/file/hpux10/RN13961020.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Thu, 31 Jan 2002 16:30:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/2656223#M47237</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-01-31T16:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/2656224#M47238</link>
      <description>You are right.&lt;BR /&gt;&lt;BR /&gt;I got confused about the large files option which is set as default on 10.20 systems.&lt;BR /&gt;&lt;BR /&gt;When not creating filesystems with the option large_files you run into the 2GB limit.&lt;BR /&gt;&lt;BR /&gt;Sorry my last response was partially wrong.</description>
      <pubDate>Thu, 31 Jan 2002 16:43:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/2656224#M47238</guid>
      <dc:creator>Corthouts Carlo</dc:creator>
      <dc:date>2002-01-31T16:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/2656225#M47239</link>
      <description>Corthouts, it is 10.20 version we are using.&lt;BR /&gt;I cannot find any reference to a 32Mb filesize anywhere suggested already.&lt;BR /&gt;&lt;BR /&gt;Perhaps this is an application/cobol/proIV issue rather than HPUX.&lt;BR /&gt;Once the file hits 32Mb, the application which creates it terminates the relevant process.&lt;BR /&gt;&lt;BR /&gt;I am at a bit of a loss now.</description>
      <pubDate>Fri, 01 Feb 2002 09:39:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/2656225#M47239</guid>
      <dc:creator>John Walker_1</dc:creator>
      <dc:date>2002-02-01T09:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Ulimit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/2656226#M47240</link>
      <description>Maybe you should check the /etc/profile and see if maybe ulimit has been set there.&lt;BR /&gt;&lt;BR /&gt;Which Cobol are you using?&lt;BR /&gt;&lt;BR /&gt;I found a reference where ulimit determines the filesize and not cobol but this might be HP specific.&lt;BR /&gt;&lt;BR /&gt;Is there any definition of &lt;BR /&gt;ulimit -f xxxxx?&lt;BR /&gt;&lt;BR /&gt;For instance :&lt;BR /&gt;&lt;BR /&gt;ulimit -f 20000 limits cobol filesize to 10Mb.&lt;BR /&gt;&lt;BR /&gt;Maybe you should also check the homedirectory of the user which is used to start the application? does the .profile contain anything in there?</description>
      <pubDate>Fri, 01 Feb 2002 10:38:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit/m-p/2656226#M47240</guid>
      <dc:creator>Corthouts Carlo</dc:creator>
      <dc:date>2002-02-01T10:38:51Z</dc:date>
    </item>
  </channel>
</rss>

