10-17-2014 06:54 AM
Hi all,
I ve been using a small eem script to get config changes via email,
lately i noticed that i dont get any email when config changed.
When i debugged the eem i have seen the following error;
"EEM: server has no available thread to service the policy class=default policy_type=applet."
my eem script is attached,
I ve checked the net a little but couldnt find any similar issue.
I could use a little help :)
Cheers.
10-17-2014 01:03 PM
You probably have five instances of EEM applets running, and can no longer service a new instance. Check the output of "show event manager policy pending" and "show event manager policy active". If the policies are stuck, you may have to reload to effectively kill them. Else you can try "event manager scheduler clear all"
10-17-2014 01:58 PM
Hi Joseph,
I checked the show event manager output and there were 16 pending events after clearing with event manager scheduler clear all tried to trigger the event, again result was same still no available thread error :( any option other than reload ?
10-17-2014 02:13 PM
Unfortunately not. You will need to reload.
10-18-2014 01:37 AM
Is there anyone who knows whether this is a bug or a limitation.
10-18-2014 04:57 PM
I don't know your version of code nor which policies were wedged in the queue, but if the policy is this one applet, my guess is it's a bug. We have seen when one specifies an SMTP server by hostname the policy can wedge. Therefore, I always recommend you use an IP address for the SMTP server.
10-19-2014 07:18 AM
I am using hostname also thanks for the tip I ll check with the ip address
05-27-2015 01:42 AM
Reload should fix the problem. Another possible solution would be to increase the pool of available threads for script execution.
R1#show event manager scheduler thread detailed
Increase the total amount of threads for one of the service classes.
R1(config)#event manager scheduler script thread class default number 10
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide