Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cyberscribe opened this issue Aug 8, 2017 · 0 comments

Comments

@cyberscribe
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant