Hey there @kindhearted-deer, thanks for posting. Please read the “Troubleshooting” and “How to Ask for Help” buttons below. If you would like a 1:1 support session from the KumoMTA team, details are at the “Book a Support Session” button below.
The same issue I am also getting below is the journal logs
Mar 14 18:30:17 ip-10-4-1-101.ap-south-1.compute.internal kumod[7179]: 2024-03-14T13:00:17.864929Z ERROR localset-0 kumod::http_server::admin_trace_smtp_server_v1: error in websocket: channel lagged by 24
Mar 14 18:37:36 ip-10-4-1-101.ap-south-1.compute.internal kumod[7179]: 2024-03-14T13:07:36.531995Z ERROR localset-0 kumod::http_server::admin_trace_smtp_server_v1: error in websocket: channel lagged by 41
Mar 14 22:47:42 ip-10-4-1-101.ap-south-1.compute.internal kumod[7179]: 2024-03-14T17:17:42.464917Z ERROR localset-0 kumod::http_server::admin_trace_smtp_server_v1: error in websocket: channel lagged by 337
I am curious about your use case, why would you find it necessary to SMTP Trace thousands of messages? What are you trying to achieve when watching that many SMTP conversations in realtime?
the tracing functionality is not intended to handle what essentially amounts to a full copy + more of every incoming SMTP connection, all multiplexed onto a single websocket connection that outputs to a terminal display with limited display throughput (and thus, high back-pressure), all in realtime. You should consider using at least the --source option to limit the source addresses and reduce the amount of bandwidth needed for the trace
if you use --source it will only include mail coming into the MTA from a specific IP or CIDR block; the idea is that you specify the minimal scope for what you want to trace in realtime to something that is realistic. The trace session is not going to be able to handle high speed, high throughput, high concurrency tracing.