about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-09-05 17:51:55 -0400
committerJune McEnroe <june@causal.agency>2021-09-05 17:51:55 -0400
commitb239ab242c0bc7ce7418d72148c4d36dffd59ffb (patch)
treed28ef29b279839c3c792666c516001a245504b22
parentAvoid logging that a new consumer dropped messages (diff)
downloadpounce-b239ab242c0bc7ce7418d72148c4d36dffd59ffb.tar.gz
pounce-b239ab242c0bc7ce7418d72148c4d36dffd59ffb.zip
Document DIAGNOSTICS
-rw-r--r--pounce.133
1 files changed, 33 insertions, 0 deletions
diff --git a/pounce.1 b/pounce.1
index 4642d4b..0a6cf03 100644
--- a/pounce.1
+++ b/pounce.1
@@ -666,6 +666,39 @@ host = irc.tilde.chat
 join = #ascii.town
 .Ed
 .
+.Sh DIAGNOSTICS
+Upon receiving the
+.Dv SIGINFO
+signal,
+.Nm
+prints the current producer position
+and the positions of each consumer
+identified by username.
+Following each consumer position
+is the number by which it trails the producer.
+On systems lacking
+.Dv SIGINFO ,
+.Dv SIGUSR2
+is used.
+.
+.Pp
+If a client reconnects
+after having missed more messages
+than the size of the buffer,
+.Nm
+will print a warning:
+.Bd -ragged -offset indent
+consumer
+.Em name
+dropped
+.Em n
+messages
+.Ed
+.Pp
+The size of the buffer
+can be adjusted with
+.Fl s .
+.
 .Sh SEE ALSO
 .Xr calico 1
 .