Web server

On this page

Web server

The Web server page shows the server BoxLang runs in: which one it is, its listeners, its worker threads, and the requests BxLens counted. It is under Runtime and is for admins only, like System. It updates every few seconds and keeps the last 15 minutes.

BxLens shows only what the server really reports. A number a server does not report is shown as "not reported", never as zero. The exact list, with the source of each fact, is in Web server data.

The Web server page

What the page shows

BlockContent
RuntimeMiniServer, CommandBox (Runwar), a servlet container or the CLI, the version when it can be read, and the engine (Undertow, Tomcat, Jetty).
ListenersEach address and port, http or https when known, the open connections, and the connection limit when one is set.
WorkersI/O threads, worker pool size, core and maximum size, the queue of waiting tasks, and busy threads when the server reports them.
RequestsTotal, 5xx, running now, per second, the slowest, and the bytes sent when the server counts them. These are BxLens counters: they count what BoxLang served, not static files.
DetailsServer name, web root, rewrites and ports, only for the servers that report them.
HistoryRequests per second, running requests and connections, every 10 seconds for 15 minutes.
Needs a lookA queue of 5 or more waiting tasks, connections at 80 percent of a limit, all workers busy (only when busy is reported), and a 5xx share of 5 percent or more of at least 20 requests.

What each server reports

MiniServerCommandBoxServlet container
Listeners, connections, workers, queueyesyes (read from source)not yet
Busy workersnot reportednot reportednot yet
Bytes sentyesnot reportednot yet
Web rootyesyesnot yet
Server name, rewritesnot reportedyesnot yet

The history starts when BxLens starts and is lost when the server restarts. It is not saved.

Settings

collectors.webserver.enabled (default true) switches the page. See Configuration.

Another server

For a server of the fleet the page shows the snapshot that server saved, at most a minute old, read only. This needs BoxLang+.

Edit this page Download Markdown Last updated Oct 26, 2026, 5:52:21 PM Report an issue