ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » AMQ6109 and ResonCode2018

Post new topic  Reply to topic
 AMQ6109 and ResonCode2018 « View previous topic :: View next topic » 
Author Message
andy840920
PostPosted: Mon May 14, 2007 6:13 am    Post subject: AMQ6109 and ResonCode2018 Reply with quote

Apprentice

Joined: 29 Apr 2007
Posts: 44

first, i searched the problem by google. but can't resolve my problem.

my program like this:

Code:

MQGET..
fork()
MQCONNX();
MQOPEN();
MQCLOSE();
MQDISC();

but MQOPEN sometimes ended with 2018 and FDC log like this:

Quote:
[mqm@cis errors]$ cat AMQ24257.20.FDC|more
+-----------------------------------------------------------------------------+
| |
| WebSphere MQ First Failure Symptom Report |
| ========================================= |
| |
| Date/Time :- Mon Jan 1 00:39:22 CST 2007
| Host Name :- cis.czbank (Linux 2.6.9-42.ELsmp) |
| PIDS :- 5724H7204 |
| LVLS :- 6.0.1.1 |
| Product Long Name :- WebSphere MQ for Linux (x86 platform) |
| Vendor :- IBM |
| Probe Id :- XC027016 |
| Application Name :- MQM |
| Component :- xcsRequestMutexSem |
| SCCS Info :- lib/cs/unix/generic/amqxlfmx.c, 1.147.1.2 |
| Line Number :- 2019 |
| Build Date :- May 4 2006 |
| CMVC level :- p600-101-060504 |
| Build Type :- IKAP - (Production) |
| UserID :- 00000506 (zhaoxq) |
| Program Name :- normalTransIn |
| Addressing mode :- 32-bit |
| Process :- 24257 |
| Thread-Process :- 24386 |
| Thread(n) :- 2 |
| QueueManager :- QMCHFE |
| ConnId(1) IPCC :- 161 |
| Major Errorcode :- STOP |
| Minor Errorcode :- OK |
| Probe Type :- HALT6109 |
| Probe Severity :- 1 |
| Probe Description :- AMQ6109: An internal WebSphere MQ error has occurred. |
| FDCSequenceNumber :- 0 |
| |
+-----------------------------------------------------------------------------+

ziiConnectToAgent
zcpAttachPipe
xcsRequestMutexSem
xcsFFST

