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

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9731.0. "MSG-MNI and SEM-MNI question." by VAXRIO::CSANTOS () Tue May 06 1997 17:13

    
    
    	Hi,
    
    
    	I'm just starting with Digital UNix, so sorry if I'm asking
    somthing stupid...
    
    	I have a customer trying to configure his system to run Oracle.
    Oracle asks for a number of parameters to be set on SYSCONFIGTAB.
    
    	We were able to upgrade all of them fine, except for MSG_MNI and
    SEM_MNI.  Oracle asks for 1024 for both of them, but the maximum I can
    set them to is: MSG-MNI=128 and SEM-MNI=256.
    
    	The question is: Do those limits depends on any other parameter???
    
    
    			Thanks in advance
    
    					Claudia
    				
T.RTitleUserPersonal
Name
DateLines
9731.1semmni and msgmni are 32-bit integersGIDDAY::STRAUSStalking through my binocularsTue May 06 1997 18:5830
    Hi Claudia
    
    Both these parameters seem to be 32-bit signed integers, so I'd expect
    you would be able to set the values you require.  I don't thnk they
    depend on anything else.
    
    /*
     *      Semaphore information structure. 
     */
    struct seminfo {
            int     semmni,         /* # of semaphore identifiers */
    		:
    
    /*
     *      Message information structure.
     */
    
    struct msginfo {
            int     msgmax, /* max message size */
                    msgmnb, /* max # bytes on queue */
                    msgmni, /* # of message queue identifiers */
    			:
    
    > Oracle asks for 1024 for both of them, but the maximum I can
    > set them to is: MSG-MNI=128 and SEM-MNI=256.
    
    What happens when you try to set them higher?  How do you verify the
    values?
    
    	leon
9731.2works fine hereALFAM7::GOSEJACOBWed May 07 1997 08:1128
    re .0
    >but the maximum I can set them to is: MSG-MNI=128 and SEM-MNI=256
    ...
    >The question is: Do those limits depends on any other parameter???
    
    I wasn't sure because I usually set a whole bunch of ipc parameters
    when I set a machine up for Oracle. So I put
    
    	ipc:
            msg-mni=2048
            sem-mni=2048
    
    (and no other ipc settings) into the sysconfigtab of my 4.0B system and
    rebooted. Just as I expected:
    
    	sysconfig -q ipc | grep mni
	msg-mni = 2048
    	shm-mni = 128
    	sem-mni = 2048
        
    That pretty much rules out dependencies of msg-mni and sem-mni on other
    (at least ipc) parameters. The question from .1 remains: what happens
    if you set the parameters larger than the max you are currently seeing?
    Does the machine spit out any comments on the console about parameters
    which are not accepted?
    
    	Martin