home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / internal / 1742 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  2.2 KB

  1. Path: sparky!uunet!auspex-gw!guy
  2. From: guy@Auspex.COM (Guy Harris)
  3. Newsgroups: comp.unix.internals
  4. Subject: Re: SunOS 4.1: can you find out if EMOREIPCS is on?
  5. Message-ID: <14271@auspex-gw.auspex.com>
  6. Date: 25 Aug 92 19:41:38 GMT
  7. References: <geaCp5y00hNSMCml0F@cs.cmu.edu> <14235@auspex-gw.auspex.com> <geaY=QS00hNSAFZVAH@cs.cmu.edu>
  8. Sender: news@auspex-gw.auspex.com
  9. Organization: Auspex Systems, Santa Clara
  10. Lines: 41
  11. Nntp-Posting-Host: bootme.auspex.com
  12.  
  13. >EMOREIPCS increases the amount of memory allocated to SysV shared memory
  14. >stuff. I'm 100% positive it is NOT a CMU hack because it is in the
  15. >instructions for the postgres installation.
  16.  
  17. Then maybe it's a Postgres hack, or something, 'cuz I rooted through the
  18. SunOS 4.1 source *and* the SunOS 4.1.1 source, and there ain't no such
  19. option in it....
  20.  
  21. >You have to make sure you have a kernel with extra-big shm stuff
  22. >allocated in it.
  23.  
  24. *Definitely* sounds like *somebody's* local hack.  If all you're trying
  25. to do is crank up the number of various SV IPC items, the standard SunOS
  26. way of doing that is to put "options <name>=<value>" lines into the
  27. "config" file, such as
  28.  
  29.     options    MSGPOOL=N    # message pool size in kilobytes
  30.     options    MSGMNB=N    # default max # of bytes on a queue
  31.     options    MSGMNI=N    # # of message queue identifiers
  32.     options    MSGTQL=N    # # of system message headers
  33.  
  34.     options    SEMMNI=N    # # of semaphore identifers
  35.     options    SEMMNS=N    # # of semaphores in system
  36.     options    SEMUME=N    # max # of undo entries per process
  37.     options    SEMMNU=N    # # of undo structures in system
  38.  
  39.     options    SHMSIZE=N    # maximum shared memory seg size in kilobytes
  40.     options    SHMMNI=N    # # of shared memory identifiers
  41.  
  42. That should be documented somewhere in the SunOS manual set.
  43.  
  44. It sounds as if somebody hacked up the <sys/{msg,sem,shm}.h> header
  45. files, or "conf.common/param.c", to have one Big Magic Switch to crank
  46. many of those numbers up from their default values; if so, that somebody
  47. doesn't appear to have been Sun....
  48.  
  49. If you want to know how big any of those *individual* items are, you can
  50. "adb" your "/vmunix" and look at the "msginfo", "seminfo", and
  51. "shminfo" structures to see what the values were set to.  See
  52. "conf.common/param.c", and the aforementioned header files, to see where
  53. you should be looking.
  54.