home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / question / 13500 < prev    next >
Encoding:
Text File  |  1992-11-17  |  4.1 KB  |  90 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!mdisea!uw-coco!nwnexus!Celestial.COM!bill
  3. From: bill@Celestial.COM (Bill Campbell)
  4. Subject: Re: SCO TCPIP >9 LOGINS AGAIN
  5. Organization: Celestial Software, Mercer Island, WA
  6. Date: Tue, 17 Nov 1992 02:00:52 GMT
  7. Message-ID: <1992Nov17.020052.28146@Celestial.COM>
  8. References: <9461.63.uupcb@cccbbs.UUCP>
  9. Lines: 79
  10.  
  11. In <9461.63.uupcb@cccbbs.UUCP> doug.pavey@cccbbs.UUCP (Doug Pavey) writes:
  12.  
  13. >Well, I read Aris' and Barry's messages about what is involved in
  14. >getting more than 9 tty's to login.  ttyp00 -ttyp08 work fine, ttyp09
  15. >will login, but hang TCP.
  16.  
  17. Xenix has a max of 32 ptys and SCO UNIX a max around 254.
  18.  
  19. >How does one debug streams limits problems - determine how many are in
  20. >use, or how many one should set up if the user may be using as many as
  21. >10 processes per login (Progress Database is wonderful).  All users are
  22. >using TCP via 3 8 port Terminal servers. I can get the login messages on
  23. >all ports, until the user actually signs in, we don't seem to have
  24. >problems.  Seems like streams may be the culprit.  How to fix???
  25.  
  26. You don't say in this post whether you're running Xenix or UNIX
  27. and there are different tools to determine problems with streams
  28. in each.  Xenix comes with a program 'sw', UNIX comes with crash, and
  29. there are some freely distributed monitor programs such as u386mon
  30. available from various ftp sites.
  31.  
  32. Xenix sw displays:
  33.  
  34. Pause=1   Calls=74                                Host=camco1
  35.  
  36.    Resource  Cnt       Use   Total     Max    Fail
  37.      stream: 128        40    4020      53       0
  38.       queue: 256        83    8074     111       0
  39.      mblock:1152        7818508524     636       0
  40. dblk totals:1152        7813966687     543    4469
  41.  
  42. Mem Size Cnt Med Low   Use   Total     Max    Fail
  43.   1    4 256 230 204     0  893844     155       0
  44.   2   16 128 115 102     2  449445     102     889
  45.   8   32 256 230 204     6 2644776     207    3339
  46.  16   64 256 230 204     5 8602774     147       0
  47.  16  128 128 115 102    50  386387     103      18
  48.  12  256  48  43  38    15  220139      37       0
  49.   4  512   8   7   6     0  102435       7     223
  50.  32 1024  32  28  25     0   50083       8       0
  51.  64 2048  32  28  25     0  584718      13       0
  52.  32 4096   8   7   6     0   32086       5       0
  53.   0 8192   0   0   0     0       0       0       0
  54.  
  55. Buffers (used/total) = 11/187 Kbytes
  56.  
  57. This is from a system that has been running for a while now.  Uptime gives:
  58. camco1:ttyp02 /usr/local/bin # uptime
  59.   5:53pm  up 20 days, 55 mins,  12 users,  load average: 1.19, 1.04, 1.02
  60.  
  61. You would probably want to use crash and it's strstat command on a UNIX
  62. system which gives similar information.  A typical crash display is:
  63. beeson1:ttyp8:/onager/etc > crash
  64. dumpfile = /dev/mem, namelist = /unix, outfile = stdout
  65. > strstat
  66. ITEM                  CONFIG   ALLOC    FREE         TOTAL     MAX    FAIL
  67. streams                  256      158      98           821     171       0
  68. queues                  1280      704     576          2306     786       0
  69. message blocks          2825      309    2516      11357083     705       0
  70. data block totals       2260      309    1950       9675047     669      63
  71. data block size    4     384       51     333         66265     364      63
  72. data block size   16     384        8     376         39861      65       0
  73. data block size   64     512       24     488       4950469      68       0
  74. data block size  128     448      157     290       2974970     392       0
  75. data block size  256     220       33     187        632454     107       0
  76. data block size  512     136       36     100        495575      46       0
  77. data block size 1024      52        0      52         84628      44       0
  78. data block size 2048     104        0     104        430474      25       0
  79. data block size 4096      20        0      20           351      12       0
  80.  
  81. Count of scheduled queues:   0
  82. >
  83.  
  84. Bill
  85. -- 
  86. INTERNET:  bill@Celestial.COM   Bill Campbell; Celestial Software
  87. UUCP:   ...!thebes!camco!bill   6641 East Mercer Way
  88.              uunet!camco!bill   Mercer Island, WA 98040; (206) 947-5591
  89. SPEED COSTS MONEY -- HOW FAST DO YOU WANT TO GO?
  90.