diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2022-03-11 07:22:02 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2022-03-11 07:22:43 +0000 |
commit | 0b0963234709b713a02afd660465649cb88a6da1 (patch) | |
tree | 488576481033873cdcacb81b0a703a565c47798d /GIDs | |
parent | 9b7b7746fac501b001ff1ced3d27448331fcc72d (diff) |
net/nats-server: improve rc.d
- Add nats to UIDs and GIDs
- Add extra commands for logrotate and 'lame duck mode'.
From the docs:
In production we recommend that a server is shut down with "lame duck mode"
as a graceful way to slowly evict clients. With large deployments this
mitigates the "thundering herd" situation that will place CPU pressure on
servers as TLS enabled clients reconnect.
After entering lame duck mode, the server will stop accepting new
connections, wait for a 10 second grace period, then begin to evict clients
over a period of time configurable by the configuration option. This
period defaults to 2 minutes.
Diffstat (limited to 'GIDs')
-rw-r--r-- | GIDs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -244,7 +244,7 @@ openvpn:*:301: netdata:*:302: onlyoffice:*:303:www glewlwyd:*:304: -# free: 305 +nats:*:305: # free: 306 # free: 307 # free: 308 |