Solved

User Defined Service stops responding after some time

Posted on 2009-05-04
1
288 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
1 Comment
 
LVL 30

Accepted Solution

by:
renazonse earned 250 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Microsoft has released remote PowerShell capabilities to all commercial Office 365 customers. So you can be controlled via PowerShell and not from the Office 365 admin center Download Windows PowerShell Module for Lync Online http://www.micros…
The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
This video discusses moving either the default database or any database to a new volume.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

707 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now