Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IT03830 Status: Closed

DB2 IS NOT ABLE TO ACCEPT AN INCOMING CONNECTION IF NUMBER OF INSTANCE
THREADS EXCEEDS RLIMIT_NPROC LIMIT

product:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problem description:
DB2 database will not be able to accept an incoming connection 
if the number of processes/threads (that includes all DB2 EDUs) 
running as instance owner exceeds RLIMIT_NPROC. In such scenario 
the following message will be logged in the db2diag.log: 
 
2014-01-01-12.00.00.000000+000 E41002E402          LEVEL: Error 
(OS) 
PID     : 15370                TID  : 140737131833088PROC : 
db2sysc 0 
INSTANCE: db2insp1             NODE : 000 
EDUID   : 17                   EDUNAME: db2tcpcm 0 
FUNCTION: DB2 UDB, oper system services, sqloSpawnEDU, probe:80 
MESSAGE : ZRC=0x8300000B=-2097151989 
CALLED  : OS, -, pthread_create                   OSERR: EAGAIN 
(11) 
 
NPROC limit is defined only on GNU/Linux operating system. This 
APAR will address the issue by overriding default limit for 
db2sysc process when instance is started.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* LINUX                                                        * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 version 10.1 Fix Pack 5 or higher.            * 
****************************************************************
Local Fix:
Increase NPROC limit for instance owner and restart the 
instance. On recent kernel versions the limit of running process 
can 
be changed using proc virtual filesystem: 
$ echo -n "Max processes=<n_soft>:<n_hard>" > /proc/<pid>/limits 
 
where pid is PID of db2sysc process and n_soft, n_hard are 
desired soft and hard limits respectively, e.g: 
$ echo -n "Max processes=10240:65535" > /proc/15370/limits
Solution
Problem first fixed in DB2 version 10.1 Fix Pack 5.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
18.08.2014
26.07.2015
26.07.2015
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.1.0.5 FixList