I suggest you use this in your inetd.cof

telnet stream  tcp     nowait.256  root    /usr/sbin/tcpd  in.telnetd 

by default inetd would only allow a maximum number of server instance of 40
placing 256 wourl allow you to have 256 telnet connection at a time..

don't forget the dot (".") between nowait and 256

On Thursday 28 June 2001 11:30 am, you wrote:
> tnx.  will try that...  so the prob may be the queuelenqth since the
> default is just 128?
>
> > why not try to run your inetd like this
> >
> >
> > /usr/sbin/inetd -d -q 256 /etc/inetd.conf >/dev/null 2>&1 &
> >
> > below is the test of that command
> >
> >
> > [root@webadmin rex]# w
> >   9:54am  up 20:11, 57 users,  load average: 0.19, 0.13, 0.04
> > USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU  WHAT
> > rex      pts/0    202.72.78.181     9:09am  1.00s  1.36s   ?     -
> > i        pts/1    202.72.78.181     9:44am  4:13   0.38s  0.04s  telnet
> > webadmin i        pts/2    202.72.78.181     9:44am 10:00   0.29s  0.08s 
> > -bash i        pts/3    202.72.78.181     9:44am  3:57   0.29s  0.02s 
> > pico who i        pts/4    202.72.78.181     9:44am  3:46   0.98s  0.69s 
> > watch -n 2 w i        pts/5    202.72.78.181     9:44am  9:29   0.28s 
> > 0.07s  -bash i        pts/6    202.72.78.181     9:44am  3:31   0.31s 
> > 0.03s  pico inded i        pts/7    202.72.78.181     9:45am  9:21  
> > 0.30s  0.09s  -bash i        pts/8    202.72.78.181     9:45am  9:17  
> > 0.27s  0.07s  -bash i        pts/9    202.72.78.181     9:45am  9:12  
> > 0.29s  0.08s  -bash i        pts/10   202.72.78.181     9:45am  9:08  
> > 0.28s  0.08s  -bash i        pts/11   202.72.78.181     9:45am  3:09  
> > 0.38s  0.05s  telnet hobbiton.org i        pts/12   202.72.78.181    
> > 9:45am  3:21   0.32s  0.05s  ftp mail i        pts/13   202.72.78.181    
> > 9:45am  8:44   0.28s  0.08s  -bash i        pts/14   202.72.78.181    
> > 9:45am  8:38   0.30s  0.09s  -bash i        pts/15   202.72.78.181    
> > 9:45am  8:33   0.29s  0.08s  -bash i        pts/16   202.72.78.181    
> > 9:45am  8:29   0.27s  0.08s  -bash i        pts/17   202.72.78.181    
> > 9:46am  8:24   0.29s  0.09s  -bash i        pts/18   202.72.78.181    
> > 9:46am  8:20   0.28s  0.08s  -bash i        pts/19   202.72.78.181    
> > 9:46am  8:16   0.29s  0.08s  -bash i        pts/20   202.72.78.181    
> > 9:46am  8:11   0.28s  0.07s  -bash i        pts/21   202.72.78.181    
> > 9:46am  2:56   0.34s  0.05s  ftp technoc i        pts/22   202.72.78.181 
> >    9:46am  2:45   0.60s  0.27s  lynx www.yahoo.com i        pts/23  
> > 202.72.78.181     9:46am  7:49   0.27s  0.06s  -bash i        pts/24  
> > 202.72.78.181     9:46am  7:45   0.28s  0.07s  -bash i        pts/25  
> > 202.72.78.181     9:46am  7:42   0.29s  0.09s  -bash i        pts/26  
> > 202.72.78.181     9:46am  7:37   0.30s  0.08s  -bash i        pts/27  
> > 202.72.78.181     9:46am  7:33   0.29s  0.09s  -bash i        pts/28  
> > 202.72.78.181     9:46am  7:30   0.28s  0.08s  -bash i        pts/29  
> > 202.72.78.181     9:46am  7:25   0.28s  0.08s  -bash i        pts/30  
> > 202.72.78.181     9:47am  7:14   0.28s  0.08s  -bash i        pts/31  
> > 202.72.78.181     9:47am  7:10   0.28s  0.08s  -bash i        pts/32  
> > 202.72.78.181     9:47am  6:59   0.30s  0.08s  -bash i        pts/33  
> > 202.72.78.181     9:47am  6:52   0.32s  0.09s  -bash i        pts/34  
> > 202.72.78.181     9:48am  6:10   0.31s  0.09s  -bash i        pts/35  
> > 202.72.78.181     9:48am  5:52   0.28s  0.07s  -bash i        pts/36  
> > 202.72.78.181     9:48am  5:48   0.31s  0.08s  -bash i        pts/37  
> > 202.72.78.181     9:48am  5:44   0.28s  0.08s  -bash i        pts/38  
> > 202.72.78.181     9:48am  5:40   0.28s  0.07s  -bash i        pts/39  
> > 202.72.78.181     9:48am  5:37   0.31s  0.07s  -bash i        pts/40  
> > 202.72.78.181     9:48am  5:32   0.29s  0.09s  -bash i        pts/41  
> > 202.72.78.181     9:48am  5:28   0.30s  0.08s  -bash i        pts/42  
> > webadmin          9:50am  4:13   0.28s  0.06s  -bash i        pts/43  
> > 202.72.78.181     9:51am  2:32   0.29s  0.07s  -bash i        pts/44  
> > 202.72.78.181     9:51am  2:28   0.31s  0.08s  -bash i        pts/45  
> > 202.72.78.181     9:52am  2:23   0.29s  0.08s  -bash i        pts/46  
> > 202.72.78.181     9:52am  2:19   0.30s  0.07s  -bash i        pts/47  
> > 202.72.78.181     9:52am  2:15   0.32s  0.10s  -bash i        pts/48  
> > 202.72.78.181     9:52am  2:11   0.33s  0.10s  -bash i        pts/49  
> > 202.72.78.181     9:52am  2:08   0.31s  0.10s  -bash i        pts/50  
> > 202.72.78.181     9:52am  2:03   0.33s  0.09s  -bash i        pts/51  
> > 202.72.78.181     9:52am  1:50   0.29s  0.07s  -bash i        pts/52  
> > 202.72.78.181     9:52am  1:47   0.30s  0.07s  -bash i        pts/53  
> > 202.72.78.181     9:52am  1:43   0.31s  0.08s  -bash i        pts/54  
> > 202.72.78.181     9:52am  1:39   0.31s  0.10s  -bash i        pts/55  
> > 202.72.78.181     9:52am  1:36   0.33s  0.09s  -bash i        pts/56  
> > 202.72.78.181     9:52am  1:32   0.35s  0.09s  -bash [root@webadmin rex]#
> >
> >
> >
> >    rex
> >
> >
> >
> > -- Original Message --
> > From: Ronald Warner <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Send: 09:19 AM
> > Subject: [plug] inetd problem
> >
> > we have a linuxbox that should be accessed by more than 50
> > users via telnet...  however, it seems that inetd gets overloaded by
> > telnet requests -- only about 40 users can telnet to the machine.
> > the machine has dual processors and 500mb RAM...  how do i fix
> > this?  any ideas?
> >
> > thanks.
> > _
> > Philippine Linux Users Group. Web site and archives at
> > http://plug.linux.org.ph To leave: send "unsubscribe" in the body to
> > [EMAIL PROTECTED]
> >
> > To subscribe to the Linux Newbies' List: send "subscribe" in the body
> > to [EMAIL PROTECTED]
> >
> >
> >
> > Cagayan Online Company -- Your Gateway to the Internet
> >
> >
> >
> > _
> > Philippine Linux Users Group. Web site and archives at
> > http://plug.linux.org.ph To leave: send "unsubscribe" in the body to
> > [EMAIL PROTECTED]
> >
> > To subscribe to the Linux Newbies' List: send "subscribe" in the body to
> > ph-linux-newbie-request@
>
> lists.q-linux.com
>
>
> _
> Philippine Linux Users Group. Web site and archives at
> http://plug.linux.org.ph To leave: send "unsubscribe" in the body to
> [EMAIL PROTECTED]
>
> To subscribe to the Linux Newbies' List: send "subscribe" in the body to
> [EMAIL PROTECTED]

-- 
----------------------------------------------------------
Rexes P. Villa
[EMAIL PROTECTED]
PGP Key ID: B75D98C4
----------------------------------------------------------
~  ~    i    c  a  n  '  t    t  h  i  n  k  .  .  .    t  h  e  r  e  f  o  
r  e    i    a  m    ~  ~
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to