Re: bumping ARG_MAX

2011-11-14 Thread David Holland
On Mon, Nov 14, 2011 at 05:39:02PM +, David Laight wrote: > > pkgsrc has grown to the point where the following happens: > > > >valkyrie% pwd > >/usr/pkgsrc > >valkyrie% grep foo */*/Makefile > >/usr/bin/grep: Argument list too long. > >Exit 1 > > Use: grep -r --i

Re: bumping ARG_MAX

2011-11-14 Thread Mouse
>>valkyrie% grep foo */*/Makefile > Use: grep -r --include Makefile foo . That (a) will include Makefiles at other depths than two (which may not be a problem in the specific example of pkgsrc, but in general makes it non-equivalent), (b) is grep-specifc, and (c) will walk the whole tre to ful

Re: bumping ARG_MAX

2011-11-14 Thread David Laight
On Sun, Nov 13, 2011 at 11:17:52PM +, David Holland wrote: > pkgsrc has grown to the point where the following happens: > >valkyrie% pwd >/usr/pkgsrc >valkyrie% grep foo */*/Makefile >/usr/bin/grep: Argument list too long. >Exit 1 Use: grep -r --include Makefile foo . But

Re: bumping ARG_MAX

2011-11-13 Thread Joerg Sonnenberger
On Mon, Nov 14, 2011 at 01:32:24AM +0100, Hubert Feyrer wrote: > On Mon, 14 Nov 2011, Simon Burge wrote: > >I think I like the Linux idea of a portion of stack size best > > What is the stack size? > Is it what ulimit(1) gives me? The 2kB there seem pretty small for > the problem at hand, and I ca

Re: bumping ARG_MAX

2011-11-13 Thread Hubert Feyrer
On Mon, 14 Nov 2011, Simon Burge wrote: I think I like the Linux idea of a portion of stack size best What is the stack size? Is it what ulimit(1) gives me? The 2kB there seem pretty small for the problem at hand, and I can max. raise it to 64kB. - Hubert

Re: bumping ARG_MAX

2011-11-13 Thread Simon Burge
Hubert Feyrer wrote: > On Sun, 13 Nov 2011, David Holland wrote: > > thoughts? > > Here's an interesting comparison: > http://www.in-ulm.de/~mascheck/various/argmax/#results Interesting indeed. I think I like the Linux idea of a portion of stack size best, but certainly based on that table I ca

Re: bumping ARG_MAX

2011-11-13 Thread Hubert Feyrer
On Sun, 13 Nov 2011, David Holland wrote: thoughts? Here's an interesting comparison: http://www.in-ulm.de/~mascheck/various/argmax/#results - Hubert

bumping ARG_MAX

2011-11-13 Thread David Holland
pkgsrc has grown to the point where the following happens: valkyrie% pwd /usr/pkgsrc valkyrie% grep foo */*/Makefile /usr/bin/grep: Argument list too long. Exit 1 valkyrie% I've said on a number of occasions over the last few years that this is the point at which we should cons