Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 155813 - rsh error poll: protocol failure in circuit setup after 290 connections
rsh error poll: protocol failure in circuit setup after 290 connections
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: rsh (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Karel Zak
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2005-04-23 16:15 EDT by Jon Camp
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-04-24 04:21:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jon Camp 2005-04-23 16:15:46 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

Description of problem:
This is exactly the same as bugs 59876 and 88644 reported but the updated packages don't fix the problem in RedHat ES 3.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
To duplicate the error, run a script such as the following:

while [ "$retry" -lt 300 ]
rsh <hostname> ls > /dev/null
echo $retry
retry=$(($retry +1))

Actual Results:  After rsh connection 290 the system returns the error:
poll: protocol failure in circuit setup 

Expected Results:  no error

Additional info:

# rpm -q rsh

# rpm -q xinetd

# rpm -q rsh-server
Comment 1 Karel Zak 2005-04-24 04:21:14 EDT
The "rsh" uses limited number of privilege ports (ports between 512 and 1013).
If all ports are used the server cannot creates new (stderr) connection to
client (don't forget "rsh" uses two connection for each session).

You can try workaround: http://people.redhat.com/kzak/rsh/rsh-fifo/
Comment 2 Jon Camp 2005-04-24 14:29:49 EDT
Great the rsh-fifo wrapper worked great and is much faster than using rsh 
directly.  Thanks for your quick response!

Note You need to log in before you can comment on or make changes to this bug.