tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Jim Fitzmaurice <jpfitz () fnal ! gov>
To: tru64-unix-managers
Subject: SUMMARY: Arg list too long.
Date: Mon, 05 Feb 2001 17:51:26 +0000	[thread overview]
Message-ID: <98139481321230.tru64-unix-managers.marc@archive.invalid> (raw)

Hi,

    We haven't solved the problem yet but are reviewing our options so I
thought I'd post a summary and just include the options I've received. That
way if anybody else has the problem, they can choose the option that best
meet their needs.

1. The xargs command seems to be the most popular recommendation,
unfortunately it would involve a major rewrite so we probably wont be able
to use this. I got it from:

        Steve Smith
        Marty M. Saletta
        Peter Stern
        Ian Motimer
        Chewy
        (And one other person I accidentally deleted, sorry.)

2. Edit /usr/include/limits.h increase line "#define _POSIX_ARG_MAX   4096"
to a higher number and recompile the kernel. (I'm not sure what else this
may effect, use at your own risk.) I got this one from:

        Joerg Bruehe
        Stu Fuess

3. Modify the kernel variable exec_disable_arg_limit in the 'proc' section
of dxkerneltuner (at the end). Set this to 1. Of course I'm currently on a
4.0F machine and this variable doesn't appear until the 5.1 kernel. Since we
will be upgrading soon, this may be a viable option for us. I got this one
from:

        Udo Grabowski
        Stu Fuess

4) Try passing the arguments to the compiler via a file by using a specific
tag, or by passing it like ada `cat list_of_files_to_compile`. This one
from:

        Patrick Norris

Dr. Blinn explained that the limit is imposed to comply with POSIX
standards.

Thanks to all who replied.

Jim Fitzmaurice
jpfitz@fnal.gov

UNIX is very user friendly, It's just very particular about who it makes
friends with.


----- Original Message -----
From: Jim Fitzmaurice <jpfitz@fnal.gov>
To: tru64 <tru64-unix-managers@ornl.gov>
Sent: Friday, February 02, 2001 11:58 AM
Subject: Arg list too long.


> Just a quick question:
>
> System AlphaServer 4100 running 4.0F PK4.
>
> Trying to do a compile a software engineer is getting the error:
>
> Arg list too long
>
> coming out of his make command. I believe this can be increased, (I know
it
> can on other OS's) but I don't know where to look on Tru64. I've been
> looking through the System Configuration and Tuning Guide, but it doesn't
> appear to be there. Does anybody know?
>
> Jim Fitzmaurice
> jpfitz@fnal.gov
>
> UNIX is very user friendly, It's just very particular about who it makes
> friends with.
>
>
>

             reply	other threads:[~2001-02-05 17:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-05 17:51 Jim Fitzmaurice [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-06-20 11:15 arg list too long Lew TK
2003-06-20 16:19 ` Summary : " Lew TK
1998-07-06 14:55 SUMMARY: " SIMEONE, Allan J.
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox