home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / sun / admin / 9548 < prev    next >
Encoding:
Internet Message Format  |  1992-12-17  |  1.9 KB

  1. Xref: sparky comp.sys.sun.admin:9548 comp.sys.sun.apps:2797 comp.sys.sun.misc:5896 comp.unix.questions:14766 comp.unix.wizards:5259
  2. Path: sparky!uunet!metrix!venkat
  3. From: venkat@metrix.UUCP (Venkat Rangan)
  4. Newsgroups: comp.sys.sun.admin,comp.sys.sun.apps,comp.sys.sun.misc,comp.unix.questions,comp.unix.wizards
  5. Subject: specifying the number of blocks for streams module.
  6. Keywords: mblks, dblks, streams
  7. Message-ID: <905@metrix.UUCP>
  8. Date: 17 Dec 92 16:22:41 GMT
  9. Organization: Metrix Network Systems, Nashua, NH
  10. Lines: 38
  11.  
  12. We have a an application that uses the STREAMS NIT buffering module, nit_buf.
  13. We only use the read-side of the device.  Occasionally, we get
  14.  
  15. xdbmalloc: out of mblks
  16.  
  17. or
  18.  
  19. xdbmalloc: out of dblks
  20.  
  21. on the console and the system hangs.
  22.  
  23. If we observe the streams allocation through netstat -m, 
  24.  
  25. streams allocation:
  26.                                          cumulative  allocation
  27.                       current   maximum       total    failures
  28. streams                    11        13          57           0
  29. queues                     40        43         211           0
  30. mblks                     676      1372     1836310           0
  31. dblks                     676      1372     1415457           0
  32.  
  33. The current amd maximum for mblks and dblks increase to about 100,000
  34. at which point the system hangs.
  35.  
  36. I am seeing this behavior in versions Sun OS 4.0.3 to 4.1.3
  37.  
  38. Is there a way to specify the maximum number of mblks and dblks allocated for
  39. a stream head?  This will atleast prevent us from allocating so many
  40. mblks or dblks that we hang the system.
  41.  
  42. Any info will be greatly appreciated.
  43.  
  44. ---------------------------------------------------------------------------
  45. Venkat Rangan
  46. Metrix Network Systems Inc.    One Tara Blvd, Nashua, NH 03062
  47. venkat@metrix.com        VOICE: (603) 888-7000 FAX: (603) 891-2796
  48. ---------------------------------------------------------------------------
  49.  
  50.