Glossary

On this page

Glossary

The words BxLens uses, in plain language. The i icons in the bar and in the console show the same text.

Advisor

A fixed set of rules that look at data BxLens already has and report what looks wrong, with the evidence and a suggestion.

Findings are free. The thresholds are fixed and listed in the documentation.

Allocation rate

How fast the application creates new objects, in memory per second. It is estimated from the heap, so treat it as a trend.

A high rate makes the garbage collector run more often. A jump with no extra traffic is worth a look.

Available memory

How much memory a new application could use right now, free memory plus the cache the system can give back.

This is the number to watch, not free memory.

Average

The total time divided by the number of requests.

One very slow request lifts the average. Compare it with p50 and p95.

Blocked chain

Threads waiting for a lock, grouped under the thread that holds it. The holder is the root of the chain.

Look at the root first: what is it doing, and for how long. Releasing it frees all the others.

Board

A short ranked list that answers: what should I look at first?

Each row says why it ranks and links to the evidence.

Bytecode profiler

Records every expression of your code for a while: how many times it ran and how long it took.

It records the whole server while a session runs, then stops by itself and keeps the session. Pages run slower while it records.

Cache and buffers

Memory the operating system uses to keep recently read files. It is given back as soon as an application needs it.

Do not count it as used: it is why a healthy server shows little free memory.

Code cache

Memory where the JVM keeps code it has compiled to machine instructions. It lives outside the heap.

A full code cache stops compilation and the application gets slower. The default is large enough for most servers.

Context switches

How many times per second the operating system stops one task and starts another on a core.

A very high number with a busy CPU can mean too many threads fighting for few cores.

CPU frequency

How fast the processor cores run right now, in gigahertz. Modern CPUs slow down when idle and speed up under load.

A virtual machine often cannot see the real frequency, and the page then says it is not reported.

Direct buffers

Memory the JVM uses outside the heap, for example for network and file input and output.

It does not count against the maximum heap. A pool that keeps growing can use up the machine memory.

Error rate

Failed requests divided by all requests. A request failed when its status is 500 or more, or an exception was not caught.

A board needs a minimum number of requests, so one failure out of one request does not top the list.

Event cache

ColdBox can keep the output of an event in the template cache, so the next request for it is answered without running the handler.

An event is cacheable when its handler has cache=true. The cache key includes the rc values, so URL variations make separate entries.

Event cache hit

ColdBox answered this request from the event cache. Only preProcess and postProcess ran.

BxLens infers a hit: the event is cacheable and the handler never ran.

Event cache miss

The event is cacheable, but it was not in the cache, so the handler ran and its output was cached.

Many misses without a hit mean the cache key changes on every request.

Eviction

An object removed from a cache before it expired, to make room for a new one.

Many evictions mean the cache is too small for what is put in it.

Executor

A pool of threads that runs tasks in the background.

Check its active threads, its queue and how fast tasks finish.

Executor queue

Tasks waiting for a free thread of an executor.

A queue that keeps growing means tasks arrive faster than they finish.

Finding

One thing the Advisor found: a severity, the evidence, a suggestion and the page that shows it.

Critical needs action, warning needs a look, note is good to know.

Garbage collection (GC)

The JVM freeing memory that nothing uses any more. While it runs, your application can pause for a moment.

Frequent or long collections mean the heap is too small or the application creates too many objects.

GC pause

The time the application is stopped while the garbage collector works. Requests in flight wait during a pause.

Short pauses are normal. Pauses over 100 ms are felt by users and point at heap size, large objects or the collector choice.

Handler

A ColdBox class whose functions (actions) answer an event, for example users.show is the show action of the Users handler.

The time in the handler is the time spent in the action itself.

Heap

The memory the JVM gives to your objects. It grows up to the maximum and is cleaned by garbage collection.

A heap that stays near its maximum after a collection is a memory problem.

Hit ratio

How often a cache had the answer when it was asked. Hits divided by hits plus misses.

A low ratio means the cache is not helping: the keys are different every time, the timeouts are too short, or the cache is too small.

Hot spot

A place in your code where a request spent much of its time, found by looking at what the request was doing every 100 ms.

The picture shows your templates and functions, the database and outgoing calls, widest first. Start with the widest bar.

Hot spots rule

A path and a start time that make Hot spots look at matching requests, on top of the slow ones.

A rule can end by itself, for example Watch this URL for 10 minutes.

In flight

A request that has started and has not finished yet.

Many requests in flight for a long time point to a stuck lock, a slow database or an exhausted pool.

Interceptor

A ColdBox class that listens to interception points such as preEvent or postProcess and runs code at those moments.

BxLens registers one of its own to see the request.

JIT compiler

The part of the JVM that turns code you run often into fast machine code while the application runs.

Compile time is spent in the background. A high number early after a start is normal.

Late task

A task whose next run was due more than two minutes ago and has not happened.

The executor may be busy, or the task may be stuck.

Layout

The page frame of a ColdBox request. A layout wraps the views, so its time includes them.

Look at layout time minus view time to see what the layout itself costs.

Load average

How many threads wanted the CPU on average over the last minute. Compare it with the number of cores.

Load equal to the core count means the machine is fully busy. Well above it means work is waiting for a CPU. Windows does not report it.

Max

The slowest single request seen.

It can be a one-off such as the first request after a start, which includes compiling templates.

Minimum volume

A board ignores a URL or event with too few requests, so one failure or one slow request does not top the list.

The minimum is shown on each board.

Module activation

The time ColdBox needs to load a module and run its configuration and onLoad.

A parent's time includes its child modules. Startup pays this on every reinit.

Module resolution

