Max Connections reached

289 views
Skip to first unread message

Rüdiger Hausmann

unread,
Apr 3, 2010, 7:51:51 PM4/3/10
to music-pla...@googlegroups.com
... is the message in the mpd.log, when I can't connect to mpd anymore.
When I restart mpd, everything works smooth. Minion is my only client
used. What can I do to avoid this? One might guess, that opend
connections were not properly closed or get lost somehow.

Rᅵdiger

Aurélien Requiem

unread,
Apr 3, 2010, 7:59:22 PM4/3/10
to music-pla...@googlegroups.com
Hi,

What's your current setup ? Version of mpd and minion please ?
Any router/firewall between the server and the client ? Or maybe a proxy ?

thanks

2010/4/4 Rüdiger Hausmann <ruediger...@netcologne.de>
... is the message in the mpd.log, when I can't connect to mpd anymore.
When I restart mpd, everything works smooth. Minion is my only client used. What can I do to avoid this? One might guess, that opend connections were not properly closed or get lost somehow.

Rüdiger

--
You received this message because you are subscribed to the Google Groups "Music Player Minion" group.
To post to this group, send email to music-pla...@googlegroups.com.
To unsubscribe from this group, send email to music-player-mi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/music-player-minion?hl=en.


Rüdiger Hausmann

unread,
Apr 3, 2010, 9:25:52 PM4/3/10
to music-pla...@googlegroups.com
Hi, I have mpd 0.15.8 and Minion is 1.99.25
I use the gentoo distri running under the 2.6.31-r10 kernel. Last hour I
just updated to 2.6.33.1-rt11, but this update wasn't aimed at that problem.
I currently spy the mpd.log if I can find something suspicious.
R�diger

Aur�lien Requiem schrieb:


> Hi,
>
> What's your current setup ? Version of mpd and minion please ?
> Any router/firewall between the server and the client ? Or maybe a proxy ?
>
> thanks
>

> 2010/4/4 R�diger Hausmann <ruediger...@netcologne.de
> <mailto:ruediger...@netcologne.de>>


>
> ... is the message in the mpd.log, when I can't connect to mpd
> anymore.
> When I restart mpd, everything works smooth. Minion is my only
> client used. What can I do to avoid this? One might guess, that
> opend connections were not properly closed or get lost somehow.
>

> R�diger


>
> --
> You received this message because you are subscribed to the Google
> Groups "Music Player Minion" group.
> To post to this group, send email to
> music-pla...@googlegroups.com

> <mailto:music-pla...@googlegroups.com>.


> To unsubscribe from this group, send email to
> music-player-mi...@googlegroups.com

> <mailto:music-player-minion%2Bunsu...@googlegroups.com>.

Aurélien Requiem

unread,
Apr 3, 2010, 9:31:55 PM4/3/10
to music-pla...@googlegroups.com
Hi Rüdiger

Thanks for the info. Could you upgrade to mpm 2.0 please as it is now compatible with Firefox 3.6 ? Also, which version of FF are you using ?
If you want more logging in MPD, change the parameter "log_level" to "verbose".

Also, when you have the problem, could you run the following command on the server side:
netstat -an | grep ':66'

Thanks

2010/4/4 Rüdiger Hausmann <ruediger...@netcologne.de>
Hi, I have mpd 0.15.8 and Minion is 1.99.25
I use the gentoo distri running under the 2.6.31-r10 kernel. Last hour I just updated to 2.6.33.1-rt11, but this update wasn't aimed at that problem.
I currently spy the mpd.log if I can find something suspicious.
Rüdiger

Aurélien Requiem schrieb:
Hi,

What's your current setup ? Version of mpd and minion please ?
Any router/firewall between the server and the client ? Or maybe a proxy ?

thanks

2010/4/4 Rüdiger Hausmann <ruediger...@netcologne.de <mailto:ruediger...@netcologne.de>>


   ... is the message in the mpd.log, when I can't connect to mpd
   anymore.
   When I restart mpd, everything works smooth. Minion is my only
   client used. What can I do to avoid this? One might guess, that
   opend connections were not properly closed or get lost somehow.

   Rüdiger


   --     You received this message because you are subscribed to the Google
   Groups "Music Player Minion" group.
   To post to this group, send email to
   music-pla...@googlegroups.com
   <mailto:music-pla...@googlegroups.com>.

   To unsubscribe from this group, send email to
   music-player-mi...@googlegroups.com
   <mailto:music-player-minion%2Bunsu...@googlegroups.com>.

   For more options, visit this group at
   http://groups.google.com/group/music-player-minion?hl=en.


