>> 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