<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-AU link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-GB>Hoping for some assistance. Have been running 0.27 updated every couple of days until approx 2week ago while I was away for a while. This morning have run a series of updates from the last two weeks including (I think) moving from RC to Released version (and also a bunch of Ubuntu updates at the same time, quite a number). Will try and keep the query brief but will also try and include the steps that have led to where I currently am in case it assists.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Immediately after upgrade everything was working perfectly. So I ran through and touched up the commflags on a couple of recordings and started transcoding (archiving to a NAS). I have set a max of 3 user jobs at one time but queued about 6 jobs. This is when the trouble started.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>The FE’s now wont connect to the BE (both FE/BE that I use for commflag touch-ups so I don’t tie up the main TV’s, and remote FE’s). Also MythWeb is failing to connect.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>The Frontends just keep cycling through the Country / Database startup config screens. The settings all appear to be correct but it just keeps looping. Mythweb was mostly just showing ‘unavailable’ in the fields (ie Encoder 9 [ DVB : /dev/dvb/adapter0/frontend0 ] is local on mark-P5K-Deluxe and is UNAVAILABLE) rather than recording / not recording etc. But on one refresh it failed to a message that indicated the maximum number of database connections had been reached.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Bit of google led me to open /etc/mysql/my.cnf. Couldn’t see anything unusual in there (although what would I know, I’m a newbie to all this stuff) but saw that bind-address was set to 192.168.1.33 (correct for my setup) and there was a line for max-connections = 100 but was commented out. I left all alone in that file but saw at the bottom an includedir = /etc/mysql/conf.d/ for additional settings and a warning that the includedir could override settings in the file.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>In /etc/mysql/conf.d/ I have three files mysql_safe_syslog.cnf, mythtv.cnf and mythtv-tweaks.cnf. The first and last did not seem to contain anything unusual (to me) but mythtv.cnf contains two lines:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Bind-address = 0.0.0.0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Max-connections = 100<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>To me the bind-address seems clearly wrong, surely it should be my BE IP address 192.168.1.33? However is it the max-connections = 100 that is causing my immediate problem? Should I just comment it out which I assume would allow unlimited connections? Or do I need to set a practical upper limit. I only have 3 FE (one a BE/FE) and a couple of smartphones that access mythweb but assume that the number of database connections is driven by far more than simply the number of devices.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Update: while typing this message mythweb has now started working. I can see 3 user jobs running with 3 more queued. Also a recording has started. But the remote FE still will not connect (repeatedly steps through initial country / database config screens).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>My current plan (thinking on the fly) is to sit tight and let the recording and user jobs complete. Then I will change the mythtv.cnf bind-address to 192.168.1.33 and up the max-connections to 200, reboot and see if that helps.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>But any advice on my current situation would be greatly appreciated.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Mark.<o:p></o:p></span></p></div></body></html>