Project

General

Profile

Bug #21

mt-daapd has a race condition creating pid-file

Added by gmw over 12 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
02/11/2009
Due date:
% Done:

0%


Description

for some reason, mt-daapd (the firefly media server, included in AmahiTunes), has some race condition where it sometimes can start and not create the PID file properly.

however, it does start successfully and works ok.

the side effect of this is that monit thinks the server is stopped and it tries to restart it, without success.

while this is harmless, it's annoying and should be fixed.

History

#1 Updated by cpg over 12 years ago

  • Project changed from platform to amahitunes

#2 Updated by cpg over 12 years ago

a workaround is to do:

killall mt-daapd && rm -f /var/run/mt-daapd.pid

and monit should restart the server with the pid file properly created.

#3 Updated by bigfoot65 over 11 years ago

This depend does not get uninstalled when amhitunes is removed. Based on the bug, it tends to slow down the hda. Recommend it be removed when amahitunes is uninstalled or the wiki is updated to instruct users how to remove it manually.

Once I remove it from my 64-bit system, things ran much better.

#4 Updated by bigfoot65 over 6 years ago

  • Status changed from New to Closed

No longer valid.

Also available in: Atom