Re: [patch 0/3] no MAX_ARG_PAGES -v2

Ollie Wild
2007-06-14T06:24:20Z

On 6/13/07, Luck, Tony <tony.luck@intel.com> wrote:
> Above 5Mbytes, I started seeing problems. The line/word/char
> counts from "wc" started being "0 0 0". Not sure if this is
> a problem in "wc" dealing with a single line >5MBytes, or some
> other problem (possibly I was exceeding the per-process stack
> limit which is only 8MB on that machine).

Interesting. If you're exceeding your stack ulimit, you should be
seeing either an "argument list too long" message or getting a
SIGSEGV. Have you tried bypassing wc and piping the output straight
to a file?

Ollie