[PLUG] avoiding "Argument list too long" error.
alan
alan at clueserver.org
Mon Oct 9 23:00:30 UTC 2006
On Mon, 9 Oct 2006, Eric Wilhelm wrote:
> # from Brent Rieck
> # on Monday 09 October 2006 02:50 pm:
>
>> Google tells me that it's actually a kernel issue and to make
>> things work as intended I must recompile my kernel.
>
> Yes, it is a kernel issue. And, not just your command-line, but also
> your environment variables.
>
> From the kernel source:
> $ grep ARG_MAX include/linux/limits.h
> #define ARG_MAX 131072 /* # bytes of args + environ for exec() */
You would think this could be set from ulimit. That would be too easy.
ulimit does handle a few things that you used to have to recompile for,
such as filehandles. If it handles arg_max they have not updated the man
pages to cover it.
--
"Oh, Joel Miller, you've just found the marble in the oatmeal. You're a
lucky, lucky, lucky little boy. 'Cause you know why? You get to drink
from... the FIRE HOOOOOSE!"
- The Stanley Spudoski guide to mailing list administration
More information about the PLUG
mailing list