NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-i386/44457: Small bugs in the www/varnish/ package

>Number:         44457
>Category:       port-i386
>Synopsis:       Small bugs in the www/varnish/ package
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 25 05:05:00 +0000 2011
>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.

Home | Main Index | Thread Index | Old Index