Author |
Message
|
alvinus |
Posted: Wed Jul 30, 2003 10:59 pm Post subject: Insufficient memory in AIX 4.3.3 running MQ Series v5.2 |
|
|
Newbie
Joined: 02 Jun 2003 Posts: 4
|
We are running MQSeries v5.2 using AMI. We are encountering insufficient memory error during the publish of 100Mb data. The RS6000 machine has 4Gb physical memory and no other processes are running. How can we resolve this?
Thanks.
Alvin |
|
Back to top |
|
 |
syangloo |
Posted: Sun Aug 03, 2003 6:54 pm Post subject: |
|
|
Centurion
Joined: 01 Oct 2002 Posts: 120 Location: Kuala Lumpur
|
Hi alvinus
Do you increase the qmgr setting for it to receive "bigger" message into the queue? Example like MaxMsgLength at the qmgr, channel and queue.
Regards
Syangloo |
|
Back to top |
|
 |
alvinus |
Posted: Mon Aug 04, 2003 1:30 am Post subject: |
|
|
Newbie
Joined: 02 Jun 2003 Posts: 4
|
Hi Syangloo,
All the qmgr settings like queue and channels are set to receive 100 Mb message size.
Is there a patch or setting for AIX 4.3.3 to increase memory?
Thanks,
Alvinus |
|
Back to top |
|
 |
bower5932 |
Posted: Mon Aug 04, 2003 6:28 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Since you are on MQ 5.2 on AIX, are you sure you're not suffering from the segment 8 problem? You can search this site for IPCCBaseAddress to get more details. |
|
Back to top |
|
 |
syangloo |
Posted: Mon Aug 04, 2003 5:15 pm Post subject: |
|
|
Centurion
Joined: 01 Oct 2002 Posts: 120 Location: Kuala Lumpur
|
Hi alvinus,
Can you post up which queue, qmgr and channel you change for the MaxMsgLength? I face this problem before, but i change the MaxMsgLength at some of the queue setting then it work.
Regards
Syangloo |
|
Back to top |
|
 |
alvinus |
Posted: Mon Aug 04, 2003 6:56 pm Post subject: |
|
|
Newbie
Joined: 02 Jun 2003 Posts: 4
|
Hi Syangloo,
Thanks for the responses.
Here are the queues with MAXMSGL set to 104857600:
QM.NCSBK - transmission queue
Q.BROKER.DEFAULT.STREAM - remote queue of the broker
The queue manager MAXMSGL is also set to 104857600.
The sender channel QMRMSUS001.QMNCSBK and receiver channel QMNCSBK.QMRMSUS001 MAXMSGL is also set 104857600.
Am I missing other queues or channel?
I am using AMI APIs to interface with MQSeries. The problem is with the amPublish API . It is returning an insufficient memory allocation to perform the requested operation. I was able to published at least 80Mb of data. If the datafile is greater than 80Mb. I will have this problem. I was able to publish 100Mb of data in W2k.
Thanks again,
Alvin |
|
Back to top |
|
 |
syangloo |
Posted: Wed Aug 06, 2003 8:18 pm Post subject: |
|
|
Centurion
Joined: 01 Oct 2002 Posts: 120 Location: Kuala Lumpur
|
Hi alvinus,
Below is the list of queue and channel i change at broker, publisher queue manager and receiver queue manager
Publicher Qmgr
Qmgr - 104857600 (4194304)
Q.Subscription.001 - 104857600 (Local Queue-queue to receive the msg)
Transmission Q - 104857600
System.Auth.Data.Q - 104857600
System.Dead.Letter.Q - 104857600
Sender and Receiver Channel - 104857600
Receiver Qmgr
Qmgr - 104857600 (4194304)
Q.Subscription.001 - 104857600 (Local queue)
Transmission Q - 104857600
System.Auth.Data.Q - 104857600
System.Dead.Letter.Q - 104857600
Sender and Receiver Channel - 104857600
Broker
Qmgr - 104857600
Transmission Q to Publisher - 104857600
Transmission Q to Receiver - 104857600
System.Auth.Data.Q - 104857600
System.Brokered.Default.Stream - 104857600
System.Dead.Letter.Q - 104857600
Sender and Receiver Channel for publisher - 104857600
Sender and Receiver Channel for Receiver - 104857600
This is the setting i set at my side, please try it out. Hope it help you. If you still can't publish 100MB msg after changing the setting, then is the system setting you need to check.
Regards
Syangloo |
|
Back to top |
|
 |
alvinus |
Posted: Wed Aug 06, 2003 11:11 pm Post subject: |
|
|
Newbie
Joined: 02 Jun 2003 Posts: 4
|
Hi Syangloo,
I configured all the queues, qmgr and channels to 104857600. I still get the same error. Our system administrator do not know what to adjust to increase the memory. We tried stopping all the process except MQ and the adapters, we still get the same error. Any idea on what is the problem with our system or what to set to solve this problem? We are using AIX 4.3.3 with 4GB memory.
Thanks for the responses.
Alvinus |
|
Back to top |
|
 |
sc |
Posted: Sat Sep 06, 2003 4:24 am Post subject: |
|
|
Novice
Joined: 06 Sep 2003 Posts: 16
|
Hope you already solved this problem.
Another place to check is the kernel settings. The kernel configuration should be sufficient to run MQ. Make sure that shared memory,semorphore, file descriptor hard/soft limits are set properly. Ask system admin for help. |
|
Back to top |
|
 |
|