Varnish service is stopped
-
Hi,
I am new to pfsense.
I've tried to setup varnish but service is stopped. Got such info in log:php: /pkg_edit.php: The command '/usr/local/etc/rc.d/varnish.sh' returned exit code '2', the output was 'kern.ipc.nmbclusters: 65536 sysctl: kern.ipc.nmbclusters: Invalid argument kern.ipc.somaxconn: 16384 -> 16384 kern.maxfiles: 131072 -> 131072 kern.maxfilesperproc: 104856 -> 104856 kern.threads.max_threads_per_proc: 4096 -> 4096 storage_malloc: max size 20 MB. Message from VCC-compiler: Expected an action, 'if', '{' or '}' (input Line 77 Pos 17) else { –--------------####----- Running VCC-compiler failed, exit 1 VCL compilation failed'
Attache varnish cfg. Is it bug?
varnish.txt -
What pfsense version are you using?
-
2.0-RELEASE (i386)
built on Tue Sep 13 17:00:00 EDT 2011 -
I have it working on i386, x64 and vm.
Are you runing it on a low memory machine?
EDIT
I've reinstaled varnish on 2.0 i386 and all worked fine to me.
can you check your varnish config?
-
I am running this on vm on ESXi 4.1. This vm has 256 MB. Do you think this error is due lack of memory?
-
Can you increase vm RAM and/or set cache to Disk?
I think the problem could be low mem.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy