HELP: semaphore limit

HELP: semaphore limit

Post by *** andE * » Fri, 08 Jul 1994 00:07:33



HELP!!

I'm on a UNIX SVR4 (SINIX to be precise but hopefully that is
irrelevant) and have a problem with the semget() function;
I get the errno which indicates ENOSPC (no space left on device)
which means according to the manual that the limit for semaphores
on the machine has been reached. Second problem is that all of our
wonderful gurus are on holiday!
Anybody know how to tweak a few more semaphores out of my system?

ta from afar
andE

 
 
 

HELP: semaphore limit

Post by Chuck Campbe » Fri, 08 Jul 1994 01:57:01



Quote:> HELP!!
> I'm on a UNIX SVR4 (SINIX to be precise but hopefully that is
> irrelevant) and have a problem with the semget() function;
> I get the errno which indicates ENOSPC (no space left on device)
> which means according to the manual that the limit for semaphores
> on the machine has been reached. Second problem is that all of our
> wonderful gurus are on holiday!
> Anybody know how to tweak a few more semaphores out of my system?
> ta from afar
> andE

The only way I know (for a SUN) is to rebuild the kernel after changing
a parameter in the config file.  I assume it's the same for your unix.

-chuck

--
ACCEL Services, Inc.            | Specialists in Gravity, Magnetics
1980 Post Oak Blvd., Suite 2050 |   and Integrated Interpretation
Houston, TX, 77056              |
                                |  1(713)993-0671 voice
Chuck Campbell                  |  1(713)960-1157 fax

"Integration means more than having all the maps at the same scale!"

 
 
 

HELP: semaphore limit

Post by Steve Kapp » Fri, 08 Jul 1994 03:02:30




>> HELP!!

>> I'm on a UNIX SVR4 (SINIX to be precise but hopefully that is
>> irrelevant) and have a problem with the semget() function;
>> I get the errno which indicates ENOSPC (no space left on device)
>> which means according to the manual that the limit for semaphores
>> on the machine has been reached. Second problem is that all of our
>> wonderful gurus are on holiday!
>> Anybody know how to tweak a few more semaphores out of my system?

>> ta from afar
>> andE

>The only way I know (for a SUN) is to rebuild the kernel after changing
>a parameter in the config file.  I assume it's the same for your unix.

That is the mechanism for SunOS 4.x.

Solaris 2.x is SVR4-ish.  On Solaris you add line(s) to the /etc/system file and
reboot.

See Appendix A "Tuning Kernel Parameters" of the Solaris AnswerBook
document "Solaris 2.3 Administering Security, Performance, and Accounting" for
details.

Our Pyramid running SVR4 has a completely different mechanism.

We are suppose to be getting a AT&T (NCR) SVR4 system real-soon-now and
I wouldn't be surprised if it was different yet again.

In other words, it depends a lot on your specific incarnation of SVR4.

The other thing is deciding which value to change - there are probably half
a dozen that have to do with semaphores :-)

Good luck!

---
______________________________________________________________________

Apertus Technologies, Inc.
7275 Flying Cloud Drive      
Eden Prairie, MN 55344        

 
 
 

HELP: semaphore limit

Post by w » Fri, 08 Jul 1994 15:24:13



Quote:>I'm on a UNIX SVR4 (SINIX to be precise but hopefully that is
>irrelevant) and have a problem with the semget() function;
>I get the errno which indicates ENOSPC (no space left on device)
>which means according to the manual that the limit for semaphores

Use the idtune  command  to  raise  the  value  of  the  "semmns"
tunable. Then rebuild your kernel using idbuild.

You may want to read the man  pages  for  mtune,  stune,  idtune,
idbuild, etc.

Wolfgang



"UNIX was not designed to stop you from doing stupid things,  because
that would  also stop you from doing clever things."     -- Doug Gwyn

 
 
 

1. Semaphore limits in AIX 4.3.3

Hi,

Does anyone know the upper limit for the number of semaphores
that can exist within AIX 4.3.3 ?

I'm aware of the various limits described in the semget man pages
but I can't find any details on the upper limit on the total number of
semaphores that can exist at any one time.

For example, I know that AIX will support (approx numbers here)
130,000 semaphore sets with each set capable of holding 65,535
individual semaphores. BUT - I also believe that AIX has a limit
(at user level ? ) that restricts the actual number of semaphores that
can exist at any one time.  Perhaps there is a per-user limit ?

Does any one have any details ?

Thanks,

Andy Whitworth

2. any drivers for logitech quickcam (home)

3. Semaphore limit in Solaris 2.5.1 (HW 4/97)?

4. 2.2 kernel: framebuffer?

5. Semaphore limits.

6. Wanted: DUMP for linux

7. Semaphore limits?

8. Distributing processes on Solaris 2.5.1

9. Semaphore limit?

10. Increasing # of semaphores in semaphore set?

11. Sys V Semaphores vs. POSIX Semaphores??

12. help!! 8 iso limit limit in redhat 7.2

13. Need help with Semaphores