#13 shell pipes hang!

open
nobody
None
5
2004-05-05
2004-05-05
Anonymous
No

Hello,

using 2.4.22-openmosix3 I frequently observe indefinitly
long hanging processes with a simple shell command like:

cat long_text_file | wc -l

on the other hand

wc -l long_text_file or
wc -l < long_text_file

report rapidly the answer (12041604 lines)
I compiled the latest fileutils and coreutils to make sure
and the same problem happens.

The 2.4.22 kernel without the openmosix patch
works fine with the same commands.

I had noticed that some "tar -cf - . | tar -xf -"
copies also hanged.

I wonder if the "pipe" is modified by the 2.4.22-
openmosix3 patch.

I used the following kernel options:

#
# openMosix
#
CONFIG_MOSIX=y
# CONFIG_MOSIX_TOPOLOGY is not set
CONFIG_MOSIX_SECUREPORTS=y
CONFIG_MOSIX_DISCLOSURE=3
CONFIG_MOSIX_FS=y
CONFIG_MOSIX_DFSA=y
CONFIG_MOSIX_PIPE_EXCEPTIONS=y
CONFIG_MOSIX_NO_OOM=y
CONFIG_MOSIX_LOADLIMIT=y

Any help would be appreciated.

------------------
Hogues Herve
Biotechnology Research Institute
E-mail: Herve.Hogues@BRI.NRC.CA

Discussion

  • Ciro Cattuto
    Ciro Cattuto
    2004-05-10

    Logged In: YES
    user_id=1019645

    If I remember it right, I first stumbled across this problem
    under 2.4.22-openmosix-2. Upgrading to 2.4.22-openmosix-3
    didn't solve it. The problem occurs with a very low
    frequency, and I have no way of reproducing it. Under 2.4.22
    I did experience a fifo-related kernel oops (previously
    reported).