Domino & Notes error

THREAD [thread] WAITING FOR [semaphore type] 0x[code] [semaphore name] (R=[n],W=[n],WRITER=[thread],1STREADER=[thread]) FOR [ms] ms

A semaphore timeout line. Depending on version and debug settings it shows on the console or is only written to semdebug.txt in the IBM_TECHNICAL_SUPPORT folder. Exact layout varies.

What it means

A server thread waited longer than the timeout (normally 30 seconds) for an internal lock held by another thread.

Common causes

  • A long-running task (view rebuild, compact, agent, backup) holding a database or directory lock
  • Heavy load or slow disk making locks wait
  • Occasionally a real deadlock that will hang the server

Quick fixes

  1. Note the semaphore name and the WRITER or 1STREADER thread, then find which task that thread belongs to
  2. Check how many timeouts are building up with show stat Sem.Timeouts
  3. If the server is hanging, collect diagnostics with nsd before restarting and send them to HCL Support
  4. Reschedule heavy maintenance tasks away from busy periods

Need a hand with this?

Paste your exact message into What's That Error? for a plain-English explanation, or get in touch. I've been supporting Domino and Notes for 28 years.

Disclaimer

The errors, causes and fixes on this site are carefully researched, drawing on HCL documentation and 28 years of hands-on Domino and Notes experience. Every environment is different, though, and a solution that works in one may not be right for yours. Exact wording can also vary between Domino and Notes versions.

This information is general guidance only and is provided without warranty of any kind. Always back up your data and test changes on a non-production system first. To the extent permitted by law, Bruinsma Services Pty Ltd accepts no responsibility or liability for any loss, damage, downtime or other consequence arising from use of this information. For advice specific to your environment, please contact me.