Solaris 8 box: cat file | rsh solaris_2.6_box "cat > /dev/null" SLOW

Solaris 8 box: cat file | rsh solaris_2.6_box "cat > /dev/null" SLOW

Post by Michael Wa » Thu, 24 May 2001 21:42:44



And the problems seems only happens with the combination of "|" and rsh:

On solaris 8 box:

cat 10MB_file | rsh solaris_2.6_box "cat > /dev/null"

takes forever to finish.

When I did on Solaris 8 box:

ufsdump 0f - / | rsh solaris_2.6_box "cat > /dev/null"

It appears _very_ slow.

The apptrace shows repeated messages:

ufsdump  -> libc.so.1:.mul(0xa, 0x10624dd3, 0x4)
ufsdump  -> libc.so.1:select(nfds = 0x0, readfds = 0x0, writefds = 0x0, errorfds = 0x0, timeout = 0xffbede38) = 0x0
ufsdump  -> libc.so.1:.mul(0xa, 0x10624dd3, 0x4)
ufsdump  -> libc.so.1:select(nfds = 0x0, readfds = 0x0, writefds = 0x0, errorfds = 0x0, timeout = 0xffbede38) = 0x0
ufsdump  -> libc.so.1:.mul(0xa, 0x10624dd3, 0x4)
ufsdump  -> libc.so.1:select(nfds = 0x0, readfds = 0x0, writefds = 0x0, errorfds = 0x0, timeout = 0xffbede38) = 0x0

So it is doing useful work to me.

And the snoop shows:

solaris_8_box -> solaris_2.6_box RSHELL C port=985
solaris_2.6_box -> solaris_8_box RSHELL R port=985
solaris_8_box -> solaris_2.6_box RSHELL C port=985
solaris_2.6_box -> solaris_8_box RSHELL R port=985

Again it does not show useful work to me.

Is this related to IPv6? Can someone help me to verify if this happens
to your box? And a fix? Thanks.

 
 
 

Solaris 8 box: cat file | rsh solaris_2.6_box "cat > /dev/null" SLOW

Post by Casper H.S. Dik - Network Security Engine » Thu, 24 May 2001 22:12:34


[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]


>And the problems seems only happens with the combination of "|" and rsh:
>On solaris 8 box:
>cat 10MB_file | rsh solaris_2.6_box "cat > /dev/null"

Check the window sizes of the established connection.

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

 
 
 

1. cat file > /dev/lp0 gives "no such device"


(regarding getting Linux and lpt0 running)

: No luck.
: Is the hardware addess given in man lp correct?
: I read that when you boot, the system should tell you the addresses for lpt0, lpt1, but my system wont.
: Any ideas?
: Someone might want to add this "first point about printing" to the HOWTO file at sunsite.
: Thanks in advance.
: Adam

Use lpt1.  lpt0 (correct me if I'm wrong, I'm working from memory here)
sits at 0x03BC, was used in older combo mono/parallel adaptors (and a few
Gateway machines?).  lpt1 sits at 0x0378, and is the most common "first"
parallel port.  lpt2 sits at 0x0278, and is the most common "second"
parallel port.

-- Chris


   PGP 2.6 public key available by finger for the clinically paranoid.

2. NFS connection error

3. "> file" versus "cp /dev/null file"

4. GCC and libraries

5. Is "sh file" equivalent to "cat file | sh"

6. redhat 9.0 networking

7. "cat file /dev/lp0" is even NOT working :-(

8. how do I use ws_ftp through the Linux firewall?

9. cp /dev/null or cat /dev/null

10. better than "$cmd 2>&1 | cat - > $logfile" ?

11. cat /dev/null > /dev/rmt0 dangerous?

12. how to prevent "man" generates "cat" pages?