Author |
Message
|
TonyD |
Posted: Mon Dec 12, 2005 6:38 pm Post subject: Linux-related Questions |
|
|
Knight
Joined: 15 May 2001 Posts: 540 Location: New Zealand
|
In our V5 Linux broker environment I see multiple processes for each message flow within an EG...20-30 per flow. I understand that each process represents a thread; is this correct?
Secondly, we are seeing behaviour where it appears that after a period of time additional flow instances are spawned but are not shown by 'mqsilist' in the EG. A broker restart gets rid of them for a while but then they return. Has anyone else seen this behaviour? |
|
Back to top |
|
 |
wschutz |
Posted: Tue Dec 13, 2005 2:40 am Post subject: Re: Linux-related Questions |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
TonyD wrote: |
In our V5 Linux broker environment I see multiple processes for each message flow within an EG...20-30 per flow. I understand that each process represents a thread; is this correct? |
Yes, linux shows each thread as a process....
TonyD wrote: |
Secondly, we are seeing behaviour where it appears that after a period of time additional flow instances are spawned but are not shown by 'mqsilist' in the EG. A broker restart gets rid of them for a while but then they return. Has anyone else seen this behaviour? |
Are you saying you are seeing additional threads? 'mqsilist' only shows EG's and deployed message flows, so I'm not clear on what you're looking at for comparision .... _________________ -wayne |
|
Back to top |
|
 |
TonyD |
Posted: Tue Dec 13, 2005 12:38 pm Post subject: |
|
|
Knight
Joined: 15 May 2001 Posts: 540 Location: New Zealand
|
Quote: |
...I'm not clear on what you're looking at for comparision ...
|
Sorry...to clarify, we have a single instance of a message flow in an execution group, shown correctly as one flow with 'mqsilist' and represented by 20-30 identically-named processes (threads). The flow execution is initiated by a Cron job at a fixed interval, it runs and terminates. During the processing it writes to an audit log. On occasions, sometime after the broker is started, we see two sets of entries in the log at the same time, which appears to indicate that a second copy of the message flow is running and its execution is also being initiated by the Cron job. |
|
Back to top |
|
 |
wschutz |
Posted: Tue Dec 13, 2005 5:33 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Quote: |
The flow execution is initiated by a Cron job at a fixed interval, |
does that mean the cron script is putting a message on a queue which initiates the flow? _________________ -wayne |
|
Back to top |
|
 |
TonyD |
Posted: Wed Dec 14, 2005 6:03 pm Post subject: |
|
|
Knight
Joined: 15 May 2001 Posts: 540 Location: New Zealand
|
Wayne,
As you (I think) suspected, it was the cron at fault. |
|
Back to top |
|
 |
wschutz |
Posted: Wed Dec 14, 2005 7:19 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
|
Back to top |
|
 |
|