LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices



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

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


Hello,
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 ...

Al
 
Old 10-26-2006, 11:33 AM   #2
kayrin
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)
 
  


Reply


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 01:37 AM
bind error on high ports "address already in use" DCalabrese Linux - Networking 2 05-25-2005 10:21 AM
WHAT'S does this "curl: (7) socket error: 111" mean??? njugs79 Linux - Newbie 2 04-05-2005 05:41 AM
"NON-RECOVERABLE RESOLVER ERROR" when installing ports jamminparidise *BSD 1 02-11-2004 09:33 PM
"rcmd socket : All ports in use" Error alchimiste Linux - Networking 0 02-18-2003 05:57 AM


All times are GMT -5. The time now is 11:38 PM.

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