diff options
author | Markos Fountoulakis <44345837+mfundul@users.noreply.github.com> | 2020-03-16 13:39:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-16 13:39:00 +0200 |
commit | 161ba1592f5412bd378ace104979ddb66cd33973 (patch) | |
tree | 3d278844c5a94b67661312f7138516d725ea6e0e /system | |
parent | 87fd050461eac9e69f78a075ed896a1eaeabcd04 (diff) |
Fix streaming scaling (#8375)
* Disallow multiple streaming connections to the same master agent
* Reject multiple streaming connections quickly without blocking
* Increase timeout for systemd service shutdown to give time to flush the db.
* Optimize page correlation ID to use atomic counter instead of locks
* Reduce contention in global configuration mutex
* Optimize complexity of inserting configuration sections from O(N) to O(1)
* Reduce overhead of clockgettime() by utilizing CLOCK_MONOTONIC_COARSE when applicable.
* Fix unit test compile errors
Diffstat (limited to 'system')
-rw-r--r-- | system/netdata.service.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/netdata.service.in b/system/netdata.service.in index 3abb16460c..e9edb229cf 100644 --- a/system/netdata.service.in +++ b/system/netdata.service.in @@ -21,7 +21,7 @@ ExecStartPre=/bin/chown -R netdata:netdata @localstatedir_POST@/run/netdata PermissionsStartOnly=true # saving a big db on slow disks may need some time -TimeoutStopSec=60 +TimeoutStopSec=150 # restart netdata if it crashes Restart=on-failure |