[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

User Defined Service stops responding after some time

Posted on 2009-05-04
1
Medium Priority
?
297 Views
Last Modified: 2012-05-06
Hello All.

A few months back I created a user-defined service on a Windows 2k3 server to run an old serial file transfer application called Phoenix Link. This file communicates with a piece of machinery on the production floor via a wireless ethernet to serial RS-232 adapter. Normally the system works well until a day or two in when the server stops answering requests from the machine (when attempting to download a file from the server to the machine). During this failed state I have confirmed that the wireless link is still functioning and the machine's serial connection to the adapter is running. A restart of the service will cure the problem, so I'm fairly certain the problem is limited to the service. I am monitoring the service via a WMI probe in PRTG Network Monitor which interstingly shows the service as still responding although there is in fact a problem. Any suggestions on how to prevent this service from going non-responsive, or as a band-aid, how to have the service restart automatically after a given period?
0
Comment
Question by:jostafew
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 30

Accepted Solution

by:
Britt Thompson earned 1000 total points
ID: 24297461
restarting the service regularly can be done by creating a batch file and scheduling the restarts for whatever time you choose

create a text file called whateveryouchoose.bat and use this to stop and start the service:

net stop yourcustomservicename
net start yourcustomservicename
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
I have put this article together as i needed to get all the information that might be available already into one general document that could be referenced once without searching the Internet for the different pieces. I have had a few issues where…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question