Thread Stack Size

This is a discussion on Thread Stack Size within the Object forums in Theory and Concepts category; I'm using visibroker 4.5 on AIX 5.1 I tried to migrate the corba code working fine with BOA to POA. After this migration,the application is dumping intermittently. I also found that the core is caused a segmentation violation on connecting to DB2 from server. http://www-1.ibm.com/support/docview...id=swg21007191 So I tried to increase the Thread stack size in properties file -OAthreadStackSize=256000 But it didnt work. Then I tried vbroker.se.default.scm.default.dispatcher.threadSt ackSize=256000 Still it fails. Is it bcoz the application is not able to set threadStackSize given in properties file. I need to fix this urgently. Pls advice. DBX output: Segmentation fault in sqlowque at ...

Go Back   Application Development Forum > Theory and Concepts > Object

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 04-07-2004, 09:30 AM
Rajesh Gopinathan
Guest
 
Default Thread Stack Size

I'm using visibroker 4.5 on AIX 5.1
I tried to migrate the corba code working fine with BOA to POA.
After this migration,the application is dumping intermittently.
I also found that the core is caused a segmentation violation on
connecting to DB2 from server.
http://www-1.ibm.com/support/docview...id=swg21007191

So I tried to increase the Thread stack size in properties file
-OAthreadStackSize=256000

But it didnt work. Then I tried
vbroker.se.default.scm.default.dispatcher.threadSt ackSize=256000

Still it fails.

Is it bcoz the application is not able to set threadStackSize given in
properties file.

I need to fix this urgently. Pls advice.

DBX output:
Segmentation fault in sqlowque at 0xd1104f74 ($t8)
0xd1104f74 (sqlowque+0x1c) 7c21616e stwux r1,r1,r12
(dbx) where
sqlowque(??, ??, ??) at 0xd1104f74
sqlccipcconnr__FP13sqlcc_connectP15sqlcc_comhandle P10sqlcc_cond(??,
??, ??) at 0xd1123a18
sqlccconnr__FP13sqlcc_connectP15sqlcc_comhandleP10 sqlcc_cond[1]
[fdpr](??, ??, ??) at 0xd112aec0
sqloCreateEnvString(??, ??) at 0xd1144c30
sqle_db2ra_ar_driver__FP10sqle_db2raP17sqle_ar_int erface[6] [fdpr](??,
??) at 0xd10d23ec
sqle_database_connect__FP10sqle_db2raP10sqler_glob[1] [fdpr](??, ??)
at 0xd10e5994
sqleriar__FP10sqle_db2ra(??) at 0xd10d9d2c
sqleStartUsingDatabase__FPcciT2N31P10sqlf_dbcfdT1P 8sqledscbP5sqlcaT1T3(0x204949e4,
0x53000053, 0x1, 0x0, 0x20133818, 0x20494ae4, 0x0, 0x0) at 0xd112eabc
sqlak_connect__FUsT1[4] [fdpr](??, ??) at 0xd1208d64 sqlacall[4]
[fdpr](0x1d001d, 0x50005, 0x20002, 0x0, 0x0) at 0xd10df2ec
clp_connect__FP15CLI_CONNECTINFOP15sqla_program_id UsPcN34P5sqlca(??,
??, ??, ??, ??, ??, ??, ??) at 0xd13aa690
CLI_sqlConnect__FP15CLI_CONNECTINFOP5sqlcaP15CLI_E RRLISTINFO(??, ??,
??) at 0xd12986e4
SQLConnect2__FPP15CLI_CONNECTINFOPUcsT2T3T2T3T2T3U c(??, ??, ??, ??,
??, ??, ??, ??) at 0xd123c1a4
SQLDriverConnect2__FPP15CLI_CONNECTINFOPvPUcsT3T4P sUsUcT9P15CLI_ERRLISTINFO(??,
??, ??, ??, ??, ??, ??, ??) at 0xd124197c
SQLDriverConnect1__FPP15CLI_CONNECTINFOPvPUcsT3T4P sUs(??, ??, ??, ??,
??, ??, ??, ??) at 0xd123b520 SQLDriverConnect(??, ??, ??, ??, ??, ??,
??, ??) at 0xd1238c80 open(const RWCString&,const RWCString&,const
RWCString&,const RWCString&,RWDBStatus&)(0x2046b1a8, 0x204962f8,
0x204962fc, 0x20496300, 0x20496304, 0x2046be10), line 158 in
"db2sysh.cpp"
open()(0x2046be08), line 86 in "db2conn.cpp"
unnamed block $b1226, line 111 in "poolable.cpp"
checkOut(RWDBConnection::ConnectionType)(0x2009c11 4, 0x1), line 111 in
"poolable.cpp"
getFromConnectionPool(RWDBConnection::ConnectionTy pe)(0x2009c088,
0x1), line 139 in "dbasei.cpp"
connection(RWDBConnection::ConnectionType) const(0x2009b874,
0x20496510, 0x1), line 294 in "dbase.cpp"
login() const(0x2009b858, 0x204969f4), line 165 in
"SingleDatabase.cpp"
unnamed block $b1515, line 65 in "ClientTransaction.cpp"
login()(0x2046bb88), line 65 in "ClientTransaction.cpp"
aux_call(Container&)(0x2009a868, 0x20496d48), line 162 in
"dcs_asRebsServer.cpp"
unnamed block $b680, line 50 in "MethodHelper.cpp"
call(Container&,int)(0x2009a868, 0x20496d48, 0x0), line 50 in
"MethodHelper.cpp"
unnamed block $b690, line 247 in "RIOSEnteraBridgeImpl.cpp"
bigSwitch(Container&)(0x201800a8, 0x20496d48), line 247 in
"RIOSEnteraBridgeImpl.cpp"
unnamed block $b693, line 89 in "RIOSEnteraBridgeImpl.cpp"
call(const char*)(0x201800a8, 0x2046a018), line 89 in
"RIOSEnteraBridgeImpl.cpp"
_call(void*,CORBA_MarshalInBuffer&,const
char*,VISReplyHandler&)(0x201800fc, 0x204696c8, 0x201980c8,
0x20496f00), line 52 in "RIOSEnteraBridge_s.cpp"
execute__11VISSkelInfoFRC14VISGIOPRequestR21CORBA_ MarshalInBufferR15VISReplyHandler(0x20183048,
0x20469a38, 0x204696c8, 0x20496f00) at 0xd437c604
_do_request__22VISGIOPProtocolAdapterFP14VISGIOPRe questP14VISGlobalTable(0x20469238,
0x20469a38, 0x20469438) at 0xd44cc158
_dispatch_message__22VISGIOPProtocolAdapterFPQ2_14 ProtocolEngine7MessageP14VISGlobalTable(0x20469238 ,
0x20469b18, 0x20469438) at 0xd44ca570
dispatchMessage__22VISGIOPProtocolAdapterFPQ2_14Pr otocolEngine7MessageR14VISThreadLocal(0x20469238,
0x20469b18, 0x20469438) at 0xd44cfcd4
do_work__23VISThreadPoolDispatcherFPQ2_14ProtocolE ngine15ProtocolAdapterRl(0x2017d0c8,
0x20469238, 0x20469390) at 0xd45008e4
do_work__17VISDispatchWorkerFP14VISThreadLocal(0x2 0469388, 0x20469438)
at 0xd4502f84 _perform_task__13VISThreadPoolFP14VISTPoolWorker(0 x2017d0d4,
0x20469408) at 0xd4503a44
begin__14VISTPoolWorkerFv(0x20469408) at 0xd4504d78
_start__9VISThreadFPv(0x20469408) at 0xd372c2cc
pthread._pthread_body(??) at 0xd00080c8
Reply With Quote
  #2  
