Re: [OT] Re: The vi editor causes brain damage

From: Benny Amorsen
Date: Sun Aug 19 2007 - 08:31:45 EST


>>>>> "WT" == Willy Tarreau <w@xxxxxx> writes:

WT> Under unix, the shell resolves "*" and passes the 10000 file names
WT> to the "rm" command. Now, execve() may fail because 10000 names in
WT> arguments can require too much memory. That's why find and xargs
WT> were invented!

It would be very handy if the argument memory space was expanded.
Many years ago I hit the limit regularly on Solaris, and going to
Linux with its comparatively large limit was a joy. Now it happens to
me quite often on Linux as well.

What are the primary problems with expanding it? It used to be
swappable memory, is that still the case?


/Benny


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/