> Noticed this using gupdatedb from Blastwave. [Yes, I filed it there, but
> no answer]

no .. we got it.

> # gupdatedb
> sort: insufficient memory; use -S option to increase allocation
> Broken Pipe

I ran into this myself a few days ago.

> Played a bit with it, but didn't go away. Searched Google, and this was
> something way back in Solaris 10.
> But nothing actual.
> Therefore I made it fail here, in front of my eyes:
>
> # find . | wc -l
>   372245
> # find . | sort | wc -l
> sort: insufficient memory; use -S option to increase allocation
>        0

yep .. been there .. done that.

> # which sort
> /usr/bin/sort

you can use /usr/xpg4/bin/sort to see the same effect also.

> # uname -a
> SunOS SolU 5.11 snv_96 i86pc i386 i86pc
> # ls -l /usr/bin/sort
> -r-xr-xr-x  96 root     bin         8148 Aug  9 01:58 /usr/bin/sort

out of curiosity .. how much memory do you have in this machine ?

Dennis



Reply via email to