commit f826f02

default  ·  2024-01-10 19:00:33 +0000 UTC
parent fdb3286
Updated documentation.
1 files changed,  +22, -0
+22, -0
 1@@ -210,6 +210,28 @@ incoming activities with identifiers from that instance will be immediately
 2 blocked without further inspection.
 3 .It Cm unblock Ar basedir Ar instance_url
 4 Unblocks a previously blocked instance.
 5+.It Cm state Ar basedir
 6+Dumps the current state of the server and its threads. For example:
 7+.Bd -literal -offset indent
 8+server: comam.es (snac/2.45-dev)
 9+uptime: 0:03:09:52
10+job fifo size (cur): 45
11+job fifo size (peak): 1532
12+thread #0 state: input
13+thread #1 state: input
14+thread #2 state: waiting
15+thread #3 state: waiting
16+thread #4 state: output
17+thread #5 state: output
18+thread #6 state: output
19+thread #7 state: waiting
20+.Ed
21+.Pp
22+The job fifo size values show the current and peak sizes of the
23+in-memory job queue. The thread state can be: waiting (idle waiting
24+for a job to be assigned), input or output (processing I/O packets)
25+or stopped (not running, only to be seen while starting or stopping
26+the server).
27 .El
28 .Ss Migrating an account from Mastodon
29 See