NetBSD Problem Report #44457

From  Tue Jan 25 05:01:43 2011
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 75C5563B883
	for <>; Tue, 25 Jan 2011 05:01:43 +0000 (UTC)
Message-Id: <>
Date: Tue, 25 Jan 2011 05:01:42 +0000 (UTC)
Subject: Small bugs in the www/varnish/ package
X-Send-Pr-Version: www-1.0

>Number:         44457
>Category:       pkg
>Synopsis:       Small bugs in the www/varnish/ package
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 25 05:05:00 +0000 2011
>Closed-Date:    Mon Aug 10 08:09:21 +0000 2015
>Last-Modified:  Mon Aug 10 08:09:21 +0000 2015
>Originator:     Frank Kruchio
>Release:        5.1.0_PATCH
NetBSD 5.1.0_PATCH NetBSD 5.1.0_PATCH (MYKERNEL) #0: Tue Nov 30 22:06:06 NZDT 2010 i386
A small bug in the start scripts of the varnish package.


maci: [/etc/rc.d] # fgrep commands_a /usr/pkg/share/examples/rc.d/varnish*

should be


But while we are at it, can we please have the following added to

command_args="-f /usr/pkg/etc/varnish/default.vcl -s malloc,128M"

and a note on installation that the shared memory settings need to be increased for example

## Shared Memory used by Varnish 64MB
## changed 8MB to 80MB

#the below is the default in 4Kb pages = 80MB

I hope I have this all correct, please confirm, thanks !

Install varnish and try to start it on servers with less then 2GB RAM
replace commands_args="-D" with command_args="-D" and add to varnishd

command_args="-f /usr/pkg/etc/varnish/default.vcl -s malloc,128M"

I realize 128MB is not going to suit most people, perhaps a message pointing users to this setting after install or a more sensible value.



Responsible-Changed-From-To: port-i386-maintainer->pkg-manager
Responsible-Changed-When: Tue, 25 Jan 2011 05:14:18 +0000
It belongs to "pkg" category.

From: "Sergey Svishchev" <>
Subject: PR/44457 CVS commit: pkgsrc/www/varnish
Date: Wed, 31 Aug 2011 21:12:17 +0000

 Module Name:	pkgsrc
 Committed By:	shattered
 Date:		Wed Aug 31 21:12:17 UTC 2011

 Modified Files:
 	pkgsrc/www/varnish: Makefile

 Log Message:
 PR/44457 -- fix rc.d scripts.

 To generate a diff of this commit:
 cvs rdiff -u -r1.10 -r1.11 pkgsrc/www/varnish/Makefile
 cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/varnish/files/ \

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-When: Mon, 10 Aug 2015 08:09:21 +0000
Committed in 2011, should have been closed out then...


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.