Bug 15186 - Scanner doesn't stop when server is stopped
: Scanner doesn't stop when server is stopped
Status: NEW
Product: Logitech Media Server
Classification: Unclassified
Component: Scanner
: 7.5.0
: PC Windows XP
: P3 normal (vote)
: 7.7.x
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-25 00:00 UTC by Philip Meyer
Modified: 2011-10-27 08:25 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Meyer 2009-11-25 00:00:36 UTC
When I started the server (using "P:\Programming\Perl 5.10\bin\perl.exe" -w "P:\Music\SlimServer\Beta\server\slimserver.pl" --prefsdir "D:\Squeezebox Server\Beta\Prefs" --logdir "D:\Squeezebox Server\Beta\Logs"), it automatically started a scanner process.

When I stopped the server (by using Ctrl-C in the console window), the scanner process continued to run.

It should stop when the server is stopped.

7.5 embedded branch, SVN 29453.
Comment 1 Chris Owens 2009-12-07 09:24:03 UTC
Michael notes Andy has been doing work in this area
Comment 2 Michael Herger 2009-12-14 05:46:18 UTC
While this needs to be fixed, it's not a blocker for 7.5 as it's not an issue on TinySC (scan is run in-process)
Comment 3 Chris Owens 2010-03-08 11:17:10 UTC
Moving P3 and lower bugs to next release target
Comment 4 Andy Grundman 2011-04-07 11:00:43 UTC
Still a problem?
Comment 5 Philip Meyer 2011-07-18 15:40:47 UTC
I will retry this when bug 17173 is fixed.
Comment 6 Andy Grundman 2011-09-19 06:48:34 UTC
Phil can you retest?
Comment 7 Philip Meyer 2011-10-27 08:25:14 UTC
Tried this again with LMS 7.7.

External scanner is still a problem.  After first run with LMS 7.7, an automatic rescan was started, which I didn't want because I wanted to change the prefs to point at several music source folders, rather than point at a folder that had shortcuts to the source folders.

I tried to abandon the scan, which initially indicated that it had stopped, but upon refreshing showed the scan was still running.

I terminated the LMS server process, and the scanner was still running.  I had to manually kill the scanning process too.