Author |
Message
|
hunterKillerz |
Posted: Thu Jun 17, 2010 2:39 am Post subject: Reason Code: 2018 |
|
|
 Apprentice
Joined: 16 Jun 2010 Posts: 40
|
do anyone here know how to solve this problem?
I have an application that creates thread:
each thread will do:
i) MQOPEN
ii) MQPUT
iii) MQCLOSE
It runs fine at the beginning, but when it reaches around +5900th messages, i got this error code. |
|
Back to top |
|
 |
exerk |
Posted: Thu Jun 17, 2010 3:06 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Q1. You've checked the Info Centre for that code, and you have eliminated the seven possibilities listed there?
Q2. Why do you have the threads hammering the queue? Why do you not have the thread hold open the queue and PUT multiply? In fact, why so many threads? (I'm assuming they're concurrent). _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Thu Jun 17, 2010 4:58 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
|
Back to top |
|
 |
exerk |
Posted: Thu Jun 17, 2010 8:39 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Try putting mqrc 2018 in the search bar of the Info Centre  _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
hunterKillerz |
Posted: Thu Jun 17, 2010 6:51 pm Post subject: |
|
|
 Apprentice
Joined: 16 Jun 2010 Posts: 40
|
Yeah, i was running threads to simulate Bank Transaction System.
I think I've solve the problem out,
The things I did yesterday for each single thread:
MQCONN
MQOPEN
MQPUT
MQCLOSE
without MQDISC
After added MQDISC, its running fine now. thx guys! anywhere =) |
|
Back to top |
|
 |
shashivarungupta |
Posted: Thu Jun 17, 2010 11:23 pm Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
exerk wrote: |
Try putting mqrc 2018 in the search bar of the Info Centre |
I did, but as 2018 mqrc  _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
|