Mailinglist Archive: opensuse (2459 mails)

< Previous Next >
Re: [opensuse] /bin/rm: Argument list too long
  • From: Sam Clemens <clemens.sam1@xxxxxxxxx>
  • Date: Fri, 28 Mar 2008 14:05:12 -0400
  • Message-id: <47ED3358.1080007@xxxxxxxxx>
Randall R Schulz wrote:
On Friday 28 March 2008 01:23, 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.

% egrep ARG_MAX /usr/include/linux/limits.h
#define ARG_MAX 131072 /* # bytes of args + environ for exec() */

And I believe there's also a maximum size to the number of
pointers in the array char *argv[].
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >