- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Script run errors
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-06-2015 06:30 AM
Hi Experts,
Last week we tried to run a simple perl script and encountered an issue "Unable to contact sandbox" and Max Dissessions reached..
The first error appears to be harmless because the jobs continue to complete but results in the Job status marked as "Error". The second
error is probably caused by "Hung" sessions.
1. *** Error / Unable to contact sandbox ***
Connection to 39.0.0.2 closed by remote host.
2.
*** Error / NetMRI dis-sessions/dis-error Maximum sessions are in use. Try again later. https://<NETMRI_IP>/api/2.9/dis_sessions/open.json at /mnt/host/lib/NetMRI_Easy.pm line 392. *** Session log does not exist since there was an unknown error.
Network Automation Version : | 6.8.7.75643 |
API Version : |
2.9 |
Thanks,
Rahul Shenoy
Solved! Go to Solution.
Any update? I am still
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-09-2015 08:07 AM
Any update? I am still awaiting your reply. We are going to schedule another script run and hope not to see these errors again. To me it seems like hung CLI sessions. Is there a CLI command to know how many CLI/DIS sessions are active? And is there a way to Kill all active sessions if we were to face the situation again?
Hi Rahul,
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-09-2015 10:44 AM
Hi Rahul,
Do you have a 4000 model NetMRI appliance by chance? I'm guessing you probably do, and, if so, the "maximum sessions are in use" error is a known issue on this model. You can do the following to work around this problem.
1. Go to Settings > General Settings > Advanced Settings. Change the value of “Concurrent Device Sessions per Job” from 20 to 40.
2. Reboot the appliance.
Thanks,
- Chris
Hi Chris,
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-09-2015 11:59 AM
Hi Chris,
Thanks for replying. I was earnestly awaiting somebody would reply.
Yes. You are right... The model is as shown below. But my problem is not with #of sessions that can be supported. We have a device list of 1200 devices... So when we start the script, the first few devices are succesfully completed.. After sometime, all jobs starts failing with the errors I told above. It seems like the earlier jobs are not closing the sessions they opened.
Model : | NT4000 |
Hi Rahul,
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-10-2015 06:16 AM
Hi Rahul,
Please follow the two steps outlined above. I am pretty confident it will resolve this problem you are experiencing.
Thanks,
- Chris
Re: Hi Rahul,
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-28-2016 07:35 AM
FYI: We're experiencing the same issue all of a sudden and our setting is set to 40 already since some time.
We opened a ticket for it.
Re: Hi Rahul,
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-31-2016 06:35 AM
Do you have a new device vendor or type under management? If so, it could be with the device support for that device - maybe it's not closing sessions properly.