I have got miniDLNA running on Entware. USB HDD is connected to AC56U working as AP client. After 6h media server crash and stop to be visible in network. I see in logs that this is connected with dnsmasq service each 6h. When dnsmasq start, dlna service crashes.
minidlna.log:
[2015/06/01 17:21:15] minidlna.c:1026: warn: Starting MiniDLNA version 1.1.4.
[2015/06/01 17:21:15] minidlna.c:357: warn: New media_dir detected; rescanning...
[2015/06/01 17:21:15] minidlna.c:1065: warn: HTTP listening on port 8200
[2015/06/01 17:21:15] scanner.c:726: warn: Scanning /tmp/mnt/Seagate/media
[2015/06/01 17:26:14] scanner.c:813: warn: Scanning /tmp/mnt/Seagate/media finished (789 files)!
[2015/06/01 17:26:14] playlist.c:125: warn: Parsing playlists...
[2015/06/01 17:26:14] playlist.c:259: warn: Finished parsing playlists.
[2015/06/01 23:21:08] minidlna.c:154: warn: received signal 15, good-bye
syslog.log:
Jun 1 20:59:21 sd-idle-2.6[464]: spinning down /dev/sda after 1 hours 1 mins
Jun 1 21:04:51 sd-idle-2.6[464]: spinning up /dev/sda after 5 mins 30 secs
Jun 1 21:36:21 sd-idle-2.6[464]: spinning down /dev/sda after 31 mins 30 secs
Jun 1 23:21:06 rc_service: udhcpc_lan 1311:notify_rc start_dnsmasq
Jun 1 23:21:08 rc_service: udhcpc_lan 1311:notify_rc restart_dms
Jun 1 23:21:21 sd-idle-2.6[464]: spinning up /dev/sda after 1 hours 45 mins
Jun 1 23:51:51 sd-idle-2.6[464]: spinning down /dev/sda after 30 mins 30 secs
Jun 2 01:21:52 sd-idle-2.6[464]: spinning up /dev/sda after 1 hours 30 mins 1 secs
Jun 2 01:52:52 sd-idle-2.6[464]: spinning down /dev/sda after 31 mins
Jun 2 05:21:09 rc_service: udhcpc_lan 1484:notify_rc start_dnsmasq
Jun 2 05:21:11 rc_service: udhcpc_lan 1484:notify_rc restart_dms
Jun 2 05:57:52 sd-idle-2.6[464]: spinning up /dev/sda after 4 hours 5 mins
minidlna.log:
[2015/06/01 17:21:15] minidlna.c:1026: warn: Starting MiniDLNA version 1.1.4.
[2015/06/01 17:21:15] minidlna.c:357: warn: New media_dir detected; rescanning...
[2015/06/01 17:21:15] minidlna.c:1065: warn: HTTP listening on port 8200
[2015/06/01 17:21:15] scanner.c:726: warn: Scanning /tmp/mnt/Seagate/media
[2015/06/01 17:26:14] scanner.c:813: warn: Scanning /tmp/mnt/Seagate/media finished (789 files)!
[2015/06/01 17:26:14] playlist.c:125: warn: Parsing playlists...
[2015/06/01 17:26:14] playlist.c:259: warn: Finished parsing playlists.
[2015/06/01 23:21:08] minidlna.c:154: warn: received signal 15, good-bye
syslog.log:
Jun 1 20:59:21 sd-idle-2.6[464]: spinning down /dev/sda after 1 hours 1 mins
Jun 1 21:04:51 sd-idle-2.6[464]: spinning up /dev/sda after 5 mins 30 secs
Jun 1 21:36:21 sd-idle-2.6[464]: spinning down /dev/sda after 31 mins 30 secs
Jun 1 23:21:06 rc_service: udhcpc_lan 1311:notify_rc start_dnsmasq
Jun 1 23:21:08 rc_service: udhcpc_lan 1311:notify_rc restart_dms
Jun 1 23:21:21 sd-idle-2.6[464]: spinning up /dev/sda after 1 hours 45 mins
Jun 1 23:51:51 sd-idle-2.6[464]: spinning down /dev/sda after 30 mins 30 secs
Jun 2 01:21:52 sd-idle-2.6[464]: spinning up /dev/sda after 1 hours 30 mins 1 secs
Jun 2 01:52:52 sd-idle-2.6[464]: spinning down /dev/sda after 31 mins
Jun 2 05:21:09 rc_service: udhcpc_lan 1484:notify_rc start_dnsmasq
Jun 2 05:21:11 rc_service: udhcpc_lan 1484:notify_rc restart_dms
Jun 2 05:57:52 sd-idle-2.6[464]: spinning up /dev/sda after 4 hours 5 mins