Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-18-2003, 07:47 AM   #1
LQ Newbie
Registered: Feb 2003
Posts: 2

Rep: Reputation: 0
"rcmd socket : All ports in use" Error

One of my scripts does lots of rsh'ing to other unix machine (even in local). Those scripts work fine on an other linux machine. Both machines are installed with redHat 7.1 and the installations seem to be the same for both of them.
But after some rsh connections i get (only in the second machine) :
"rcmd socket : All ports in use"

and the rsh does not work. After 30 seconds everything works fine again. Is there any way to check the availability of ports ? How to free up ports ? Is it possible to increase the number of ports ...

Thanks a lot for your answer ...

Old 10-26-2006, 10:33 AM   #2
LQ Newbie
Registered: Oct 2006
Posts: 1

Rep: Reputation: 0
all you have to do it modify your /etc/xinetd.conf

set higher value for "instance"
and set "cps" for something like "200 1" (max "200" simultaneous connections to any one service. if 200 is reached, back off for "1" sec)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Unable to establish ICE Listeners: Cannot Socket..." Error!!! cqmyg5 Slackware 6 04-15-2012 12:37 AM
bind error on high ports "address already in use" DCalabrese Linux - Networking 2 05-25-2005 09:21 AM
WHAT'S does this "curl: (7) socket error: 111" mean??? njugs79 Linux - Newbie 2 04-05-2005 04:41 AM
"NON-RECOVERABLE RESOLVER ERROR" when installing ports jamminparidise *BSD 1 02-11-2004 08:33 PM
"rcmd socket : All ports in use" Error alchimiste Linux - Networking 0 02-18-2003 04:57 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration