Bug 155813 - rsh error poll: protocol failure in circuit setup after 290 connections
rsh error poll: protocol failure in circuit setup after 290 connections
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: rsh (Show other bugs)
3.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Karel Zak
Ben Levenson
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2005-04-24 04:21:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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):
rsh-0.17-17

How reproducible:
Always

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

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

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
rsh-0.17-17

# rpm -q xinetd
xinetd-2.3.12-6.3E

# rpm -q rsh-server
rsh-server-0.17-17
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!
Jon.

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