Author |
Message
|
mimi |
Posted: Mon Nov 29, 2004 11:25 am Post subject: amqrmppa process |
|
|
Novice
Joined: 01 Oct 2004 Posts: 18
|
I had MQ v5.3 with CSD06 installed on a Sun Cluster. There are about hundred of amqrmppa processes are left running over time and they ate up memory. I tried to stop the queue manager but those processes were not ending.
Does anyone know why the amqrmppa processes are left running after the queue manager is stopped? Did I miss anything in the setup/configuration?
Thanks,
Mimi _________________ mimi |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Nov 29, 2004 12:04 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
How are you starting your listener(s) ? |
|
Back to top |
|
 |
vennela |
Posted: Mon Nov 29, 2004 12:04 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
I think this is the listener process.
Did you try stopping the listener and see if the processes go away? |
|
Back to top |
|
 |
mimi |
Posted: Mon Nov 29, 2004 12:14 pm Post subject: amqrmppa process |
|
|
Novice
Joined: 01 Oct 2004 Posts: 18
|
Here is how I start my listener
runmqlsr -t tcp -p 1418 -b 100 -m RCMQ1OL
I tried to end the listener using endmqlsr but I couldn't get it to end, here is the message I got back
No WebSphere MQ listeners found for the given Queue Manager
Is there anything wrong with the way I start the listener?
Thanks,
Mimi _________________ mimi |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Nov 29, 2004 12:26 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Are you sure there is nothing referenced in inetd ?? (/etc/inetd.conf) |
|
Back to top |
|
 |
csmith28 |
Posted: Mon Nov 29, 2004 12:27 pm Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
amqrmppa is a channel receiver process. I believe it services both RCVR and SVRCONN Channels.
When you did a ps -ef | grep amqrmppa did you note the Parent Process ID. Were they orphaned. Did you have any defunct processes?
It is not normal for there to be amqrmppa processes if all the MQManagers on the server have been stopped. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
mimi |
Posted: Mon Nov 29, 2004 12:33 pm Post subject: |
|
|
Novice
Joined: 01 Oct 2004 Posts: 18
|
When I did ps -ef | grep amqrmppa I noticed that the parent process ID is the listener process ID. How come I couldn't use endmqlsr to end the listener process? I suspect once I end listener process, these amqrmppa processes should end as well, right? _________________ mimi |
|
Back to top |
|
 |
mimi |
Posted: Mon Nov 29, 2004 12:39 pm Post subject: |
|
|
Novice
Joined: 01 Oct 2004 Posts: 18
|
I tried to end all queue managers, kill all listeners and those amqrmppa processes are still hanging around. There were hundred of them and I had to write a script to kill them. _________________ mimi |
|
Back to top |
|
 |
vennela |
Posted: Mon Nov 29, 2004 12:40 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Quote: |
runmqlsr -t tcp -p 1418 -b 100 -m RCMQ1OL |
Maybe yu are trying to do just
and it is trying to end the default listener.
You should do
endmqlsr -m RCMQ1OL.
The QMGR should be down before you issue the command
or
ps -ef | grep runmqlsr | grep RCMQ1OL
grab the process id and kill it. |
|
Back to top |
|
 |
mimi |
Posted: Mon Nov 29, 2004 12:46 pm Post subject: |
|
|
Novice
Joined: 01 Oct 2004 Posts: 18
|
I stopped the queue manager and ran "endmqlsr -m RCMQ1OL" and got that message.
Sometimes I stopped the listener by killing it. But I think that "endmqlsr" has some other functionality which will end all amqrmppa processes, that's why I try to use "endmqlsr", but I didn't get what I expected.
Thanks,
Mimi _________________ mimi |
|
Back to top |
|
 |
