Solved

User Defined Service stops responding after some time

Posted on 2009-05-04
1
289 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

895 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

17 Experts available now in Live!

Get 1:1 Help Now