Accepting request 1005874 from home:bmwiedemann:branches:server:http

- Make reload fail nicely on vcl syntax error
- Set TasksMax=16384 because default thread_pool_max is 5000 so systemd killed varnish on high load

OBS-URL: https://build.opensuse.org/request/show/1005874
OBS-URL: https://build.opensuse.org/package/show/server:http/varnish?expand=0&rev=116
This commit is contained in:
Jan Engelhardt 2022-09-25 13:07:01 +00:00 committed by Git OBS Bridge
parent c765a642a6
commit e3091c8697
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Sep 21 08:10:13 UTC 2022 - Bernhard Wiedemann <bwiedemann@suse.com>
- Make reload fail nicely on vcl syntax error
- Set TasksMax=16384 because default thread_pool_max is 5000
-------------------------------------------------------------------
Mon Sep 19 02:44:04 UTC 2022 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@ -21,6 +21,7 @@ PIDFile=/var/run/varnishd.pid
ExecStart=/usr/sbin/varnishd -P /var/run/varnishd.pid -F $VARNISHD_PARAMS
ExecReload=/usr/sbin/varnish_reload_vcl
KillMode=mixed
TasksMax=16384
[Install]
WantedBy=multi-user.target

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -e
# Generate a unique timestamp ID for this version of the VCL
TIME=$(date +%s)