Old 04-07-2004, 01:08 PM
Ke Jin
Guest
 
Default Re: Thread Stack Size

grajesh@chn.cognizant.com (Rajesh Gopinathan) wrote in message news:<882c7a17.0404070530.578d9be3@posting.google. com>...
> I'm using visibroker 4.5 on AIX 5.1
> I tried to migrate the corba code working fine with BOA to POA.
> After this migration,the application is dumping intermittently.
> I also found that the core is caused a segmentation violation on
> connecting to DB2 from server.
> http://www-1.ibm.com/support/docview...id=swg21007191
>
> So I tried to increase the Thread stack size in properties file
> -OAthreadStackSize=256000
>
> But it didnt work. Then I tried
> vbroker.se.default.scm.default.dispatcher.threadSt ackSize=256000


try:

vbroker.se.default.dispatcher.tp.threadStackSize=2 56000

or

vbroker.se.iiop_tp.scm.iiop_tp.dispatcher.threadSt ackSize=256000

Regards,
Ke

>
> Still it fails.
>
> Is it bcoz the application is not able to set threadStackSize given in
> properties file.
>
> I need to fix this urgently. Pls advice.
>
> DBX output:
> Segmentation fault in sqlowque at 0xd1104f74 ($t8)
> 0xd1104f74 (sqlowque+0x1c) 7c21616e stwux r1,r1,r12
> (dbx) where
> sqlowque(??, ??, ??) at 0xd1104f74
> sqlccipcconnr__FP13sqlcc_connectP15sqlcc_comhandle P10sqlcc_cond(??,
> ??, ??) at 0xd1123a18
> sqlccconnr__FP13sqlcc_connectP15sqlcc_comhandleP10 sqlcc_cond[1]
> [fdpr](??, ??, ??) at 0xd112aec0
> sqloCreateEnvString(??, ??) at 0xd1144c30
> sqle_db2ra_ar_driver__FP10sqle_db2raP17sqle_ar_int erface[6] [fdpr](??,
> ??) at 0xd10d23ec
> sqle_database_connect__FP10sqle_db2raP10sqler_glob[1] [fdpr](??, ??)
> at 0xd10e5994
> sqleriar__FP10sqle_db2ra(??) at 0xd10d9d2c
> sqleStartUsingDatabase__FPcciT2N31P10sqlf_dbcfdT1P 8sqledscbP5sqlcaT1T3(0x204949e4,
> 0x53000053, 0x1, 0x0, 0x20133818, 0x20494ae4, 0x0, 0x0) at 0xd112eabc
> sqlak_connect__FUsT1[4] [fdpr](??, ??) at 0xd1208d64 sqlacall[4]
> [fdpr](0x1d001d, 0x50005, 0x20002, 0x0, 0x0) at 0xd10df2ec
> clp_connect__FP15CLI_CONNECTINFOP15sqla_program_id UsPcN34P5sqlca(??,
> ??, ??, ??, ??, ??, ??, ??) at 0xd13aa690
> CLI_sqlConnect__FP15CLI_CONNECTINFOP5sqlcaP15CLI_E RRLISTINFO(??, ??,
> ??) at 0xd12986e4
> SQLConnect2__FPP15CLI_CONNECTINFOPUcsT2T3T2T3T2T3U c(??, ??, ??, ??,
> ??, ??, ??, ??) at 0xd123c1a4
> SQLDriverConnect2__FPP15CLI_CONNECTINFOPvPUcsT3T4P sUsUcT9P15CLI_ERRLISTINFO(??,
> ??, ??, ??, ??, ??, ??, ??) at 0xd124197c
> SQLDriverConnect1__FPP15CLI_CONNECTINFOPvPUcsT3T4P sUs(??, ??, ??, ??,
> ??, ??, ??, ??) at 0xd123b520 SQLDriverConnect(??, ??, ??, ??, ??, ??,
> ??, ??) at 0xd1238c80 open(const RWCString&,const RWCString&,const
> RWCString&,const RWCString&,RWDBStatus&)(0x2046b1a8, 0x204962f8,
> 0x204962fc, 0x20496300, 0x20496304, 0x2046be10), line 158 in
> "db2sysh.cpp"
> open()(0x2046be08), line 86 in "db2conn.cpp"
> unnamed block $b1226, line 111 in "poolable.cpp"
> checkOut(RWDBConnection::ConnectionType)(0x2009c11 4, 0x1), line 111 in
> "poolable.cpp"
> getFromConnectionPool(RWDBConnection::ConnectionTy pe)(0x2009c088,
> 0x1), line 139 in "dbasei.cpp"
> connection(RWDBConnection::ConnectionType) const(0x2009b874,
> 0x20496510, 0x1), line 294 in "dbase.cpp"
> login() const(0x2009b858, 0x204969f4), line 165 in
> "SingleDatabase.cpp"
> unnamed block $b1515, line 65 in "ClientTransaction.cpp"
> login()(0x2046bb88), line 65 in "ClientTransaction.cpp"
> aux_call(Container&)(0x2009a868, 0x20496d48), line 162 in
> "dcs_asRebsServer.cpp"
> unnamed block $b680, line 50 in "MethodHelper.cpp"
> call(Container&,int)(0x2009a868, 0x20496d48, 0x0), line 50 in
> "MethodHelper.cpp"
> unnamed block $b690, line 247 in "RIOSEnteraBridgeImpl.cpp"
> bigSwitch(Container&)(0x201800a8, 0x20496d48), line 247 in
> "RIOSEnteraBridgeImpl.cpp"
> unnamed block $b693, line 89 in "RIOSEnteraBridgeImpl.cpp"
> call(const char*)(0x201800a8, 0x2046a018), line 89 in
> "RIOSEnteraBridgeImpl.cpp"
> _call(void*,CORBA_MarshalInBuffer&,const
> char*,VISReplyHandler&)(0x201800fc, 0x204696c8, 0x201980c8,
> 0x20496f00), line 52 in "RIOSEnteraBridge_s.cpp"
> execute__11VISSkelInfoFRC14VISGIOPRequestR21CORBA_ MarshalInBufferR15VISReplyHandler(0x20183048,
> 0x20469a38, 0x204696c8, 0x20496f00) at 0xd437c604
> _do_request__22VISGIOPProtocolAdapterFP14VISGIOPRe questP14VISGlobalTable(0x20469238,
> 0x20469a38, 0x20469438) at 0xd44cc158
> _dispatch_message__22VISGIOPProtocolAdapterFPQ2_14 ProtocolEngine7MessageP14VISGlobalTable(0x20469238 ,
> 0x20469b18, 0x20469438) at 0xd44ca570
> dispatchMessage__22VISGIOPProtocolAdapterFPQ2_14Pr otocolEngine7MessageR14VISThreadLocal(0x20469238,
> 0x20469b18, 0x20469438) at 0xd44cfcd4
> do_work__23VISThreadPoolDispatcherFPQ2_14ProtocolE ngine15ProtocolAdapterRl(0x2017d0c8,
> 0x20469238, 0x20469390) at 0xd45008e4
> do_work__17VISDispatchWorkerFP14VISThreadLocal(0x2 0469388, 0x20469438)
> at 0xd4502f84 _perform_task__13VISThreadPoolFP14VISTPoolWorker(0 x2017d0d4,
> 0x20469408) at 0xd4503a44
> begin__14VISTPoolWorkerFv(0x20469408) at 0xd4504d78
> _start__9VISThreadFPv(0x20469408) at 0xd372c2cc
> pthread._pthread_body(??) at 0xd00080c8

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 07:39 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.