• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Varnish service is stopped

Scheduled Pinned Locked Moved pfSense Packages
6 Posts 3 Posters 3.3k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    andron26
    last edited by Sep 27, 2011, 3:06 PM

    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

    1 Reply Last reply Reply Quote 0
    • J
      jigpe
      last edited by Sep 30, 2011, 7:07 AM

      What pfsense version are you using?

      1 Reply Last reply Reply Quote 0
      • A
        andron26
        last edited by Sep 30, 2011, 3:26 PM

        2.0-RELEASE (i386)
        built on Tue Sep 13 17:00:00 EDT 2011

        1 Reply Last reply Reply Quote 0
        • M
          marcelloc
          last edited by Oct 10, 2011, 10:38 PM Oct 10, 2011, 6:13 AM

          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?

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • A
            andron26
            last edited by Oct 12, 2011, 10:33 AM

            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?

            1 Reply Last reply Reply Quote 0
            • M
              marcelloc
              last edited by Oct 12, 2011, 11:51 AM

              Can you increase vm RAM and/or set cache to Disk?

              I think the problem could be low mem.

              Treinamentos de Elite: http://sys-squad.com

              Help a community developer! ;D

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received