From nobody@FreeBSD.org  Tue Aug 18 03:20:17 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4F7031065690
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Aug 2009 03:20:17 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 3F1B18FC61
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Aug 2009 03:20:17 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7I3KGL9005192
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Aug 2009 03:20:16 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n7I3KGvu005191;
	Tue, 18 Aug 2009 03:20:16 GMT
	(envelope-from nobody)
Message-Id: <200908180320.n7I3KGvu005191@www.freebsd.org>
Date: Tue, 18 Aug 2009 03:20:16 GMT
From: Roger Marquis <marquis@roble.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: sysctl default values for kern.ipc.shmmax and kern.ipc.shmall are too low
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         137900
>Category:       conf
>Synopsis:       [sysctl] sysctl default values for kern.ipc.shmmax and kern.ipc.shmall are too low
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ivoras
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 18 03:30:04 UTC 2009
>Closed-Date:    Mon Oct 25 13:44:20 UTC 2010
>Last-Modified:  Mon Oct 25 13:44:20 UTC 2010
>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:
State-Changed-From-To: open->patched 
State-Changed-By: arundel 
State-Changed-When: Mon Oct 18 23:03:53 UTC 2010 
State-Changed-Why:  
Fixed in HEAD (r209037). 


Responsible-Changed-From-To: freebsd-bugs->ivoras 
Responsible-Changed-By: arundel 
Responsible-Changed-When: Mon Oct 18 23:03:53 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer as MFC reminder. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137900 
State-Changed-From-To: patched->closed 
State-Changed-By: ivoras 
State-Changed-When: Mon Oct 25 13:41:28 UTC 2010 
State-Changed-Why:  
No need to MFC; kern.ipc.shmmax and kern.ipc.shmall are sysctl tunables, 
they can be modified at runtime. 

The default limit will be increased in 9.0 to 512 MB. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=137900 
>Unformatted:
