Hi - this may sound like a silly question, but I can’t seem to find the answer written down anywhere, and I’d feel much better if I could have this confirmed!
Here’s the scenario. I have a server which is set to run a max. of 2 concurrent agents during the nighttime period, and 1 concurrent agent during the day. Say that there are 2 agents running concurrently at the point where the server switches to the Daytime paramaters. My question is, does the additional agent get ‘cut off’ to fit in with the daytime paramater of only running one agent at the time? I’m assuming that this is not the case, and the extra agent is allowed to run till completion, at which point the server obeys the daytime parameters and only allows one agent run at a time. However, as I said, I can’t find the documentation for this and would appreciate it if someone could confirm either way so I can give my client the correct information.
many thanks,
Emily Graham.
Subject: An Agent Question for Julie K if she’s about…
… or any other agent gurus in here.
copy-paste of my original post:
Hi - this may sound like a silly question, but I can’t seem to find the answer written down anywhere, and I’d feel much better if I could have this confirmed! Here’s the scenario. I have a server which is set to run a max. of 2 concurrent agents during the nighttime period, and 1 concurrent agent during the day. Say that there are 2 agents running concurrently at the point where the server switches to the Daytime paramaters. My question is, does the additional agent get ‘cut off’ to fit in with the daytime paramater of only running one agent at the time? I’m assuming that this is not the case, and the extra agent is allowed to run till completion, at which point the server obeys the daytime parameters and only allows one agent run at a time. However, as I said, I can’t find the documentation for this and would appreciate it if someone could confirm either way so I can give my client the correct information. many thanks,
Emily Graham.
Subject: RE: An Agent Question for Julie K if she’s about…
It will give it “some” amount of time to finish, but if it is not done it will cut it off (as it could be in the inifite loop). I don’t remmber from the top of my head how much time it gives it. If I have some time I will look at the code and post a follow up.
It will go through ‘terminate’ event, so you could put code there to handle abnormal termination.
Subject: RE: An Agent Question for Julie K if she’s about…
Ahh - ok, that’s good to know. Many thanks for taking the time to post!
Emily.
Subject: On busy systems w/ lots of scheduled agents I recommend not changing the number…
between Nighttime and Daytime. We had a customer that would frequently crash every morning at 7:00 AM when AMGR took the extra threads offline.
Subject: RE: On busy systems w/ lots of scheduled agents I recommend not changing the number…
Ok - good advice, I’ll keep that in mind. Does this mean then that agent manager DOES just cut off the extra threads when it hits ‘Daytime’? It doesn’t allow them to finish execution?
Subject: That seemed to be what was happening. I was looking at the problem remotely…
and could only tell what was crashing by analyzing the Log entries. They had 8 threads at night and were dropping to 4 during the day. This might be a good time to ask Julie Kadashevich what is really happening.
Subject: RE: That seemed to be what was happening. I was looking at the problem remotely…
Hmm, that seems kind of crazy. Ok, thanks Bill.