Bug 3471 - MySQL Issues
: MySQL Issues
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Database
: 6.5b1
: All RedHat Linux
: P2 normal (vote)
: ---
Assigned To: Chris Owens
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-05-31 03:40 UTC by Tim Hunt
Modified: 2008-09-15 14:39 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Hunt 2006-05-31 03:40:37 UTC
Couple of issues:

1) Too many MySQL processes. Since SlimServer is effectively single threaded, it doesn't make sense to run multiple MySQL processes, since there can be only one query at a time.

2) Cleanup MySQL processes after slimserver crash - this does happen, and there doesn't appear to be a ny provision for this on a restart.

You might want to consider using a light-weight monitor process to start both MySQL and the slimserver. If either crashes, the monitor process can then do the cleanup, and either exit, or restart gracefully.
Comment 1 Dan Sully 2006-06-05 21:46:09 UTC
We're now deal with starting and stopping MySQL a little bit better.

Please try the latest nightly and let me know if it's better.

Thanks.