ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » I have too many amqzlaa0.exe processes

Post new topic  Reply to topic
 I have too many amqzlaa0.exe processes « View previous topic :: View next topic » 
Author Message
madhead
PostPosted: Fri May 10, 2002 3:28 am    Post subject: Reply with quote

Newbie

Joined: 14 Nov 2001
Posts: 5

I have MQ ver 5.2.1 with CSD04 running on a windows 2000 advanced server.
The amqzlaa0.exe processes continually increase until the QMGR dies and it has to be restarted. I have monitored the processes and they are gradually increasing at a rate of 8 about every 14 hours. I have been unable to simulate this on test machines.

Can anyone please help or at the very least point me in the right direction?
Back to top
View user's profile Send private message
dgolding
PostPosted: Fri May 10, 2002 6:25 am    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 668
Location: Switzerland

These are application agents - they are processes which interface your application to MQ, for protection. It sounds as if your application is spawning processes continously and not exiting properly.
Back to top
View user's profile Send private message Visit poster's website
madhead
PostPosted: Fri May 10, 2002 6:51 am    Post subject: Reply with quote

Newbie

Joined: 14 Nov 2001
Posts: 5

Is it possible to monitor which application is causing this error... without loading up the machine in the process?
(I only get this problem in production and not in development or test).

Thanks for the response!

Andy
Back to top
View user's profile Send private message
madhead
PostPosted: Fri May 10, 2002 6:53 am    Post subject: Reply with quote

Newbie

Joined: 14 Nov 2001
Posts: 5

Also we have some VB components in COM+ is it possible that these are the problem?
Back to top
View user's profile Send private message
mqonnet
PostPosted: Fri May 10, 2002 7:30 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

For each application process that does an MQCONN, an Agent is created. And if you see many such applications, that means that there are many apps that are connected to your QM. If your app dies without properly disconnecting from the QM, then the chances of Agent hanging around is large.

What happens if you run the same app in your production machine, where you say you did not see the same problem happen.

But otherwise, as per my knowledge you cannot monitor an Agent process. Reason being, this is created by the QM and is internal to MQ. The other thing to check out would be to run the same app which is causing the problem on Production system to see if you get the same error back.

Even if there are many such agents, MQ would never be affected. Even though processing might get a bit slow(since each agent needs to process requests).

Hope this helps.

Cheers.
Kumar

_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
madhead
PostPosted: Fri May 10, 2002 8:34 am    Post subject: Reply with quote

Newbie

Joined: 14 Nov 2001
Posts: 5

Kumar,

MQ is affected by the number of agents i.e. when the machine runs out of memory when there are too many agents in existence. MQ Dies, not completely, but a bit at a time and in any case I have to restart it and get rid of all the additional processes.

From your statement would I be correct then in assuming that I could safely kill off the orphaned processes then? In addition is it possible to put a time out on the amqzlaa0.exe process so that when no activity has occurred within a given time it cleans itself up?

I have not been able to get the problem on any machine except the production server. But I have a couple of more applications to try before I know for sure. It could be the number of simultaneous uses as that is difficult to simulate in test. I'll try that out though and get back to you.

Regards,
Andy
Back to top
View user's profile Send private message
mqonnet
PostPosted: Fri May 10, 2002 8:40 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

Yes. Any Agent that is idle or not being used could easily be killed/discarded. Usually there is ALWAYS at least 1 Agent that is in idle state.
As for the timeout on an Agent is concerned, i dont think it is possible. Reason. This is not controlled by application, but MQ. And MQ decides on it. The only way in which the app can have control on it is by disconnecting from the Qm. This way the agent dies..

Coming to memory consumption. Yes. Agents consume memory and also cpu time. And hence as i mentioned earlier, performance degradation is possible. But otherwise, having many agents has no effect whatsoever.

Cheers.
Kumar

_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mrlinux
PostPosted: Fri May 10, 2002 9:04 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

There are some tuning parameters for controlling the agents as far threads per agent (1 thread=1 app) so you can have mnay apps and only one agent.
MQSeries version 5.1 and greater automaticly have the threaded agents enabled
but you can still control the number of threads per agent. However if you have a app bug spawning threads, then all this will do is slow it down.

_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » I have too many amqzlaa0.exe processes
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.