commit f826f02937f7f6e573514fa806e1e05838885e71 parent fdb32864aa36e3e420083da8bfae45efa9eb743e Author: default <nobody@localhost> Date: Wed, 10 Jan 2024 20:00:33 +0100 Updated documentation. Diffstat:
M | doc/snac.1 | | | 22 | ++++++++++++++++++++++ |
1 file changed, 22 insertions(+), 0 deletions(-)
diff --git a/doc/snac.1 b/doc/snac.1 @@ -210,6 +210,28 @@ incoming activities with identifiers from that instance will be immediately blocked without further inspection. .It Cm unblock Ar basedir Ar instance_url Unblocks a previously blocked instance. +.It Cm state Ar basedir +Dumps the current state of the server and its threads. For example: +.Bd -literal -offset indent +server: comam.es (snac/2.45-dev) +uptime: 0:03:09:52 +job fifo size (cur): 45 +job fifo size (peak): 1532 +thread #0 state: input +thread #1 state: input +thread #2 state: waiting +thread #3 state: waiting +thread #4 state: output +thread #5 state: output +thread #6 state: output +thread #7 state: waiting +.Ed +.Pp +The job fifo size values show the current and peak sizes of the +in-memory job queue. The thread state can be: waiting (idle waiting +for a job to be assigned), input or output (processing I/O packets) +or stopped (not running, only to be seen while starting or stopping +the server). .El .Ss Migrating an account from Mastodon See