Skip to content

Insufficent shmlog size causes frustrating varnish crash and error message #144

@cyberscribe

Description

@cyberscribe

First, thanks for a great plugin overall.

Recently varnishd crashed on us and gave the following very cryptic error on start:

Running VCC-compiler failed, exited with 2

VCL compilation failed

This happened even when run with -a and -b (i.e. no config file). Turns out this was due to /var/lib/varnish being full.

Unfortunately, there is no way that I can find to change the size of this tmpfs, only to disable it as a tmpfs (with the obvious performance implications).

It would be great if, in addition to shmlog_dir and shmlog_tempfs we could have e.g. a shmlog_tempfs_size or similar. Also, by default, I understand that the shmlog tmpfs mount should be around 170M -- i.e. greater than the current default of 128M.

For now, we have a workaround in place with the fstab module to increase the size before the varnish module tries to do so. It works, but it's a bit of a hack.

Thanks for considering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions