Skip to main content link. Accesskey S
  • HCL Logo
  • HCL Notes and Domino wiki
  • THIS WIKI IS READ-ONLY. Individual names altered for privacy purposes.
  • HCL Forums and Blogs
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • API Documentation
Search
Community Articles > Lotus Domino > Domino memory > Exhaustion of Domino server Memory Handles
  • Share Show Menu▼
  • Subscribe Show Menu▼

Recent articles by this author

Exhaustion of Domino server Memory Handles

This article covers memory warnings that are indicative of low memory conditions involving the exhaustion of a Domino process’s memory handles. Administrators can monitor the Domino console for specific errors and take the appropriate actions for data collection and server recovery
Community articleExhaustion of Domino server Memory Handles
Added by ~Samuel Quettoolitynds | Edited by ~Samuel Quettoolitynds on August 23, 2012 | Version 7
  • Actions Show Menu▼
expanded Abstract
collapsed Abstract
This article covers memory warnings that are indicative of low memory conditions involving the exhaustion of a Domino process’s memory handles. Administrators can monitor the Domino console for specific errors and take the appropriate actions for data collection and server recovery
Tags: server, memory, handle, errors, messages, insufficient, AllocHandle, LSXBE, segments, exceeded, private

This article is part of a larger series: Preventative Actions and Troubleshooting Common Domino Memory Issues


The following memory warnings are indicative of low memory conditions involving the exhaustion of a Domino process’s memory handles. Domino administrators can monitor the Domino console for these specific errors and take the appropriate actions for data collection and server recovery:
Maximum number of memory segments that Notes can support has been exceeded
AllocHandle: OUT OF PRIVATE HANDLES!
LSXBE: ****** Out of Backend Memory******

The above warnings can occur in conjunction with the following generic memory errors:
Insufficient memory
Memory allocation error, out of system memory

The warnings are generated when Domino private handle limits have been reached.

An exception is with the following entry, which can occur in relation to shared or private memory; however, the majority of issues are associated with private handle exhaustion due to the lower limits.
Maximum number of memory segments that Notes can support has been exceeded


Actions to take

The following debug should be enabled by default and are necessary for initial root cause analysis pertaining to all categories of Domino server outages. These may be set dynamically at the Domino server console using the set config command (for example: set config debug_threadid=1)
debug_threadid=1
CONSOLE_LOG_ENABLED=1
These require a server restart:
DEBUG_CAPTURE_TIMEOUT=1
DEBUG_SHOW_TIMEOUT=1
The following logs should be collected when the memory errors are being generated. These logs will contain the initial data necessary to determine which task and their respective memory block(s) are utilizing excessive amounts of memory handles:

A) Execute the following command at the Domino console:
load server –m
show memory allocated

