Services restart not working consistently
Ben Campbell
Customer
Hi,
I restart the services each night via a batch file. According to Task Scheduler, the task is completed every night. Yet, half the time, databases are loaded into memory that have not been accessed since the previous day - indicating that the services did not restart. The main issue is high memory usage before the overnight data uploads which slows the process down significantly. Is there any log information which may reveal why this (sometimes) happens?
Below is the script used in the batch file. When launched manually it has always worked.
net stop "Board Engine"
Rem -- Wait for 5 minutes
timeout/t 300
Rem -- Now Start the service
net start "Board Engine"
Do you use a different script?
Thanks,
Ben
------------------------------Ben Campbell
Business Intelligence Developer
L & Q
United Kingdom
------------------------------
Tagged:
0
Answers
-
Problem may be that the status of Services was stuck on 'stopping'. I couldn't stop the Board Engine using the Services interface so had to run this script:
taskkill /PID xxxxx /F
Can the script to restart Board services each night be amended so that if 'net stop "Board Engine"' fails, then the taskkill is used instead? Or should we just use taskkill if it always works?
------------------------------
Ben Campbell
Business Intelligence Developer
L & Q
United Kingdom
------------------------------
-------------------------------------------0
Categories
- All Categories
- 2K Forums
- 1.8K Platform
- 159 Academy
- 324 Resources
- 1 Board Knowledge Base
- 50 Best Practices
- 49 How-To Guides
- 19 Board Advocacy Program
- 191 Blog
- 4 Groups Hub
- 4 About Groups
- New Community Members
- DACH
- Japan
- 4 Community Captains
- 1 About Community Captains
- 2 Meet the Community Captains
- 1 Topics & Thought Starters
- Learn from the Board Captains
- Release Notes
- Academy
- 2 Board Academy
- 8 ILT/VILT Course Catalogue
- 13 e-Learning Course Catalogue
- 4 Academy Forum
- 1.2K Idea Exchange
- 337 Partner Hub
- 94 Support
- 14 FAQ's
- Customer Support Portal
- 54 Support Articles
- BEAP