[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

5723.0. "Semop failure, no space left on device" by PLUNDR::LOWEG (WANTED!! A modern day Robin Hood.) Fri Nov 05 1993 11:05

    
    Can anybody explain what is causing the following error message.
    
    Using the application pull down in the iconic map and selecting the
    Polycenter command line option, "Semop failure, no space left on
    device", is returned.
    
    Only started to happen when the customer upgraded to V4.3 of Ultrix
    from V4.2a. 
    
    
    Gary Lowe UK MCS Nets&Comms.
    
    
    Ultrix V4.3 PNM200 (BMS V1.3) latest iconic map fix.
T.RTitleUserPersonal
Name
DateLines
5723.1Check system parametersTAEC::LAVILLATFri Nov 05 1993 11:1832
    
>    Using the application pull down in the iconic map and selecting the
>    Polycenter command line option, "Semop failure, no space left on
>    device", is returned.
>    

  This mean that a request for semaphore creation was rejected because
  too many semaphores were already created.

  Check the SEMxxx values in /sys/h/sem.h, a typical value is :

/*
 * Sizing constants
 */

#define SEMMAP 10
#define SEMMNI 30
#define SEMMNS 180
#define SEMMNU 90
#define SEMMSL 30
#define SEMOPM 10
#define SEMUME 30
#define SEMVMX 32767
#define SEMAEM 16384

  Hope this helps.
   
  Regards.

  Pierre.


5723.2Thankyou..PLUNDR::LOWEGWANTED!! A modern day Robin Hood.Fri Nov 05 1993 11:429
    
    
    Thanks for your quick response Pierre, we are currently looking at
    sem.h and its parameters.
    
    Do you know how or if the ipcs command is useful to tell if any of
    the sem.h parameters are at their limit.
    
    Gary. 
5723.3Yes (again)TAEC::LAVILLATMon Nov 08 1993 03:3519
   

>    
>    Do you know how or if the ipcs command is useful to tell if any of
>    the sem.h parameters are at their limit.
>    

	In in certain sense, yes.

        Doing 'ipcs -s' and counting the number of semaphores already
	created will show you if you have too many semaphores created.

        If ipcs -s shows you 10 semaphores and you get the 'semop failure'
        message, this mean that SEMMNI is set to 10, for example.

        Regards.

        Pierre.