<?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: How to set ARG_MAX variable? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-arg-max-variable/m-p/2685149#M53918</link>
    <description>Bill,&lt;BR /&gt;&lt;BR /&gt;Damn good points!!!&lt;BR /&gt;&lt;BR /&gt;xargs to the rescue?&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
    <pubDate>Mon, 18 Mar 2002 14:33:37 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2002-03-18T14:33:37Z</dc:date>
    <item>
      <title>How to set ARG_MAX variable?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-arg-max-variable/m-p/2685145#M53914</link>
      <description>We are using HP Unix OS and  want to know that how can we set the configurable system variable ARG_MAX(Maximum total length for exec in bytes,including environmental data).</description>
      <pubDate>Mon, 18 Mar 2002 13:20:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-arg-max-variable/m-p/2685145#M53914</guid>
      <dc:creator>Aseem Mithal</dc:creator>
      <dc:date>2002-03-18T13:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to set ARG_MAX variable?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-arg-max-variable/m-p/2685146#M53915</link>
      <description>&lt;BR /&gt;/usr/include/limits.h&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 18 Mar 2002 13:38:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-arg-max-variable/m-p/2685146#M53915</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-03-18T13:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to set ARG_MAX variable?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-arg-max-variable/m-p/2685147#M53916</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Per the sysconf(2) manpage, `getconf ARG_MAX` is documented as: &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  ARG_MAX    _SC_ARG_MAX    Maximum total length of the arguments for&lt;BR /&gt;                            exec() in bytes, including environment&lt;BR /&gt;                            data (see exec(2))&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;On 10.20 you need patch 16751 or equivalent and&lt;BR /&gt;its dependencies&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When this patch is installed the default environment size is 20478 bytes.  To enable the system to use the larger environment size of 2048000 bytes, the following steps must&lt;BR /&gt;be followed.&lt;BR /&gt;&lt;BR /&gt;1. A new tunable called `large_ncargs_enabled' must be defined in the sytem file in the following manner  large_ncargs_enabled 1&lt;BR /&gt;&lt;BR /&gt;2. A new kernel must be built (using this system file) and  the system rebooted.&lt;BR /&gt;&lt;BR /&gt;To return to the default environment size, the new tunable needs to be either removed from the system file, or its value set to zero.  A new kernel should then be built (using the modified system file) and the machine rebooted.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;On 11 the parameter is bigger by default.&lt;BR /&gt;&lt;BR /&gt;            Steve Steel</description>
      <pubDate>Mon, 18 Mar 2002 13:55:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-arg-max-variable/m-p/2685147#M53916</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-03-18T13:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to set ARG_MAX variable?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-arg-max-variable/m-p/2685148#M53917</link>
      <description>Setting the ARG_MAX to a different value will not help. Normally, this is required because someone has thousands of filenames in a single directory and you want refer to all of them by name, as in:&lt;BR /&gt;&lt;BR /&gt;echo *&lt;BR /&gt;&lt;BR /&gt;The shell will complain about line too long because the shell does not have enough space to hold all of these names on one line.  The ARG_MAX sets this value but unless the shell allocates it's command line buffers dynamically, it woun't make a difference. No matter how large a new patch will make the ATG_MAX value, there are cases where it won't be long enough.&lt;BR /&gt;&lt;BR /&gt;Instead, look at the command xargs to provide a filter between enormously long lines and commands that have limited capability.</description>
      <pubDate>Mon, 18 Mar 2002 14:31:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-arg-max-variable/m-p/2685148#M53917</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-03-18T14:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to set ARG_MAX variable?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-arg-max-variable/m-p/2685149#M53918</link>
      <description>Bill,&lt;BR /&gt;&lt;BR /&gt;Damn good points!!!&lt;BR /&gt;&lt;BR /&gt;xargs to the rescue?&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 18 Mar 2002 14:33:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-arg-max-variable/m-p/2685149#M53918</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-03-18T14:33:37Z</dc:date>
    </item>
  </channel>
</rss>

