Troubleshooting
Problem
Connection to a database could fail with SQL1221N. $ db2 connect to SAMPLE SQL1221N The Application Support Layer heap cannot be allocated. SQLSTATE=57011 This could be due to hitting the kernel limit for ShmSeg.
Symptom
$ db2 connect to SAMPLE
SQL1221N The Application Support Layer heap cannot be allocated.
SQLSTATE=57011
[{"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Connectivity - Other","Platform":[{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"9.8;9.7;9.5","Edition":"Advanced Enterprise Server;Enterprise Server","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
To view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use the link to actual document below to access the full document. You will be asked to log on if you are not already logged in. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
More support for:
Db2 for Linux, UNIX and Windows
Software version:
9.8, 9.7, 9.5
Operating system(s):
HP-UX, Linux, Solaris
Document number:
204745
Modified date:
30 April 2025
UID
swg21584577
Manage My Notification Subscriptions