csmith28 |
Posted: Mon Nov 29, 2004 1:01 pm Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
mimi wrote: |
I stopped the queue manager and ran "endmqlsr -m RCMQ1OL" and got that message.
Sometimes I stopped the listener by killing it. But I think that "endmqlsr" has some other functionality which will end all amqrmppa processes, that's why I try to use "endmqlsr", but I didn't get what I expected.
Thanks,
Mimi |
Yes, under normal circumstances one would expect that the endmqlsr command would indeed stop all it's child processes before ending the parent but I suspect these are not normal circumstances.
By default I believe the kill command will behave as if you issue a kill -15 <PID> which will attempt to kill any child processes of the process specified before killing the parent. -9 is the baddie which says kill it now with no cleanup.
under certain circumstances I have had to use the following to stop all mqm processes as root:
Code: |
# ps -ef | grep -v grep | grep mqm | awk {'print $2'} | xargs kill -9 |
This is a particularly brutal and messy but affective way of stopping MQSeries and it will terminate all mqm sessions as well.
Buy the way, are you seeing any .FDC files being created in /var/mqm/errors?
When you stopped the MQManager, did you clean up your Shared Memory Segments with the ipcrm command or the amqiclen? _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
mimi |
Posted: Tue Nov 30, 2004 5:38 am Post subject: |
|
|
Novice
Joined: 01 Oct 2004 Posts: 18
|
No, I don't see any .FDC file created.
No, I didn't use either ipcrm nor amqiclen. But we did reboot the whole box twice.
Is there any idea how to control those amqrmppa processes? Each queue manager should have 1 amqrmppa process, is it correct? Why the listener process keeps creating these amqrmppa processes incrementally without cleanup?
Thanks,
Mimi _________________ mimi |
|
Back to top |
|
 |
KeeferG |
Posted: Tue Nov 30, 2004 5:39 am Post subject: |
|
|
 Master
Joined: 15 Oct 2004 Posts: 215 Location: Basingstoke, UK
|
I am having similar problems.
I think each amqrmppa process handles around 64 connections.
On the system with all the amqrmppa processes do you have any full queues.
Could you show your channel definitions and qm.ini files. _________________ Keith Guttridge
-----------------
Using MQ since 1995 |
|
Back to top |
|
 |
mimi |
Posted: Tue Nov 30, 2004 5:57 am Post subject: |
|
|
Novice
Joined: 01 Oct 2004 Posts: 18
|
Have you found the way to resolve it yet? How do I check for full queues?
Here is my mq.ini
ExitPath:
ExitsDefaultPath=/var/mqm/exits/
#* *#
#* *#
Log:
LogPrimaryFiles=3
LogSecondaryFiles=2
LogFilePages=5130
LogType=LINEAR
LogBufferPages=0
LogPath=/global/data/apps/mqha/RCMQ1WEB/log/RCMQ1WEB/
LogWriteIntegrity=TripleWrite
Service:
Name=AuthorizationService
EntryPoints=10
ServiceComponent:
Service=AuthorizationService
Name=MQSeries.UNIX.auth.service
Module=/opt/mqm/lib/amqzfu
ComponentDataSize=0
TCP:
KeepAlive=yes
Channels:
MaxChannels=768
MaxActiveChannels=768
Here are my channel definitions
CHANNEL(SVRCONN.CPICWEB)
CHLTYPE(SVRCONN)
TRPTYPE(TCP)
DESCR( )
SCYEXIT( )
MAXMSGL(4194304)
SCYDATA( )
HBINT(300)
SSLCIPH(TRIPLE_DES_SHA_US)
SSLCAUTH(REQUIRED)
KAINT(AUTO)
MCAUSER( )
ALTDATE(2004-05-05)
ALTTIME(16.23.29)
SSLPEER()
SENDEXIT( )
RCVEXIT( )
SENDDATA( )
RCVDATA( )
CHANNEL(JAVA.CHANNEL)
CHLTYPE(SVRCONN)
TRPTYPE(TCP)
DESCR(Sample)
SCYEXIT( )
MAXMSGL(4194304)
SCYDATA( )
HBINT(300)
SSLCIPH( )
SSLCAUTH(REQUIRED)
KAINT(AUTO)
MCAUSER( )
ALTDATE(2004-03-10)
ALTTIME(12.12.27)
SSLPEER()
SENDEXIT( )
RCVEXIT( )
SENDDATA( )
RCVDATA( ) _________________ mimi |
|
Back to top |
|
 |
csmith28 |
Posted: Tue Nov 30, 2004 6:23 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
Code: |
# echo "dis ql(*) CURDEPTH MAXDEPTH" | runmqsc
|
If the value of CURDEPTH is the same as the value of MAXDEPTH. That Queue is full. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
|