Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Varnish service is stopped

    Scheduled Pinned Locked Moved pfSense Packages
    6 Posts 3 Posters 3.9k 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

      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

        What pfsense version are you using?

        1 Reply Last reply
        Reply Quote 0
        • A
          andron26
          last edited by

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

          1 Reply Last reply
          Reply Quote 0
          • marcellocM
            marcelloc
            last edited by

            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

              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
              • marcellocM
                marcelloc
                last edited by

                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

                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 Login
                • First post
                  Last post
                Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                Privacy Policy · Cookie Policy