<?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 usage in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-usage/m-p/4065349#M306573</link>
    <description>It depends upon which ulimit you are talking about. For example, if a write() system call results in a file trying to grow beyond the filesize ulimit for a process, the system call sets the global variable errno = EFBIG. If a process reaches the memory limit, malloc() would set errno = ENOMEM. If the number of files exceeds the per-process limit, open() sets errno = EMFILE. This occurs within a process and it is up to the process to report these errors. Well-written applications with suitable permissions will first hit the soft ulimit and request to increase it up to the hard ulimit --- and lof a warning that ulimit was (temporarily) increased.</description>
    <pubDate>Tue, 04 Sep 2007 22:29:31 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2007-09-04T22:29:31Z</dc:date>
    <item>
      <title>ulimit usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-usage/m-p/4065348#M306572</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;how would I know if value of ulimit already reached its limit? Can someone tell me how to monitor usage in ulimit? below is the current values of ulimit.&lt;BR /&gt;&lt;BR /&gt;# ulimit -a&lt;BR /&gt;time(seconds)        unlimited&lt;BR /&gt;file(blocks)         unlimited&lt;BR /&gt;data(kbytes)         1048576&lt;BR /&gt;stack(kbytes)        131072&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     4194303&lt;BR /&gt;nofiles(descriptors) 5000&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Tue, 04 Sep 2007 22:16:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-usage/m-p/4065348#M306572</guid>
      <dc:creator>Jojo Castro</dc:creator>
      <dc:date>2007-09-04T22:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-usage/m-p/4065349#M306573</link>
      <description>It depends upon which ulimit you are talking about. For example, if a write() system call results in a file trying to grow beyond the filesize ulimit for a process, the system call sets the global variable errno = EFBIG. If a process reaches the memory limit, malloc() would set errno = ENOMEM. If the number of files exceeds the per-process limit, open() sets errno = EMFILE. This occurs within a process and it is up to the process to report these errors. Well-written applications with suitable permissions will first hit the soft ulimit and request to increase it up to the hard ulimit --- and lof a warning that ulimit was (temporarily) increased.</description>
      <pubDate>Tue, 04 Sep 2007 22:29:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-usage/m-p/4065349#M306573</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-09-04T22:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-usage/m-p/4065350#M306574</link>
      <description>You can monitor some of these with top and glance.&lt;BR /&gt;top will give an estimate of data and time.&lt;BR /&gt;glance will give nofiles, stack, data, time and file.&lt;BR /&gt;For nofiles, you may have to add up the entries. ;-)&lt;BR /&gt;For stack &amp;amp; data you need to look at the memory regions.&lt;BR /&gt;For file, you need to look at the current pointer for each open (for write) file.</description>
      <pubDate>Tue, 04 Sep 2007 23:03:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-usage/m-p/4065350#M306574</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-09-04T23:03:57Z</dc:date>
    </item>
  </channel>
</rss>

