Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Oct 2007 16:32:38 +0200 (CEST)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-stable@FreeBSD.ORG, tpresence@hotmail.com
Subject:   Re: freebsd ipsc -a output missing
Message-ID:  <200710081432.l98EWcsT011408@lurza.secnetix.de>
In-Reply-To: <BAY121-W113D435DEE5136573C220CA2AA0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
The Presence <tpresence@hotmail.com> wrote:
 > I have a generic kernel on my FreeBSD 6.2 system, and I am getting
 > errors regarding PMAP_SHPGPERPROC which is set at 201 (default).

The default value is 200.

 > Because the system is a heavy load websever, this happens quite
 > often.  I want to calculate the proper value to to it to, but my ipcs
 > software isn't working.  Anyone know how to reconcile it?

It has nothing to do with ipcs.  The ipcs tool is used to
report SysV IPC data.

I suggest you try increasing PMAP_SHPGPERPROC in your
kernel config, or adjust the vm.pmap.shpgperproc loader
tunable (same effect, but doesn't require building a
new kernel).

 > I do have:
 > 
 > options         SYSVSHM                 # SYSV-style pscshared memory      
 > options         SYSVMSG                 # SYSV-style message queues
 > options         SYSVSEM                 # SYSV-style semaphores
 > 
 > compiled into the kernel.

Irrelevant.

 > Output from ipcs -a:
 > 
 > mercury# ipcs -a
 > Message Queues:
 > T           ID          KEY MODE        OWNER    GROUP    CREATOR  CGROUP                 CBYTES                 QNUM               QBYTES        LSPID        LRPID STIME    RTIME    CTIME   
 > 
 > Shared Memory:
 > T           ID          KEY MODE        OWNER    GROUP    CREATOR  CGROUP         NATTCH        SEGSZ         CPID         LPID ATIME    DTIME    CTIME   
 > 
 > Semaphores:
 > T           ID          KEY MODE        OWNER    GROUP    CREATOR  CGROUP          NSEMS OTIME    CTIME   

Obviously nothing on your machine uses SysV IPC, so all
fields are empty.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"When your hammer is C++, everything begins to look like a thumb."
        -- Steve Haflich, in comp.lang.c++



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710081432.l98EWcsT011408>