[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

grep crashes machine


I just stumbled upon the following. If I do

# cd /
# grep -r * stuff

it outputs files for maybe half a second then hangs the whole machine. The
last matches were under /dev. I can't remember grep ever scanning device
files, but maybe it's just me...

If I do the same as user the process exits at the same point with a message
amounting to "out of memory."

The machine is a P3-650E with 256MB RAM (+256MB swap) and ~200MB files on
all disks. A quite fresh potato-test-2 install.

Any comments?


Reply to: