IcStart fails with “BAD stack size . . .” and “Unexpected OS error 11 from pthread_create”.

IcStart fails with “BAD stack size . . .” and “Unexpected OS error 11 from pthread_create”.

book

Article ID: KB0086597

calendar_today

Updated On:

Products Versions
TIBCO InConcert -
Not Applicable -

Description

Resolution:
Description:
=========
IcStart fails with “BAD stack size . . .” and “Unexpected OS error 11 from pthread_create”.

Environment:
=========
7.4.0; Linux

Symptoms:
=========
The full series of messages is:

BAD stack size ß Caused “error 11 from pthread_create”
2013-10-10 12:55:40 RV: Unexpected OS error 11 from pthread_create
2013-10-10 12:55:40 RV: Unexpected OS error 11 from pthread_create
Invalid TIBCO Rendezvous configuration parameters.
Could not start InConcert Server.
2013-10-10 12:55:40 RV: Unexpected OS error 11 from pthread_create
Could Not Open Status Log File!

Cause:
=========
The stack size was too large not leaving enough memory for the various threads to start up.  
:/opt/tib/RULE108/ic/server/iclxomavmap511/bin &gtulimit -a
address space limit (kbytes)   (-M)  unlimited
core file size (blocks)        (-c)  unlimited
cpu time (seconds)             (-t)  unlimited
data size (kbytes)             (-d)  unlimited
file size (blocks)             (-f)  unlimited
locks                          (-L)  unlimited
locked address space (kbytes)  (-l)  32
nice                           (-e)  0
nofile                         (-n)  1024
nproc                          (-u)  46650
pipe buffer size (bytes)       (-p)  4096
resident set size (kbytes)     (-m)  unlimited
rtprio                         (-r)  0
socket buffer size (bytes)     (-b)  4096
stack size (kbytes)            (-s)  2097148  
threads                        (-T)  not supported
process size (kbytes)          (-v)  unlimited

Stack size of 2097148  was too large and had to be reduced.

Resolution:
=========
Reduce stack size to 8198 K.

Issue/Introduction

IcStart fails with “BAD stack size . . .” and “Unexpected OS error 11 from pthread_create”.