MQM Trace History
{ xcsInitialize
} xcsInitialize rc=OK
{ zstMQConnect
-{ xcsIsEnvironment
-} xcsIsEnvironment rc=OK
-{ zstMQConnect_CheckParameters
-} zstMQConnect_CheckParameters rc=OK
-{ zutBlankPad
-} zutBlankPad rc=OK
-{ zutIsItBlank
-} zutIsItBlank rc=OK
-{ zutCheckQMName
--{ zutCheckValidName
--} zutCheckValidName rc=OK
-} zutCheckQMName rc=OK
-{ zutCvtMQName2Str
-} zutCvtMQName2Str rc=OK
-{ zstGetPCDbyTID
-} zstGetPCDbyTID rc=OK
-{ zstInitCS
--{ xcsInitialize
---{ xcsCreateSharedThread
---} xcsCreateSharedThread rc=OK
---{ xcsConnectSharedSubpool
----{ xcsAttachSharedSubpool
-----{ xcsGetMem
-----} xcsGetMem rc=OK
-----{ xcsGetMem
-----} xcsGetMem rc=OK
-----{ xcsConnectSharedMemSet
------{ xstAttachSharedMemSet
-------{ xstConnectExtent
--------{ xstVerifySysVIdInFile
--------} xstVerifySysVIdInFile rc=OK
-------} xstConnectExtent rc=OK
-------{ xcsGetMem
-------} xcsGetMem rc=OK
-------{ xcsGetMem
-------} xcsGetMem rc=OK
------} xstAttachSharedMemSet rc=OK
-----} xcsConnectSharedMemSet rc=OK
-----{ xcsDestroySubpoolIfInvalid
------{ xcsGetSetConnectCount
-------{ xstGetExtentConnectCount
-------} xstGetExtentConnectCount rc=OK
------} xcsGetSetConnectCount rc=OK
------{ xcsCheckProcess
Data: 0x00005e54
------} xcsCheckProcess rc=OK
-----} xcsDestroySubpoolIfInvalid rc=OK
-----{ xcsAttachSetExtents
-----} xcsAttachSetExtents rc=OK
----} xcsAttachSharedSubpool rc=OK
---} xcsConnectSharedSubpool rc=OK
---{ xcsGetEnvironmentString
---} xcsGetEnvironmentString rc=xecE_E_ENV_VAR_NOT_FOUND
--} xcsInitialize rc=OK
--{ zutConnectConfig
---{ xcsLookupNamedMemBlock
----{ xcsEnumerateQuickCellBlock
-----{ xcsGetMem
-----} xcsGetMem rc=OK
----} xcsEnumerateQuickCellBlock rc=OK
----{ xcsFreeQuickCellEnumerator
-----{ xcsFreeMem
-----} xcsFreeMem rc=OK
----} xcsFreeQuickCellEnumerator rc=OK
---} xcsLookupNamedMemBlock rc=OK
---{ xcsGetMem
---} xcsGetMem rc=OK
--} zutConnectConfig rc=OK
--{ xcsTerminate
---{ xcsCacheSharedSubpool
---} xcsCacheSharedSubpool rc=OK
---{ xcsDisconnectSharedSubpool
----{ xcsDettachSharedSubpool
-----{ xcsDisconnectSharedMemSet
------{ xcsFreeMem
------} xcsFreeMem rc=OK
------{ xcsFreeMem
------} xcsFreeMem rc=OK
-----} xcsDisconnectSharedMemSet rc=OK
-----{ xstDisconnectExtent
-----} xstDisconnectExtent rc=OK
-----{ xcsFreeMem
-----} xcsFreeMem rc=OK
-----{ xcsFreeMem
-----} xcsFreeMem rc=OK
----} xcsDettachSharedSubpool rc=OK
---} xcsDisconnectSharedSubpool rc=OK
--} xcsTerminate rc=OK
-} zstInitCS rc=OK
-{ zutQueryValue
-} zutQueryValue rc=OK
-{ zutQueryValue
-} zutQueryValue rc=OK
-{ ztmInitialise
-} ztmInitialise rc=OK
-{ zstInsertPCD
--{ xcsRegComp
--} xcsRegComp rc=OK
--{ xcsGetMem
--} xcsGetMem rc=OK
--{ zstGetAppIds
---{ xcsQueryValueForSubpool
---} xcsQueryValueForSubpool rc=OK
---{ xcsQueryValueForSubpool
---} xcsQueryValueForSubpool rc=OK
---{ xcsQueryValueForSubpool
---} xcsQueryValueForSubpool rc=OK
---{ xcsQueryValueForSubpool
----{ xcsQueryProcessDetails
----} xcsQueryProcessDetails rc=OK
---} xcsQueryValueForSubpool rc=OK
---{ zutQueryThreadId
---} zutQueryThreadId rc=OK
--} zstGetAppIds rc=OK
--{ zutAddPCDToSharedTbl
---{ xcsGetMem
---} xcsGetMem rc=OK
--} zutAddPCDToSharedTbl rc=OK
-} zstInsertPCD rc=OK
-{ xcsRegisterDestructor
-} xcsRegisterDestructor rc=OK
-{ zutLoadApiExits
--{ zutQueryValue
--} zutQueryValue rc=OK
-} zutLoadApiExits rc=OK
-{ ziiMQCONN
--{ ziiConnectToAgent
---{ xcsInitialize
----{ xcsConnectSharedSubpool
-----{ xcsAllocateQuickCell
-----} xcsAllocateQuickCell rc=OK
-----{ xlsThreadInitialization
------{ xcsAllocateQuickCell
------} xcsAllocateQuickCell rc=OK
-----} xlsThreadInitialization rc=OK
-----{ xcsConnectSharedMemSet
------{ xcsGetMem
------} xcsGetMem rc=OK
-----} xcsConnectSharedMemSet rc=OK
----} xcsConnectSharedSubpool rc=OK
----{ xcsGetEnvironmentString
----} xcsGetEnvironmentString rc=xecE_E_ENV_VAR_NOT_FOUND
---} xcsInitialize rc=OK
---{ zcpAttachPipe
----{ xcsConnectSharedMemSet
-----{ xcsGetMem
-----} xcsGetMem rc=OK
----} xcsConnectSharedMemSet rc=OK
----{ xcsRequestMutexSem
-----{ xcsBuildDumpPtr
------{ xcsGetMem
------} xcsGetMem rc=OK
-----} xcsBuildDumpPtr rc=OK
-----{ xcsBuildDumpPtr
-----} xcsBuildDumpPtr rc=OK
-----{ xcsFFST

pSCB->xllSCBOwningPID
0xb7831dc0 C15E0000 .^..


pSCB->xllSCBOwningTID
0xb7831dd0 02000000 ....

.....


pCtl->CS.threadConnectCount[2] = 0
pCtl->CS.threadConnectedSubpools[2] = (nil)
pCtl->CS.threadConnectCount[3] = 0
pCtl->CS.threadConnectedSubpools[3] = (nil)
pCtl->CS.threadConnectCount[4] = 0
pCtl->CS.threadConnectedSubpools[4] = (nil)
pCtl->CS.threadConnectCount[5] = 0
pCtl->CS.threadConnectedSubpools[5] = (nil)
pCtl->CS.threadConnectCount[6] = 0
pCtl->CS.threadConnectedSubpools[6] = (nil)

Component Dumps (Thread 00000002)
------< ZS "Application Interface (zst)" >-----
hConn :0
LastCC :0
LastRC :0
AgentPid :0
AgentTid :0
State :2000
MaxMsgLength :0
MaxSendSize :0
PrivilegeOptions :2000000
ConnectOptions :140
bSharedHConn :TRUE
ConnectionId :00000000 00000000 00000000 00000000 00000000 00000000
InstanceId :4597E558 10000001
my MQ manager created like this:
Quote:

in QMCHFE QMGR:

def qr(999100000038_1) rname(web_1) rqmname(WEB) xmitq(PH2WEBX) defpsist(yes) replace
def qr(999100000038_2) rname(web_2) rqmname(WEB) xmitq(PH2WEBX) defpsist(yes) replace
def ql(PH2WEBX) usage(XMITQ) defpsist(YES) maxdepth(10000) maxmsgl(1048576) trigger trigtype(FIRST) trigdata(999100000038.WEB) initq(SYSTEM.CHANNEL.INITQ) replace
def chl(999100000038.WEB) chltype(SDR) discint(1800) conname('10.0.7.191(1517)') xmitq(PH2WEBX) trptype(tcp) shortrty(10000) shorttmr(30) longtmr(300) longrty(999999999) batchsz(50) replace
def chl(WEB.999100000038) chltype(rcvr) trptype(tcp) replace

in WEB QMGR:

def ql(web_1) maxdepth(10000) defpsist(yes) replace
def ql(web_2) maxdepth(10000) defpsist(yes) replace

my program MQPUT message to web_1 queue after GET message from other queue by parent process. and child process shared the message buffer, do something and put to web_1. but sometimes it can't run in normal.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon May 14, 2007 6:31 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

You don't say what platform or level you're on, but Googleing the probe id yielded this:

http://www-1.ibm.com/support/docview.wss?uid=swg1IY07328

May of course be utterly irrelevent to your situation.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
andy840920
PostPosted: Mon May 14, 2007 7:19 am    Post subject: Reply with quote

Apprentice

Joined: 29 Apr 2007
Posts: 44

Vitor wrote:
You don't say what platform or level you're on, but Googleing the probe id yielded this:

http://www-1.ibm.com/support/docview.wss?uid=swg1IY07328

May of course be utterly irrelevent to your situation.

[mqm@cis bin]$ ./dspmqver
Name: WebSphere MQ
Version: 6.0.1.1
CMVC level: p600-101-060504
BuildType: IKAP - (Production)

linux as4
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon May 14, 2007 12:07 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I'd say you didn't adjust your kernel parameters as indicated in the Quick Beginnings for Linux guide.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
andy840920
PostPosted: Tue May 15, 2007 5:47 am    Post subject: Reply with quote

Apprentice

Joined: 29 Apr 2007
Posts: 44

jefflowrey wrote:
I'd say you didn't adjust your kernel parameters as indicated in the Quick Beginnings for Linux guide.
how to adjust system kernel parameters, i think the shm is enough for my application.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » AMQ6109 and ResonCode2018
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.