Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Thread suddenly stops in NT Service

Thread Tools

Thread suddenly stops in NT Service

Matt Rapoport
Posts: n/a
I'm running an NT service with a thread. The thread performs a
calculation every so often and appends the number to a text file.
Every so often the thread just stops - or so it seems. The text file
stops getting numbers added to it but the service is still running and
no errors have been thrown. I'm quite sure that the code would catch
an error and post it to the event viewer if one were arising.

The only other relevant points I can think of are that the thread runs
a while 1: loop and is set to run as a Daemon. The service waits only
for the stop command. It doesn't seem to be operating system specific
(happens on both XP and 2000). It doesn't seem to be file size
specific, it stops at various file sizes ranging from 5K - 50K. It
doesn't seem to be time specific - sometimes it'll stop after about a
day. Sometimes it'll stop after two days.

Any help would be great. Thx.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET Development Server suddenly stops after debugging vardium ASP .Net 0 02-08-2006 07:47 AM
Firefox suddenly stops loading websites HellPope Huey Firefox 3 01-17-2006 07:02 PM
VS2003 Suddenly Stops Seeing Localhost IT Drone ASP .Net 2 03-23-2005 01:06 AM
State-server suddenly stops responding =?iso-8859-1?q?Nils Hedstr=f6m ASP .Net 2 01-28-2005 05:53 AM
Outlook Express 6 suddenly stops working with Hotmail? *** HAWK Computer Support 1 01-12-2004 06:45 PM