[comp.unix.questions] Why is my Unix limiting me to 10 semaphores?

ckp@grebyn.com (Checkpoint Technologies) (09/18/90)

  I've got Interactive Unix 2.2.  In my mtune file, it says:

SEMMNI          10      10      10

  This I understand tells idtune to limit me to a max of 10 semaphores.
Is this artificial?  Can I change the max to something larger, say 100
semaphores?  Ten is not enough for the things I'm doing.
-- 
First comes the logo: C H E C K P O I N T  T E C H N O L O G I E S      / /  
                                                                    \\ / /    
Then, the disclaimer:  All expressed opinions are, indeed, opinions. \  / o
Now for the witty part:    I'm pink, therefore, I'm spam!             \/

cpcahil@virtech.uucp (Conor P. Cahill) (09/18/90)

In article <22071@grebyn.com> ckp@grebyn.UUCP (Checkpoint Technologies) writes:
>  This I understand tells idtune to limit me to a max of 10 semaphores.
>Is this artificial?  Can I change the max to something larger, say 100
>semaphores?  Ten is not enough for the things I'm doing.

For many of the things in the mtune file, someone has picked what they
think is a "reasonable" maximum and not what is really the "true" 
maximum.  This is the case with the ULIMIT parameter and probably the 
SEMMNI parameter as well.  The only way to know is to change it, rebuild
the kernel, and reboot. 



-- 
Conor P. Cahill            (703)430-9247        Virtual Technologies, Inc.,
uunet!virtech!cpcahil                           46030 Manekin Plaza, Suite 160
                                                Sterling, VA 22170 

src@scuzzy.in-berlin.de (Heiko Blume) (09/21/90)

cpcahil@virtech.uucp (Conor P. Cahill) writes:
>For many of the things in the mtune file, someone has picked what they
>think is a "reasonable" maximum and not what is really the "true" 
>maximum.  This is the case with the ULIMIT parameter and probably the 
>SEMMNI parameter as well.  The only way to know is to change it, rebuild
>the kernel, and reboot. 

funny, just what i thought yesterday about NMOUNT (max mountpoints).
if they do say blah[NMOUNT] i should be able to set this to whatever
is "reasonable" (i.e. not 99999999 or somesuch sh*t) without wasting
memory. for instance under xenix you can have up to *18* hard disks,
and that means *lots* of mount points.
interactive thinks 25 filesystems is max, but if i connect four 1.5GB
disks (on one scsi host adapter, it supports *two* -- can i connect *8*
disks??) this might not be enough. i'm already at 10 filesystems with
800MB hard disk space.
-- 
Heiko Blume c/o Diakite   blume@scuzzy.in-berlin.de   FAX   (+49 30) 882 50 65
Kottbusser Damm 28        blume@scuzzy.mbx.sub.org    VOICE (+49 30) 691 88 93
D-1000 Berlin 61          blume@netmbx.de             TELEX 184174 intro d
scuzzy Any ACU,e 19200 6919520 ogin:--ogin: nuucp ssword: nuucp