?
Solved

User Defined Service stops responding after some time

Posted on 2009-05-04
1
Medium Priority
?
296 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

752 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