Mailinglist Archive: opensuse (2459 mails)

< Previous Next >
[opensuse] Re: /bin/rm: Argument list too long
  • From: Joachim Schrod <jschrod@xxxxxxx>
  • Date: Fri, 28 Mar 2008 12:50:12 +0100
  • Message-id: <fsim1k$qnm$2@xxxxxxxxxxxxx>
Sam Clemens wrote:
Wolfgang Woehl wrote:
Randall R Schulz:

There's no way for xargs to know about anything other
than the kernel-imposed argument list size limit.

Where can I read the argument list size limit? I fail to see anything relevant with ulimit -a or in proc or in pam's limits.conf.

check the man pages for the shells
usually they list the length of the command line buffer.
In 4.3 BSD, I believe the buffer was 10 kiB. -- which I
thought was deliriously excessive back before I understood
shell scripting and filename globbing.

That's true and interesting, but not really relevant to the xargs discussion. xargs doesn't use the shell command line buffer limit, but the *ARG_MAX limits from sysconf(3) and takes also the environment space into account.


Joachim Schrod Email: jschrod@xxxxxxx
Roedermark, Germany

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >