Increasing the number of semaphores on FreeBSD 4.1 (clarification) 
Author Message
 Increasing the number of semaphores on FreeBSD 4.1 (clarification)


Quote:


> > > Hi -
> > >  I recently tried to start postmaster (7.0.2) with -B 128 -N 64 and
> > > got the "semget failed" error.  Looking in the faq[1] it says I need to
> > > increase the amount allowed in the kernel.  It tells me what I need to do,
> > > but my question is what values should I set them to?  Is there any way to
> > > figure it out based on load, etc?  Also, are there detrimental effects to
> > > setting them too high?

> > What OS are you using?

> FreeBSD 4.1

> > > [1] http://www.***.com/

> > If it's FreeBSD we've documented the tunables here:
> > http://www.***.com/

> > The docs will probably also help if you're using BSD/os.

> > Also you don't want to "go nuts" with raising these values, they
> > can cause the kernel to allocate too much memory for these structures
> > and cause problems booting or running your system.

> Yeah, that's what I've seen... I guess I was wondering if there were any
> guidelines to raising them..  I mean should I up the defaults by 10?  Or
> up them by a percentage (to keep the relationship), etc...

here's what I use:

options         SHMMAXPGS=512000
options         SHMSEG=128
options         SEMMNI=40       #       /* # of semaphore identifiers */
options         SEMMNS=240      #       /* # of semaphores in system */
options         SEMUME=40       #       /* max # of undo entries per process */
options         SEMMNU=120      #       /* # of undo structures in system */

I have a gig of RAM though.

--

"I have the heart of a child; I keep it in a jar on my desk."



Tue, 29 Apr 2003 12:57:45 GMT
 
 [ 1 post ] 

 Relevant Pages 

1. Increasing the number of semaphores on FreeBSD 4.1

2. Semaphores was: Increasing the number of semaphores on FreeBSD 4. 1 (clarification)

3. FreeBSD 4.1 and JDK 1.1.8 compile problems

4. How to increase semaphores in NT.

5. Need serial-number filemaker pro 4.1

6. Lost 4.1 Pro Serial Number - Help??

7. Recording Page Numbers in version 4.1

8. Minutes to numbers? (4.1)

9. I need a Filemaker 4.1 Serial Number!!

10. Almost too afraid to ask - number of files 4.1 on Server 5

11. detecting 4.0, 4.1, 5.0 SEs from 4gl 4.0, 4.1

12. detecting 4.0, 4.1, 5.0 SEs from 4gl 4.0, 4.1


 
Powered by phpBB® Forum Software