Quick answer
IBM CMOD ODWEK retrievals time out for one of five reasons: the document has migrated out of the cache filesystem and retrieval waits on secondary storage, the library server’s database subserver pool is exhausted (ARS_NUM_DBSRVR defaults to 4 — sized for servers that aren’t public-facing), the application shares one ODWEK instance across threads so concurrent requests serialize, the TCP path to arssockd is untuned for large documents, or maintenance drag — tracing, long arsmaint runs, stale statistics — is taxing the library server. Start by asking one question: are all retrievals slow, or only the old ones?
01 — What You’re Seeing
The server is up. The documents take forever.
Confirm you’re on the right page before you touch anything.
One or more of these signatures, on an estate where ODWEK — through IBM Content Navigator, a portal, or a custom application — fronts Content Manager OnDemand:
- Retrievals that normally return in a second or two hang until the application gives up, and the end user sees a spinner, a blank viewer, or “The server failed while retrieving a document” — the error IBM tracks across OnDemand client cases.
- Recent documents come back fast; older ones crawl or time out. The split lands exactly at the application group’s cache expiration boundary.
- Slowness arrives with concurrency — mornings, month-end statement runs, peak claims hours — and disappears when load does.
- Large documents are disproportionately slow, especially for users far from the object server.
- Everything degrades during the maintenance window — while
arsmaintgrinds or after someone left tracing on.
None of this trips a platform alarm. The library server process is running, the ports answer, and the only true signal is the one nobody graphs: how long a real login–search–retrieve takes. (The full set of what Reveille checks on this platform is in the Reveille for IBM CMOD technical overview.)
02 — Causes, Ranked by Likelihood
Five causes account for nearly every case
Confirm before you fix — each cause has a cheap, specific test.
| # | Cause | How to confirm | Fix, in short |
|---|---|---|---|
| 1 | The document left cache — retrieval now round-trips to secondary storage (TSM or equivalent) | Only documents older than the application group’s cache period are slow; recent ones are instant. | Extend cache for hot application groups, or accept and size the archive tier for retrieval, not just storage. |
| 2 | Database subserver pool exhausted — ARS_NUM_DBSRVR still at the default 4 | Slowness tracks concurrent ODWEK/ICN sessions; arssockd -px shows the pool saturated at peak. | Raise ARS_NUM_DBSRVR in ars.cfg (community guidance: 2–3× for ODWEK-facing servers) and retest under load. |
| 3 | One ODWEK instance, many threads — concurrent requests serialize inside the API | Server-side metrics look healthy while app-side waits grow with concurrency; thread dumps show requests queued on one instance. | Give concurrent workloads separate ODWEK instances, per IBM’s API guidance. |
| 4 | Untuned TCP path to arssockd — big documents, default buffers | Slowness scales with document size and network distance, not with load. | Set ARSSOCK_RCVBUF_SIZE / ARSSOCK_SNDBUF_SIZE (community-recommended 262144) with ARSSOCK_TCP_NODELAY=1. |
| 5 | Maintenance drag — tracing enabled, long arsmaint runs, stale DB statistics | Degradation correlates with the maintenance window; ARS_TRACE_SETTINGS is populated; statistics haven’t run in weeks. | Disable tracing in production; fix expiration type and object size; run statistics weekly. |
Cause 1 earns the top slot because it hides in plain sight: the system is behaving exactly as configured. arsmaint exists to migrate document data from the cache filesystems to secondary storage and delete cache copies to make room — so the first retrieval of last year’s statement was always going to pay the archive-tier toll. The question is whether anyone decided that on purpose.
03 — The Fixes
Work them in repair order
Reading the evidence first beats restarting things at random.
1. Split the problem with one question
Old-documents-only points at cache migration (cause 1). Everything-at-peak points at the subserver pool or a shared ODWEK instance (causes 2–3). Big-documents-only points at the network (cause 4). Maintenance-window-only points at cause 5. Five minutes with the System Log and a stopwatch beats an afternoon of guessing.
2. Decide where documents should live — then make the config say so
Per the community documentation of arsmaint, -m migrates data from cache to long-term archival storage when secondary storage is defined and the application group is configured to use it, -c deletes document data from the cache filesystem, and -f logs an alert when the cache filesystem stays fuller than its threshold — the sign that cache is undersized for the load. If hot application groups are paying the archive toll on routine retrievals, lengthen their cache period or add cache storage; if the archive tier is the right home, make sure it’s sized to answer retrievals, not just to swallow loads.
3. Give the library server enough database subservers
Per the community documentation of ars.cfg, the ARS_NUM_DBSRVR default of four “should work for most non-public-facing Content Manager OnDemand servers” — and a server fronted by ODWEK or IBM Content Navigator is public-facing in every way that matters. The guidance there: increase it to roughly 2–3× and verify under load with arssockd -px. Every concurrent login, folder search, and retrieval competes for that pool; when it’s exhausted, healthy requests queue behind it and the client experiences a timeout.
4. Stop sharing one ODWEK instance across concurrent work
IBM’s ODWEK API documentation is blunt about this: concurrent access to a single ODWEK instance must be limited by the application — two simultaneous folder searches on one instance will block the second until the first completes, and the documented route to more throughput is separate ODWEK instances. A cancelled retrieve is treated as an error, which is why users see failures rather than graceful slowness when the queue backs up.
5. Tune the pipe, then remove the drag
For large-document slowness, the ars.cfg community reference recommends ARSSOCK_RCVBUF_SIZE and ARSSOCK_SNDBUF_SIZE at 262144 alongside ARSSOCK_TCP_NODELAY=1 on platforms that don’t already enable it. Then clear the self-inflicted load: ARS_TRACE_SETTINGS carries what the community reference calls a substantial performance penalty and belongs in non-production debugging only; long arsmaint runs trace back to Document-level expiration type (“guaranteed to slow down performance” in the community write-up), stored object sizes left at the 10MB default, and cache filesystems full of millions of small files; and database statistics should run weekly (arsmaint -r, after arsdb) — an ARS0013E during statistics or reorg is the cue to involve a DBA.
04 — How to Stop It Recurring
Retrieval time is the SLA. Measure it like one.
Every cause above degrades quietly before it fails loudly.
Nothing in this failure family announces itself. The cache migrates on schedule, the subserver pool fills gradually, the buffers were never tuned — and the platform looks green the whole way down. Platform SLA is not workflow SLA, and “a statement opens in under three seconds” is a workflow SLA. The only honest way to watch it is to run the transaction itself, continuously, and alarm on the trend.
That is exactly the shape of Reveille’s CMOD coverage: Check ODWEK Login, ODWEK Open Folder, ODWEK Search Folder, ODWEK Retrieve Document, and ODWEK Logoff run the real path end to end; Check CMOD ODWEK WAS Heap Memory, CMOD ODWEK WAS Thread Count, and CMOD ODWEK WAS Session Count watch the app server underneath it; Check CMOD Storage Node arscache1 and the Library Server Cache Activity and Document Retrieval Response Time metrics catch cause 1 as a trend instead of a ticket; and a dedicated TSM suite — Check TSM Alert Status, TSM Unavailable Volumes, TSM Storage Pool — watches the archive tier retrievals depend on. To be precise about coverage: Reveille doesn’t edit your ars.cfg or re-architect your ODWEK application — what it proves, continuously, is that a real retrieval completes on time, and which layer slowed down when it doesn’t.
Reveille for IBM CMOD
As the only agentless monitoring system to integrate with CMOD Multiplatforms, Reveille for IBM CMOD Multiplatforms comes pre-configured with more than 50 CMOD Multiplatforms-specific tests and over 80 CMOD metrics — for IBM CMOD Multiplatforms v9.5 and above. See Reveille for IBM CMOD →
Supporting client estates as an MSP, SI, or ISV? That’s what Reveille SENTRY is built for — multi-tenant observability for the estates you manage.
Before the next month-end slowdown
See the 50+ CMOD tests run against a live environment.
Enter a business email and the platform you run. The demo environment opens with the ODWEK Login, Search Folder, and Retrieve Document checks already configured.
No credit card · Nothing to install · Runs on Reveille’s sample estate. Want the list first? Read the CMOD technical overview.
Quick answers