<?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 Errors in the application in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/errors-in-the-application/m-p/4414994#M663344</link>
    <description>&lt;BR /&gt;I'm getting the below errors in my application. Does that mean that I needto increasethe file descriptors. &lt;BR /&gt;&lt;BR /&gt;2009 05 07 02:36:55 (001) main. setrlimit(RLIMIT_NOFILE) failed with code 22 /*2&lt;BR /&gt;*/&lt;BR /&gt;2009 05 07 02:36:55 (001) main. setrlimit(RLIMIT_STACK) failed with code 22 /*2*&lt;BR /&gt;/&lt;BR /&gt;&lt;BR /&gt;Output of uname -a&lt;BR /&gt;HP-UX B.11.11 U 9000/800 3455890456 unlimited-user license</description>
    <pubDate>Thu, 07 May 2009 09:15:20 GMT</pubDate>
    <dc:creator>porwaa</dc:creator>
    <dc:date>2009-05-07T09:15:20Z</dc:date>
    <item>
      <title>Errors in the application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/errors-in-the-application/m-p/4414994#M663344</link>
      <description>&lt;BR /&gt;I'm getting the below errors in my application. Does that mean that I needto increasethe file descriptors. &lt;BR /&gt;&lt;BR /&gt;2009 05 07 02:36:55 (001) main. setrlimit(RLIMIT_NOFILE) failed with code 22 /*2&lt;BR /&gt;*/&lt;BR /&gt;2009 05 07 02:36:55 (001) main. setrlimit(RLIMIT_STACK) failed with code 22 /*2*&lt;BR /&gt;/&lt;BR /&gt;&lt;BR /&gt;Output of uname -a&lt;BR /&gt;HP-UX B.11.11 U 9000/800 3455890456 unlimited-user license</description>
      <pubDate>Thu, 07 May 2009 09:15:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/errors-in-the-application/m-p/4414994#M663344</guid>
      <dc:creator>porwaa</dc:creator>
      <dc:date>2009-05-07T09:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Errors in the application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/errors-in-the-application/m-p/4414995#M663345</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;errno 22 = EINVAL&lt;BR /&gt;&lt;BR /&gt;getrlimit(2) man page indicates this for EINVAL:&lt;BR /&gt;      The setrlimit() function may fail if:&lt;BR /&gt;&lt;BR /&gt;           [EINVAL]       The limit specified cannot be lowered because&lt;BR /&gt;                          current usage is already higher than the limit.&lt;BR /&gt;           [EINVAL]       A user with appropriate privileges has attempted&lt;BR /&gt;                          to raise rlp-&amp;gt;rlim_cur or rlp-&amp;gt;rlim_max to a value&lt;BR /&gt;                          greater than the system is capable of supporting.&lt;BR /&gt;&lt;BR /&gt;           [EINVAL]       The value of rlp-&amp;gt;rlim_cur is less than the number&lt;BR /&gt;                          of file descriptors the process already has&lt;BR /&gt;                          allocated.&lt;BR /&gt;&lt;BR /&gt;           [EINVAL]       The value of rlp-&amp;gt;rlim_max is less than the&lt;BR /&gt;                          current soft limit.&lt;BR /&gt;&lt;BR /&gt;to check the maximum size of a core file (RLIMIT_CORE) run the following command:&lt;BR /&gt;ulimit -Ha&lt;BR /&gt;ulimit -Sa&lt;BR /&gt;&lt;BR /&gt;i don't know hox to check RLIMIT_CPU&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Cedrick Gaillard</description>
      <pubDate>Thu, 07 May 2009 09:59:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/errors-in-the-application/m-p/4414995#M663345</guid>
      <dc:creator>mobidyc</dc:creator>
      <dc:date>2009-05-07T09:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Errors in the application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/errors-in-the-application/m-p/4414996#M663346</link>
      <description>&lt;P&gt;&amp;gt;setrlimit(RLIMIT_STACK) failed with code 22&lt;BR /&gt;&lt;BR /&gt;If you need to increase this, you'll have to change the kernel parm maxssiz. You should be cautious doing this for 32 bit apps, since it decreases maxdsiz, if you have it at 1 Gb.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2014 19:07:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/errors-in-the-application/m-p/4414996#M663346</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2014-08-20T19:07:31Z</dc:date>
    </item>
  </channel>
</rss>