B) Capture two NSDs manually, taken 2 minutes apart, executed at the time the memory warnings are being generated should be collected:
How to run NSD manually on a Domino server for UNIX platforms (Technote #1214298)
How to run a manual NSD for Notes/Domino on Windows (Technote #1204263)
C) Console log

D) Additional troubleshooting may require the collection of additional data or memory dumps:
Collecting Data: Read first for Lotus Notes & Domino (Technote #1415777)
How to automate the collection of memory dumps (Technote #1104943)

Recovery after data collection

The console log should be monitored and reviewed for the following errors:
Maximum number of memory segments that Notes can support has been exceeded
AllocHandle: OUT OF PRIVATE HANDLES!
Insufficient memory
Memory allocation error, out of system memory
The review of the console should focus on determining if the memory errors are generated by one particular process or multiple processes. Memory related issues relating to private memory will be characterized by one particular task repeatedly reporting the warnings. Also determine if a particular activity is triggering the errors such a particular agent executing. Once the data has been collected, an attempt at recycling the task can be made to recover proper functioning of the server. If a particular action is associated with the entries, you can also attempt to disable the action. For example, if a particular mail message or agent is triggering the errors, then you can attempt to recycle the router or shut Domino down to recreate the mail.boxes, or disable the specific agent.

Specifically, the warning LSXBE: ****** Out of Backend Memory****** commonly occurs when a Domino process exhausts backend memory handles. Particularly, this condition can occur when Java code is cycling large amounts of data or View Entry objects and the recycle() code for Java objects is not implemented. The Java code can either be executed within an agent, servlet or standalone application connecting to Notes or Domino through local Java API.

The following Domino processes are normally implicated with the error and can be recycled in an attempt to recover the memory:
Amgr: Domino database running Java agent
HTTP: Java agent/servlet running in Web application
DIIOP: Standalone Java application connecting to Domino via DIIOP
The next objective is to review memory related configuration settings within the notes.ini. Then determine if there is a specific memory block associated with the process that is utilizing large amounts of handles. This step will most likely be performed by the IBM Lotus Support Analyst.

Recommendations

Beginning with Domino 8.5.3, the limits for the available private and shared handles has increased for all platforms excluding 32-bit Domino for AIX and Solaris:
Increase amount of available DHANDLEs and MEMHANDLEs on 32 Bit DHANDLE platforms (SPR #KBRN8F6H2Z)

Consider upgrading to the latest release of Domino and 64-bit version to benefit from the increased handle limits. However, if the Domino outages are relating to a memory leak, the increased handle limits may delay the outage but additional troubleshooting will be required to further isolate the cause of the leak.
Steps to upgrade a 32-bit Domino server to 64-bit server on Windows platform (Technote #1506430)
FAQ: 64-bit version of Domino (Technote #1296452)

Related Documents
General
Why it is important to use the Recycle() method on every Java object (Technote #1097861)

Collecting data for HTTP memory crash on Lotus Domino server (Technote #7010967)

Maximum number of memory segments have been exceeded
Maximum number of memory segments that Notes can support has been exceeded (SPR #JCIK8EXP28)

Memory Leak in BLK_LOCAL_BLOCK (SPR #JPMS826PKT)

BLK_SCR_SHARED and BLK_SCR use excessive handles when thousands of documents were deleted from a mail database (SPR #JPMS856S2Z)

Memory leak in BLK_LTPABUFFER (SPR #SKAI83P9ZZ)

clrepl reports a leak of BLK_OPENED_NOTE as opened by ProcessNoteUpdateRequest (SPR #CMCY85FM4C)

Server crash on router task while processing iCal message (Technote #1504183)

"Maximum number of memory segments ...has been exceeded" occurs when server hangs (Technote #1405651) - Related SPR #BDAS5PFHXT

Crash in any Domino task due to high memory usage in BLK_OPENED_NOTE (Technote #1230023)

Memory Leak in BLK_LTPABUFFER causes server crash (Technote #1315780) - Related SPR #AJAN7FJMZJ

BLK_NAME_LOOKUP exhausts server private handles (Technote #1358609)

AMGR crash on 'Maximum number of memory segments that notes can (Technote #1459876)

Error 'Maximum number of memory segments exceeded' running agent that uses Document Selection (Technote #1240649) - Related SPR #CJAS6N4Q5K

Server crash on update task; DirCtxSearch (Technote #1503171)

Out of memory errors when accessing Domino server via HTTP with mixed language users (Technote #1410021)


Out of private handles
Adminp Process runing out of private handles (SPR #JPAI7DNMZH)

PANIC: *** Private HANDLE table full. In event process while processing DDM events (SPR #MESR64WK5G)


HTTP task crashes with a high usage of block 0x3A45 (Technote #1139163)

Crash or errors: 'AllocHandle: OUT OF PRIVATE HANDLES!' (Technote #1206358:) - Related SPR #FMEG6ASBFX

Domino 6.x Server crashes with 'PANIC: LookupHandle: null handle' (Technote #1199022) - Related SPR #LVAE69PJVG

Server crash while attempting to process iCal message produced the error 'Out of Private Handles' (Technote #1220413)

PANIC: LookupHandle: Null handle causes crash in Activity Logging (Technote #1247415)

Memory leak in Router when journaling message resent by message originator (Technote #1259070)

DWA Server crash after upgrading from 5.x to 6.x when HTTP server is using Notes managed memory (Technote #1189977)


LSXBE: ****** Out of Backend Memory******
Lotus Script Crash With Lsxbe: ****** Out Of Backend Memory ******* (SPR #TITH89ZG88)

Traveler crashed in the Java API call to NgetDocumentByID (SPR #JSDS8JSJ3A)


Why it is important to use the Recycle() method on every Java object (Technote #1097861)

'LSXBE: Out of backend memory' errors coincide with Notes/Domino performance and crash issues (Technote #1438386)

AMGR crash on 'Maximum number of memory segments that notes can support has been exceeded' (Technote #1459876)



Go back to: Preventative Actions and Troubleshooting Common Domino Memory Issues
About the Author: Vanessa P. Reyes is an Senior Software Engineer currently working in the Domino on Unix Crash and Peformance team.

  • Actions Show Menu▼


expanded Attachments (0)
collapsed Attachments (0)
Edit the article to add or modify attachments.
expanded Versions (1)
collapsed Versions (1)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (7)Aug 23, 2012, 3:23:07 PM~Samuel Quettoolitynds  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedAbout
  • HCL Software
  • HCL Digital Solutions community
  • HCL Software support
  • BlogsDigital Solutions blog
  • Community LinkHCL Software forums and blogs
  • About HCL Software
  • Privacy
  • Accessibility