Skip to contentSkip to conversation

: grep hanging with ReiserFS

PROBLEM Shawn Starr 2 participants 3 messages Feb 17, 2001

lore
Share & tools
lore
#0 lore raw

grep -r "216.234.235.46" *

...waiting...

./debugps | more
USER PID COMMAND WCHAN
root 1 init do_select
....
root 7 [kreiserfsd] -
.....

root 28438 grep -r 216.234. pipe_wait

Im using grep in /etc and its just waiting....
it should have finished.

Shawn.

#1 lore raw

Re: [PROBLEM]: grep hanging with ReiserFS - More info

Linux coredump 2.4.2-pre3 #1 Fri Feb 9 20:57:39 EST 2001 i586 unknown

Kernel modules         2.3.21
Gnu C                  2.95.2
Gnu Make               3.79.1
Binutils               2.10.1
Linux C Library        2.2.1
Dynamic linker         ldd (GNU libc) 2.2.1
Procps                 2.0.7
Mount                  2.10r
Net-tools              1.58
Console-tools          0.2.3
Sh-utils               2.0j
Modules Loaded         nls_cp437 vfat fat
Quoted 23 lines · Shawn Starr

grep -r "216.234.235.46" *

...waiting...

./debugps | more
USER PID COMMAND WCHAN
root 1 init do_select
....
root 7 [kreiserfsd] -
.....

root 28438 grep -r 216.234. pipe_wait

Im using grep in /etc and its just waiting....
it should have finished.

Shawn.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw
In reply to Shawn Starr
Quoted 2 lines · Shawn Starr

grep -r "216.234.235.46" *
Im using grep in /etc and its just waiting....

grep -r follows symlinks and tries to open named pipes. If you have qmail installed then /etc/qmail is a symlink to /var/qmail and named pipe /var/qmail/queue/lock/trigger lives down there. grep hangs trying to open the pipe. Not a reiserfs problem, just a badly designed application.