LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-29-2004, 05:15 AM   #1
hk_linux
Member
 
Registered: Nov 2004
Location: India
Distribution: RedHat, PCQLinux, Fedora
Posts: 95

Rep: Reputation: 15
number of rsh connections


Can we restict the number of rsh connections accepted by the rsh server to say 'n' connections?
I have a server which can cater upto 100 clients. I wish to restrict the number of simultaneous connections on the server, to reduce the load caused on the server. I am using kernel 2.4.

TIA.
 
Old 12-29-2004, 05:26 AM   #2
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 36
I do not use RedHat, but I seem to remember that you may be able to limit the connections by editing the /etc/xinetd.d/rsh file. This is just a guess though.
 
Old 12-29-2004, 06:15 AM   #3
hk_linux
Member
 
Registered: Nov 2004
Location: India
Distribution: RedHat, PCQLinux, Fedora
Posts: 95

Original Poster
Rep: Reputation: 15
amfoster,
This is what i find in the /etc/xinetd.d/rsh file. I am not able to find out which line will limit the number of connections. Is there any other options which will do the same.

service shell
{
disable = no
socket_type = stream
wait = no
user = root
log_on_success += USERID
log_on_failure += USERID
server = /usr/sbin/in.rshd
}

Any help is appreciated.

TIA.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strategy in PHP to check the number of active connections? vharishankar Programming 5 07-19-2005 08:14 AM
rsh doesnt accept connections Xris718 Linux - General 3 05-19-2005 02:14 PM
Problem exceeding max number of X connections Maldain Mandriva 2 05-05-2005 10:21 AM
number of rsh connections hk_linux Linux - Networking 0 12-31-2004 02:11 AM
How to limit the number of TCP connections for a certain port? mussons Linux - Security 1 01-28-2004 06:27 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:58 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
Open Source Consulting | Domain Registration