You are not logged in.

#1 2013-07-02 09:59:17

geekinthesticks
Member
From: England
Registered: 2011-09-21
Posts: 143
Website

minidlna Server Stops Responding

minidlna starts up and will serve media OK. However, after a period of time it stops responding - clients can't see the server. Restarting it fixes the problem for a while, until it stops responding again. I have logging turned up to max, but no errors are shown apart from the ones shown below when it first starts up.

[2013/07/02 10:20:42] minidlna.c:885: warn: Starting MiniDLNA version 1.0.25 [SQLite 3.7.16.2].
[2013/07/02 10:20:42] minissdp.c:72: error: setsockopt(udp, IP_ADD_MEMBERSHIP): Address already in use
[2013/07/02 10:20:42] minissdp.c:122: warn: Failed to add multicast membership for address 192.168.0.66
[2013/07/02 10:20:42] minidlna.c:991: warn: HTTP listening on port 8200

Offline

#2 2013-07-03 06:23:47

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: minidlna Server Stops Responding

The only think cross my mind is that DHCP for the server may cause some problem. Try to check if the DHCP release time is related with minidlna.


do it good first, it will be faster than do it twice the saint wink

Offline

#3 2013-07-03 08:25:47

geekinthesticks
Member
From: England
Registered: 2011-09-21
Posts: 143
Website

Re: minidlna Server Stops Responding

I'll try giving it a fixed ip and see if that makes any difference.

Edit:

Just realized that it already has a fixed ip! So nothing to do with dhcp leases. Thanks for the suggestion though.

Last edited by geekinthesticks (2013-07-03 08:53:36)

Offline

#4 2013-07-03 11:00:33

theDOC
Member
From: Aachen, Germany
Registered: 2009-06-18
Posts: 52

Re: minidlna Server Stops Responding

I had the same issue when I was using a semi-managed network switch, which could understand multicast traffic. It tracked the IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP requests, so that multicast traffic would only be sent to those ports, that have joined the multicast group before. The problem was, that there was some kind of timeout after which the switch forgot about the joins, so that the multicast packets weren't sent to any port, because there was seemingly no one listening.
I replaced it with an unmanaged switch that handles multicast packets like broadcast, sends them to all ports and have the clients throw them away, if they are not interested

Offline

#5 2013-07-03 12:03:48

geekinthesticks
Member
From: England
Registered: 2011-09-21
Posts: 143
Website

Re: minidlna Server Stops Responding

My Netgear is an unmanaged switch. However, the network is lashed together with the Netgear and another unmanaged switch, so it's quite possible that this is the problem Time to buy a 16 port unmanaged switch.

Edit:
Yes it's definitely a network problem. Apart from my main server, I have a RaspberryPi with minidlna installed. The ethernet interface can connect to my local LAN, whilst the wifi interface acts as an access point. After short time minidlna drops off the ethernet network, but I can still connect to it via the WiFi interface.

Last edited by geekinthesticks (2013-07-03 13:05:41)

Offline

Board footer

Powered by FluxBB