Which copy of a module ColdBox loaded when the same module exists in more than one place or version.

ColdBox loads one module per name and skips the other copies without telling you. The Resolution view shows the ones it found and which one won.

N+1 query

The same query was run again and again, once for each row of an earlier result.

One query for the list plus one query per row. Fix it with a join, or load the related rows with one query that uses IN.

Needs attention

A task that fails, is late, runs slower than usual or could not be scheduled.

Free judges the totals. BoxLang+ also judges the recent runs. The numbers are in Settings, Schedulers, and the alert rules use the same ones.

Nested module

A module inside the modules folder of another module. It can go several levels deep.

Deep nesting slows startup and hides duplicate versions.

p50 (median)

Half of the requests were faster than this. The typical request.

If p50 is low and p95 is high, most users are fine and a few wait a long time.

p90

9 out of 10 requests were faster than this.

Use it with p50 to see how far the slow tail stretches.

p95

95 out of 100 requests were faster than this. It is the slow ones: 1 request in 20 took longer.

Look at p95 when the median looks fine but people still complain. BxLens counts latency in buckets (5, 10, 25, 50, 100, 250, 500 ms and so on), so a percentile is the upper edge of the bucket that holds it.

p99

99 out of 100 requests were faster than this. Only 1 request in 100 took longer.

p99 shows the worst cases that real users hit now and then. It is noisy when there are few requests.

Profiler session

One recording of the Bytecode profiler, from its start to its end.

It holds the expressions that ran during that time, file by file. Open one to see the source with the hot lines coloured.

Reap

A cleanup of a cache that removes the objects that have expired.

Reaping happens on a schedule. Reaping by hand only brings it forward.

Redaction

Hiding a value that looks like a secret (a password, token or key) before it is shown or sent to a model.

BxLens never reads the values of rc or prc, and masks secret-looking names everywhere.

Reinit

Restarting the ColdBox framework inside the running application: configuration, handlers, modules and caches are loaded again.

Sessions and anything the application keeps in memory are lost. ColdBox reads the request for the reinit key and, if one is set, a password. BxLens never reads that password.

Retransmits

The share of network segments that had to be sent again because they were lost or came back too late.

More than 1 or 2 percent points at a bad link or an overloaded machine.

Run history

Every run of a task with its time and result, kept by BxLens (BoxLang+).

Kept per task (200 by default), in all (50,000) and for 15 days, set in Settings, Schedulers. ColdBox runs are sampled from the task counters, so runs between two looks share a time.

Same stack

Threads that are in exactly the same place in the code, judged by their top eight stack frames.

Many idle workers share a stack and that is fine. A group of busy or blocked threads sharing one is a sign of a bottleneck.

Sample

One look at what a request was doing at a moment in time.

A request that ran 5 s with a look every 100 ms has about 50 samples. A function in 25 of them took about half the time. It counts wall time, so waiting counts as well as work.

Scheduler

Something that owns scheduled tasks and runs each at its time on an executor.

BoxLang has schedulers, and every ColdBox application has its own.

Slow query

A query that took longer than the slow query limit (thresholds.slowQueryMs).

The first run can include a new connection. Look at the query plan in your database.

Slow request

A request that took longer than the slow request limit (thresholds.slowRequestMs).

Set the limit in the settings. On BoxLang+ a slow request also gets a stack sample that says where it was.

Source, Compiled, Changed

Source is text on disk that the profiler counted. Compiled is bytecode with no source. Changed is a source file edited after the session.

Only a source file can show the heatmap. For a compiled file BxLens shows only that it is compiled.

Swap

Disk space the operating system uses as extra memory when the real memory is full. It is much slower than memory.

Swap in use is not a problem by itself. Pages moving in and out all the time is.

Tag

A short word on a request that says what kind of request it was, for example coldbox or checkout.

BxLens tags ColdBox requests itself. Your code can add more with lensTag().

Task group

A name you give to tasks that belong together, for example billing/invoices.

A slash makes a tree: billing/invoices sits under billing. Tasks without a group are in Ungrouped.

Task meta

Facts the code attached to a task with setMeta: an owner, a runbook link, a team.

Secret-looking keys are hidden. Meta is free to read.

Task source

Where a scheduler comes from: tasks.json, a global scheduler class in boxlang.json, an application's this.schedulers, or code that calls schedulerNew or schedulerStart.

ColdBox adds two more: the scheduler of the ColdBox app and the schedulers of its modules. Click a source chip on the Tasks page to show only those tasks.

Thread snapshot

A saved copy of every thread and its stack at one moment. BxLens keeps the last few in memory.

Take two a few seconds apart and compare them: a thread in the same place in both is likely stuck.

Throughput

How many requests the server handled, usually per minute.

A drop with the same traffic usually means requests are stuck or failing before they finish.

Time wait

Connections that are finished but still held by the operating system for a short while, so late packets are not confused with a new connection.

Thousands of them are normal on a busy web server. Tens of thousands can use up the available ports.

View cache

ColdBox can cache a rendered view with cache=true on the view. The next render returns the saved text.

Cache a view that is expensive and the same for many requests.

View rendered more than once

The same view was rendered two or more times in one request.

Often a partial inside a loop. Render it once and reuse the text, or cache the view.

Where the time goes

Calls multiplied by the average time: the biggest total cost.

A fast URL called very often can cost more than a slow one called once.

Worker threads

The threads of the web server that run your requests. When all are busy, new requests wait in a queue.

The IO threads only accept connections and read data. Busy counts show when the server reports them.

Edit this page Download Markdown Last updated Nov 26, 2026, 8:34:30 AM Report an issue