Re: 248 a magic number?

JaZz (pooh@acm.cs.umr.edu)
Wed, 21 May 1997 10:09:30 -0500 (CDT)


>
> > is there any wierd undocumented, or otherwise unknown to me reason why I
> > cannot get more than 248 people logged into mars_nwe (v.98pl10) ?
> > Got plenty of ram, file and inode handles, etc..
> > after user 248 gets logged in the next user who tries to get logged in gets
> > a "NO response from fileserver" msg and can't login. funny thing is, I have
> > mars compiled for 310 users max
> > any idears?
>
> Try to compile with more users, 400 or 450 let's say. Maybe this is
> the problem, but can be (as you saed) the max. simultaneosly opened
> file, socket etc. limit. Maybe Martin or other Linux guru knows, but
> his answer takes time... :-)
>

I don't think this is going to help any....as I've already tried compiling
nwserv to allow more users on.

Some have said that I must be running out of fd's, and to check
/proc/$PID/fd for the nwserv process....it's only got 9 fd's...for example:

[root@common fd]# ps aux |grep nwserv
root 215 0.0 0.5 932 356 ? S May 14 3:14 /sbin/nwserv

[root@common fd]# ls /proc/215/fd
0 1 2 3 4 5 6 7 8 9

Also, each of the nwconn processes (that handle each user that logs in via
mars) have varying amounts of fd's in varying amounts of
contiguous/non-contiguous numbers..but none of them seem to have ALL 256 at
once....for example:

[root@common fd]# ps aux |grep nwserv
{list edited for brevity}
common 32737 0.0 0.8 1076 524 ? S May 20 0:00 nwconn 238 0.0.0.1:10

[root@common fd]# ls /proc/32737/fd
0 115 119 142 157 165 176 184 190 202 212 220 226 234 246 4
1 116 121 145 160 166 180 187 195 203 213 221 230 235 254
101 118 124 150 162 174 183 188 2 209 217 225 231 238 3

In light of this information, am I under the impression that I -shouldn't-
be running out of fd's?....or am I just totally wrong here?

Thankx!

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeff Schoby is:                    | "May U live 2 see the dawn."
  Systems Analyst                  |   -Prince
  City of Columbia, MO             +------+--------------------------------
 ----------------------------------+      |      Owner/President of:
 email:                     |             |      Sacred Soul Records
  |   pooh@acm.cs.umr.edu   |             |     
  |_________________________|             |      ssr@tranquility.net
   Home of the Apocalypse BBS             | http://www.tranquility.net/~ssr
 finger bbs@acm.cs.umr.edu for info.....  |     
 or http://acm.cs.umr.edu/~bbs/index.html | 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~