[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

3393.0. "ultrix export/historian won't work for me" by GIDDAY::DRANSFIELD (Mike Dransfield, Sydney RSSG) Tue Jul 21 1992 07:36

    Is there some magic to getting the export and historian fm's to work
    on ULTRIX?
    I have a couple of errors when I try to use it.
    1) The background processs's keep dying with
    semget failure
    semget failure: No space left on device
    MCC-F-FATAL, fatal DECmcc error
    [5]    Exit 1               /usr/mcc/mmexe/mcc_historian_fm_bg
    .domain.csc-1-13
    
    semget failure: No space left on device
    
    [4]    Exit 20              /usr/mcc/mmexe/mcc_exporter_fm_bg
    mcc_export_rdb
    
    2) when I do a start export or start record (from the iconic map pm)
    I get a
    entity existance cannot be determined error.
    
    I increased some of the SEM* values and now have:
    /*
     * Sizing constants
     */
    
    #define SEMMAP 10
    #define SEMMNI 10
    #define SEMMNS 120 /* increased from 60 to 120 for mcc */
    #define SEMMNU 60 /* increased from 30 to 60 for mcc */
    #define SEMMSL 25
    #define SEMOPM 10
    #define SEMUME 30 /* increased from 10 to 30 for mcc */
    #define SEMVMX 32767
    #define SEMAEM 16384
    
    This is on a 5000/200 with 24Mb memory running
    Ultrix  V4.2 MCC V1.2
    
    Any clues as to why I am having problems with this?
    
    Thanks,
    Mike
T.RTitleUserPersonal
Name
DateLines
3393.1Are you using the new kernel?TOOK::MINTZErik Mintz, dtn 226-5033Tue Jul 21 1992 11:329
Depending on your use, those values may still be too small.
I believe there is a formula in the Historian Use book (I don't
have one in front of me at the moment).

In any case, after you change the semaphore values, you must:

1) rebuild the kernel
2) Copy the new kernel to /vmunix
3) reboot
3393.2TOOK::SHMUYLOVICHTue Jul 21 1992 12:513
    You can find a formula to calculate the number of semaphores in the
    release notes for Historian and Exporter.
3393.3any actual values?GIDDAY::DRANSFIELDMike Dransfield, Sydney RSSGWed Jul 22 1992 05:0716
    re: .1,.2
    Thanks for the replies.
    
    I had read the bit about increasing the semaphore values, it just
    didn't translate too easily for me into values which worked!
    
    I have a single user of mcc and no other process, except for the
    two background processes (exporter and historian) and one copy of
    the iconic map. I used the values in .0 and expected them to work
    but they didn't.
    and yes I did use the new kernel...
    I have increased them again and will try tomorrow, but if anyone has
    used this, I would be interested to see the values in their sem.h
    file...
    thanks,
    Mike
3393.4values that work for meGIDDAY::DRANSFIELDMike Dransfield, Sydney RSSGThu Jul 23 1992 04:4919
    To answer my own question, here is my sem.h values, which now work
    having increased them some more from .0.
    
    /*
     * Sizing constants
     */
    
    #define SEMMAP 10
    #define SEMMNI 20 /* increased from 10 to 20 from mcc */
    #define SEMMNS 240 /* increased from 60 to 240 for mcc */
    #define SEMMNU 120 /* increased from 30 to 120 for mcc */
    #define SEMMSL 25
    #define SEMOPM 10
    #define SEMUME 60 /* increased from 10 to 60 for mcc */
    #define SEMVMX 32767
    #define SEMAEM 16384
    
    
    Mike