misc/137900: sysctl default values for kern.ipc.shmmax and kern.ipc.shmall are too low

Roger Marquis marquis at roble.com
Tue Aug 18 03:30:04 UTC 2009


>Number:         137900
>Category:       misc
>Synopsis:       sysctl default values for kern.ipc.shmmax and kern.ipc.shmall are too low
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 18 03:30:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Roger Marquis
>Release:        7.2-STABLE
>Organization:
>Environment:
.2-STABLE FreeBSD 7.2-STABLE #0: amd64
>Description:
The default values for kern.ipc.shmmax and kern.ipc.shmall are too low for several applications (such as zabbix_server).  As a result they cannot be started without first running sysctl from the command line or updating /etc/sysctl.conf with something like:

  kern.ipc.shmmax=134217728
  kern.ipc.shmall=16384
>How-To-Repeat:
Update system, install and configure anything that requires a karge amount of RAM, then attempt to start.
>Fix:
Define larger and more reasonable default values for kern.ipc.shmmax and kern.ipc.shmall.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list