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] 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.
