forked from pool/varnish
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:
parent
c765a642a6
commit
e3091c8697
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/bin/bash -e
|
||||
|
||||
# Generate a unique timestamp ID for this version of the VCL
|
||||
TIME=$(date +%s)
|
||||
|
Loading…
Reference in New Issue
Block a user