Author |
Message |
Topic: max connection number |
zealotcat
Replies: 3 Views: 3625
|
Forum: General IBM MQ Support Posted: Sun Mar 07, 2004 1:31 pm Subject: max connection number |
I write a multi-thread application and all threads make a connection to MQ. But only 99 threads can connect ok. I change the queue manager's maxhandler, but no effect.
Pls help me! |
Topic: MQ on SMP platform. |
zealotcat
Replies: 3 Views: 1913
|
Forum: General IBM MQ Support Posted: Sun Mar 07, 2004 12:19 pm Subject: MQ on SMP platform. |
I'm sure that I used persistent messages in the all tests! |
Topic: MQ on SMP platform. |
zealotcat
Replies: 3 Views: 1913
|
Forum: General IBM MQ Support Posted: Sun Mar 07, 2004 10:12 am Subject: MQ on SMP platform. |
Hi,all!
I test MQ performance on different platform. I use MQ's sample application "amqsputc", and put messages through CHANNEL. I setup MQ server by default.
--**SERVER**
2 XEON(hyper-threa ... |
Topic: Multi-thread! |
zealotcat
Replies: 13 Views: 8479
|
Forum: IBM MQ API Support Posted: Sat Feb 28, 2004 8:43 am Subject: Multi-thread! |
Only a suggestion, I tried it with one thread an it works:
In MQ 5.3 connections are tread-save. You can connect in main and use it in all threads.
I don't know why your code doesn't work, but ... |
Topic: Multi-thread! |
zealotcat
Replies: 13 Views: 8479
|
Forum: IBM MQ API Support Posted: Sat Feb 28, 2004 4:22 am Subject: Multi-thread! |
I try these code on OS redhat 8 and it exit too!
Code:
***********************************************************
#include <iostream>
#include <imqi.hpp>
#include <pthread.h>
... |
Topic: Multi-thread! |
zealotcat
Replies: 13 Views: 8479
|
Forum: IBM MQ API Support Posted: Fri Feb 27, 2004 8:53 am Subject: Multi-thread! |
I link these library:
LIBS = -limqb23gl_r -limqc23gl_r |
Topic: Multi-thread! |
zealotcat
Replies: 13 Views: 8479
|
Forum: IBM MQ API Support Posted: Fri Feb 27, 2004 7:06 am Subject: Multi-thread! |
Sorry,all!
The application exit unexpectedly at line:
if ( ! mgr.connect( ) )
and following line can not excute, that is, it will not output "OK" or "FAILED"!
If I use single-thread,it work ... |
Topic: Multi-thread! |
zealotcat
Replies: 13 Views: 8479
|
Forum: IBM MQ API Support Posted: Thu Feb 26, 2004 9:15 pm Subject: Multi-thread! |
It exit without any exception and reason code !!! |
Topic: Multi-thread! |
zealotcat
Replies: 13 Views: 8479
|
Forum: IBM MQ API Support Posted: Thu Feb 26, 2004 10:51 am Subject: Multi-thread! |
I write a multi-thread application on RedHat 9(g++3.2.2) using Imq* C++ wrapper class. It can complie and link,but can not running.It exit at Line:"if( qmgr.connect() )". Why?
Who has some document o ... |
Topic: Help! |
zealotcat
Replies: 2 Views: 2113
|
Forum: IBM MQ API Support Posted: Thu Feb 26, 2004 12:16 am Subject: Help! |
It exit at "connect()" whitout return value! |
Topic: Help! |
zealotcat
Replies: 2 Views: 2113
|
Forum: IBM MQ API Support Posted: Wed Feb 25, 2004 3:56 pm Subject: Help! |
The application exit when running to qmgr.connect(),why? Thx!
***************************************************
void * pub_thread( void* )
{
ImqQueueManager qmgr;
if( qmgr.connect() )
... |
Topic: Max length of topic |
zealotcat
Replies: 1 Views: 1499
|
Forum: General IBM MQ Support Posted: Wed Feb 25, 2004 10:40 am Subject: Max length of topic |
I am writing a publication/subscribe application. Who can tell me the max length of a topic? |