Author |
Message
|
SSachdeva |
Posted: Mon Dec 20, 2004 2:33 pm Post subject: Multiple MQ Queue Managers on Solaris |
|
|
Apprentice
Joined: 04 Apr 2002 Posts: 33
|
Hi all,
I was wondering if any one can point me in the right direction. There is a requirement to start 4 queue managers on a Solaris using the SunOS 5.8 with a generic patch. I have set all the kernel parameters mentioned in the Solaris Quick Beginins - heres what I am using:
set shmsys:shinfo_shmmni=2048
set shmsys:shminfo_shmmax=4294967296
set shmsys:shminfo_shmseg=2048
set semsys:seminfo_semmni=4096
set semsys:seminfo_semmns=16384
set semsys:seminfo_semmsl=800
set semsys:seminfo_semmnu=4096
set semsys:seminfo_semume=256
set semsys:seminfo_semopm=100
set msgsys:msginfo_msgmax=8192
set semsys:seminfo_semaem=16384
set semsys:seminfo_semvmx=32767
set semsys:seminfo_semmap=1026
set semsys:seminfo_semmns=16384
set semsys:seminfo_semume=256
set msgsys:msginfo_msgmni=100
set msgsys:msginfo_msgmap=2048
set msgsys:msginfo_msgmnb=8192
set shmmin:shminfo_shmmin=1
The thing is though that when I try to start the 4th and final queue manager - mqseries fails to do so an creates an FDC - the fdc pretty much says that MQ failed on the shmget - and that the device is out of memory. Do you think that this is simply a problem of overloading the physical memory on the machine (the machine has 2GB of real memory) or is it just that I am not setting the kernel parameters right. Oh - one more thing - we are planning to run a pretty memory intensive application on that machine other than the 4 queue managers.
I did a ps -ef -ovsz,user | grep mqm and added all the virtual memory used by a queue manager and supporting components - that comes out to around 250 Megs ( my colleagues and me think this is a little much) ... I wonder in general how much memory do you think WMQ needs just to simply start a Queue Manager?
Thanks in advance,
Shammy |
|
Back to top |
|
 |
csmith28 |
Posted: Mon Dec 20, 2004 2:56 pm Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
Hmmm....
What does ipcs | grep mqm show you? If you brought all four MQManagers down and didn't clean up the lingering Shared Memory Segments with the ipcrm command you may have some stale ones hanging around and pooching up the works.
If possible bring all the MQManagers down.
as root run #ipcs | grep mqm. If there are any Memory resources still held by mqm use the ipcrm command to remove them. Then try to start all the MQManagers again. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
SSachdeva |
Posted: Mon Dec 20, 2004 3:17 pm Post subject: |
|
|
Apprentice
Joined: 04 Apr 2002 Posts: 33
|
Hi,
Thanx for the quick response. I did do an ipcs | grep mqm and got he following:
m 45 0x2406bb --rw-rw-rw- mqm mqm
m 46 0x2406bc --rw-rw-rw- mqm mqm
m 56 0x2406bd --rw-rw-rw- mqm mqm
m 57 0x2406be --rw-rw-rw- mqm mqm
m 58 0x2406bf --rw-rw-rw- mqm mqm
s 8 0x26953b --ra-ra-ra- mqm mqm
s 9 0x25c1a7 --ra-ra---- mqm mqm
s 11 0x26d842 --ra-ra---- mqm mqm
s 12 0x26c79b --ra-ra-ra- mqm mqm
s 33 0x61 --ra-ra-ra- mqm mqm
s 34 0x62 --ra-ra-ra- mqm mqm
s 35 0x24572f --ra-ra---- mqm mqm
s 38 0x263b1c --ra-ra---- mqm mqm
s 40 0x65 --ra-ra-ra- mqm mqm
s 41 0x2559c9 --ra-ra---- mqm mqm
i removed all the remainin ones using ipcrm - Unfortunately that did not help in starting a qmgr.
Thanks,
Shammy |
|
Back to top |
|
 |
csmith28 |
Posted: Mon Dec 20, 2004 3:40 pm Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
Is it the same QManager that is giving you problems every time or....
What I mean to say is if the four QManagers are QM1, QM2, QM3 and QM4 is it always QM4 that fails. If you start with QM4 then QM3, QM2 does QM1 fail to start with the same error or does QM4 fail. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
SSachdeva |
Posted: Tue Dec 21, 2004 6:15 am Post subject: |
|
|
Apprentice
Joined: 04 Apr 2002 Posts: 33
|
Nope its any queue manager that is started the last. |
|
Back to top |
|
 |
csmith28 |
Posted: Tue Dec 21, 2004 10:41 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
SSachdeva wrote: |
Nope its any queue manager that is started the last. |
You may want to take this up with SUN, sounds like you will need to tweak your Kernel Parms. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
csmith28 |
Posted: Tue Dec 21, 2004 2:28 pm Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
I was thinking about this today and just wondering. Exactly what is the "requirement to start 4 queue managers"?
If this decision is being driven by the fact that you have four application that will use this MQServer, you don't really have to have four MQManagers. You can just as easily use one MQManager for all the Apps or split the usage between two MQManagers.
Just a thought. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
|