Hi Louis! Yes of course, this was the thread:
https://groups.google.com/forum/#!searchin/ape-project/too$20many$20connections/ape-project/qgVThrSuCiI/a1EolBHysuYJ At the end I want to remind everybody who now in the same situation (and following this discussion), the next problem (if it is already not solved) how to keep alive the mysql connection. The best solution is written here: https://groups.google.com/forum/#!searchin/ape-project/mysql$20long/ape-project/Zsn65ObQrBA/5hhcR-JSljUJ Thanx for all again, Sándor 2015. április 28., kedd 13:53:24 UTC+2 időpontban Louis Charette a következőt írta: > > Can you share the link to the post you're talking about for future > reference? > > Envoyé de mon iPhone > > Le 2015-04-28 à 07:27, Sándor Volenszki <[email protected] <javascript:>> > a écrit : > > Hi Guys! > > The problem solved! :) > > Peter pointed on the mysql connection, like a possible problem (many thanx > for it). After I checked with one client that the interrupting happens when > I send the 20th request to APE, which is the maximum connection number on > my mysql server. > > After i searched on the group for mysql too many connections, and found a > topic, about this, wher Nicolas Guibert describes a solution. I followed > and made a mysqlconnect.js, after included in main.ape.js and voila, we > have done a test with 29 clients and near 50 requests/clients. Everything > works great! > > Thank you for all again! > > Sándor > > 2015. április 27., hétfő 22:47:37 UTC+2 időpontban Sándor Volenszki a > következőt írta: >> >> Hi again! >> >> I finished the rewrite of my code, now operte only with APE and MYSQL >> from server side JS (no AJAX to PHP). It works like a charm! >> >> But now, after a few (aprox.: 20-25 request.send) everything stops to >> work, and in the log i can see this: >> >> 2015-04-27 22:39:23 - src/sock.c:293 - events_poll() : Interrupted system >> call >> 2015-04-27 22:39:33 - src/entry.c:188 - APE starting up - pid : 8102 >> 2015-04-27 22:39:33 - src/entry.c:251 - Starting daemon >> >> After this nothing works until a sudo /etc/init.d/ape-server restart >> >> What do you think is it an APE server effect, or caused by my code? >> >> Thanx in advice, >> Sándor >> > -- > -- > You received this message because you are subscribed to the Google > Groups "APE Project" group. > To post to this group, send email to [email protected] > <javascript:> > To unsubscribe from this group, send email to > [email protected] <javascript:> > For more options, visit this group at > http://groups.google.com/group/ape-project?hl=en > --- > APE Project (Ajax Push Engine) > Official website : http://www.ape-project.org/ > Git Hub : http://github.com/APE-Project/ > > --- > You received this message because you are subscribed to the Google Groups > "APE Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > -- -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/ --- You received this message because you are subscribed to the Google Groups "APE Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