--
You received this message because you are subscribed to the Google Groups "Music Player Minion" group.
To post to this group, send email to music-pla...@googlegroups.com.
To unsubscribe from this group, send email to music-player-mi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/music-player-minion?hl=en.

Rüdiger Hausmann

unread,
Apr 3, 2010, 9:40:38 PM4/3/10
to music-pla...@googlegroups.com
Hi Aur�lien,
I will stay with FF 3.0.19 as long as I could because 3.6 has issues
with some regulary visited sites. I just upgraded to mpm2
R�diger


Aurélien Requiem

unread,
Apr 3, 2010, 9:42:27 PM4/3/10
to music-pla...@googlegroups.com
Ok. Let me know if the problem persists or not. I'll see if I can do something for that.

Cheers


2010/4/4 Rüdiger Hausmann <ruediger...@netcologne.de>
Hi Aurélien,

I will stay with FF 3.0.19 as long as I could because 3.6 has issues with some regulary visited sites. I just upgraded to mpm2
Rüdiger


--
You received this message because you are subscribed to the Google Groups "Music Player Minion" group.

Rüdiger Hausmann

unread,
Apr 4, 2010, 7:06:39 AM4/4/10
to music-pla...@googlegroups.com
The client is connected via Wlan to my network. It tends to loose it's
connection from time to time, and tends to get a different IP from the
main dhcp-service when it reconnects. Probably mpd doesn't close the now
orphaned open previous connection? The PC running mpd is hard IP'ed.
(Happy Easter, btw!)
R�diger

Aur�lien Requiem schrieb:


> Ok. Let me know if the problem persists or not. I'll see if I can do
> something for that.
>
> Cheers
>
>

> 2010/4/4 R�diger Hausmann <ruediger...@netcologne.de
> <mailto:ruediger...@netcologne.de>>
>

> Hi Aur�lien,


> I will stay with FF 3.0.19 as long as I could because 3.6 has
> issues with some regulary visited sites. I just upgraded to mpm2
>

> R�diger


>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Music Player Minion" group.
> To post to this group, send email to
> music-pla...@googlegroups.com

> <mailto:music-pla...@googlegroups.com>.


> To unsubscribe from this group, send email to
> music-player-mi...@googlegroups.com

> <mailto:music-player-minion%2Bunsu...@googlegroups.com>.

Aurélien Requiem

unread,
Apr 4, 2010, 7:21:32 AM4/4/10
to music-pla...@googlegroups.com
Happy Easter too :-)

well, wlan may explain the problem. By default, it seems minion establises one connection and use it. To be confirmed, but commands are initiated by the client and then the server provides answers. So, the server will never send data on its own thus never being able to detect the connection is in fact dead, unless the timeout occurs.

I had a look to mpd code and the conf. You can tweak a parameter or two to see if it improves things...
connection_timeout             "60"
max_connections                "10"

As you use only minion, you should be able to set the timeout pretty low, like 10 I guess.

Let me know your results.

Cheers


2010/4/4 Rüdiger Hausmann <ruediger...@netcologne.de>
The client is connected via Wlan to my network. It tends to loose it's connection from time to time, and tends to get a different IP from the main dhcp-service when it reconnects. Probably mpd doesn't close the now orphaned open previous connection? The PC running  mpd is hard IP'ed.
(Happy Easter, btw!)
Rüdiger

Aurélien Requiem schrieb:
Ok. Let me know if the problem persists or not. I'll see if I can do something for that.

Cheers


2010/4/4 Rüdiger Hausmann <ruediger...@netcologne.de <mailto:ruediger...@netcologne.de>>


   Hi Aurélien,

   I will stay with FF 3.0.19 as long as I could because 3.6 has
   issues with some regulary visited sites. I just upgraded to mpm2

   Rüdiger



   --     You received this message because you are subscribed to the Google
   Groups "Music Player Minion" group.
   To post to this group, send email to
   music-pla...@googlegroups.com
   <mailto:music-pla...@googlegroups.com>.

   To unsubscribe from this group, send email to
   music-player-mi...@googlegroups.com
   <mailto:music-player-minion%2Bunsu...@googlegroups.com>.

   For more options, visit this group at
   http://groups.google.com/group/music-player-minion?hl=en.


--
You received this message because you are subscribed to the Google Groups "Music Player Minion" group.
To post to this group, send email to music-pla...@googlegroups.com.
To unsubscribe from this group, send email to music-player-mi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/music-player-minion?hl=en.
Reply all
Reply to author
Forward
0 new messages