Author |
Message
|
sanyasirajumandapati |
Posted: Thu Jan 06, 2005 12:29 pm Post subject: is there is any restiction in creating a no of queuemanagers |
|
|
Novice
Joined: 20 Dec 2004 Posts: 14
|
hi all,
i am facing problem in creating queue managers. already i had 11 queue managers. but there is a problem in creating another queue manager.
pls suggest me.
thanx _________________ SUNNY |
|
Back to top |
|
 |
Ratan |
Posted: Thu Jan 06, 2005 12:37 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
I am not aware of any restriction. May be your system is running out of memory. _________________ -Ratan |
|
Back to top |
|
 |
sanyasirajumandapati |
Posted: Thu Jan 06, 2005 12:40 pm Post subject: |
|
|
Novice
Joined: 20 Dec 2004 Posts: 14
|
hi ratan,
i tried this in three systems, but it shows the same problem.pls tried in ur system once.
regards _________________ SUNNY |
|
Back to top |
|
 |
Anirud |
Posted: Thu Jan 06, 2005 12:49 pm Post subject: |
|
|
 Master
Joined: 12 Feb 2004 Posts: 285 Location: Vermont
|
BTW, why did you create 11 queue managers on a system?
Just curious. |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Jan 06, 2005 12:55 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
|
Back to top |
|
 |
kevinf2349 |
Posted: Thu Jan 06, 2005 12:57 pm Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Quote: |
i tried this in three systems, but it shows the same problem.pls tried in ur system once. |
What system are you using? What version of MQ are you using. What operating system, how many users on the system...
It will be a little like comparing apples with oranges if the systems aren't the same. |
|
Back to top |
|
 |
sanyasirajumandapati |
Posted: Thu Jan 06, 2005 1:03 pm Post subject: |
|
|
Novice
Joined: 20 Dec 2004 Posts: 14
|
hi
versionis mq series 5.3, O.S is windows 2000 professional, single user. _________________ SUNNY |
|
Back to top |
|
 |
kevinf2349 |
Posted: Thu Jan 06, 2005 1:11 pm Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Hi
I have just created 14 qmgrs without a problem on a MQ 5.3 CSD08 Windows XP system.
I didn't start them all but they created fine using MQ Explorer
Not much help, but it at least worked fine for me. |
|
Back to top |
|
 |
kingsley |
Posted: Thu Jan 06, 2005 1:12 pm Post subject: |
|
|
Disciple
Joined: 30 Sep 2001 Posts: 175 Location: Hursley
|
Experiments showed that as the number of QueueManagers that can be in running state is directly proportional to the main memory (RAM) on the given system
To create the 12'th Qmgr, shut down on 1 or 2 qmgrs, you will be able to create the 12'th one or so on.
But anytime, the qmgrs in Running state will be same. as you start one, the other one or the starting one will show, ( ended unexpectedly). If you check the error logs, it will report RESOURCE PROBLEM which is nothing but your memory (RAM) problems
Once the queuemanagers are in running state, try create queues and dump messages, you will be gettting resource problems reported in reason codes and in error logs. |
|
Back to top |
|
 |
sanyasirajumandapati |
Posted: Thu Jan 06, 2005 1:49 pm Post subject: |
|
|
Novice
Joined: 20 Dec 2004 Posts: 14
|
hi kevin
kevinf2349 wrote: |
Hi
I have just created 14 qmgrs without a problem on a MQ 5.3 CSD08 Windows XP system.
I didn't start them all but they created fine using MQ Explorer
Not much help, but it at least worked fine for me. |
i had created 16 qmgrs without any prob but the prob occurs while starting the qms.
regards _________________ SUNNY |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Jan 06, 2005 1:53 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
The reason that you are having trouble getting 'one more' qmgr created is because in order to create a qmgr, WMQ starts it. If you already have reached the start limit, it can't start the qmgr you want to create.
I'm on a Win 2000 System with WMQ 5.3 FixPack 8. |
|
Back to top |
|
 |
JT |
Posted: Thu Jan 06, 2005 2:32 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
sanyasirajumandapati wrote: |
....there is a problem in creating another queue manager. |
Is an error message produced? |
|
Back to top |
|
 |
kevinf2349 |
Posted: Thu Jan 06, 2005 5:46 pm Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Sunny
Quote: |
i had created 16 qmgrs without any prob but the prob occurs while starting the qms. |
So your initial statement of ...
Quote: |
hi all,
i am facing problem in creating queue managers. already i had 11 queue managers. but there is a problem in creating another queue manager.
pls suggest me.
|
Is a load of pony then? That is very misleading.
So to clarify....your problem isn't with creating more than 11 qmgrs it is with starting more than 11? Correct?
Kevin |
|
Back to top |
|
 |
JasonE |
Posted: Fri Jan 07, 2005 4:36 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
Lookup the issue with Desktop Heap...
You can create loads of qmgrs. Starting them from the GUI means each qmgr process loads in User32.dll (O/s dll) and uses a small amount of desktop heap. For background processes there is a limit on the size of desktop heap which when you reach the processes will not get launched and you will see failures. The MSDN Knowledge Base article Q184802 has a lot of detail for this problem.
As proof this is the problem, strmqm them (rather than amqmdain start or gui start), then they will start ok... Just dont log off
From an internal article:
Quote: |
Every desktop object on the system has a desktop heap associated with it. The desktop object uses the heap to store menus, hooks, strings, and windows. The system allocates desktop heap from a system-wide 48-MB buffer. In addition to desktop heaps, printer, and font drivers also use this buffer.
Desktops are associated with window stations. A window station can contain zero or more desktops. The size of the desktop heap allocated for a desktop associated with a window station can be changed in the following registry value: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems\Windows
The default data for this registry value will look something like the following (all on one line):
%SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024,3072,512 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off MaxRequestThreads=16
Cutting to the chase, there are 3 value for the 'SharedSection'. As can be see above, these are 1024,3072,512 (Sometimes the last value may not be present (512)). This last value represents the size of the desktop heap for each desktop that is associated with a "noninteractive" window station.
MUSR_MQADMIN is usually the user id configured under dcomcnfg to run the IBM MQSeries Services as "noninteractive". The user should be able to modify this value to successfully launch all of their queue managers. A value of perhaps 768 or 1024 may be appropriate. Please note: The machine requires a restart for the new parameter to take effect.
|
>10 queue managers is a lot of queue managers on one system when considering a single point of failure!! |
|
Back to top |
|
 |
kingsley |
Posted: Fri Jan 07, 2005 5:24 am Post subject: |
|
|
Disciple
Joined: 30 Sep 2001 Posts: 175 Location: Hursley
|
At one of clients i served earlier, we had 10 QueueManagers on a Clustered Unix Box in Production.
The Box ran solidly . Along with MQSeries, we had Sybase, LDAP and bunch of user written programs.
It's a Unix Box and it had 16Gig Ram. So it went fine.
The More RAM you had, the best you can bet it. |
|
Back to top |
|
 |
|