<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 2 September 2015 at 22:59, Emilio J. Rodríguez-Posada <span dir="ltr"><<a href="mailto:emijrp@gmail.com" target="_blank">emijrp@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Here is the code that access the database <a href="https://github.com/emijrp/wlm-maps/blob/master/ajaxmonuments.php" target="_blank">https://github.com/emijrp/wlm-maps/blob/master/ajaxmonuments.php</a></div></div></div></div></div></div></blockquote><div><br></div><div>fwiw, the table you access doesn't seem to exist for me:</div><div><br></div><div><div>valhallasw@tools-bastion-01:~$ echo "select * from monuments_all limit 1;" | mysql -h tools-db s51138__heritage_p</div><div>ERROR 1146 (42S02) at line 1: Table 's51138__heritage_p.monuments_all' doesn't exist</div></div><div><br></div><div>but the actual response shows</div><div><br></div><div><span style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">{"type":"FeatureCollection","features":[]}</span><br></div><div><span style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium"><br></span></div><div><span style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">I'm not sure why this happens, but it suggests an issue with the code.</span></div><div><span style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium"><br></span></div><div><span style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">(after trying this again just before sending the email: both the php script and the select work correctly now)</span></div><div><span style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium"><br></span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><br></div><span class="">2015-09-02 16:10:30: (server.c.1444) [note] sockets disabled, connection limit reached<br><br></span></div></div></div></div></blockquote><div><br></div><div>This means your webservice is keeping more than 300 connections open, which typically means somehow connections are not closed correctly, or a lot of users trying to visit a slow webservice at the same time.</div><div><br></div><div>Merlijn</div></div></div></div>