Hi all, I run a platform to play one-on-one games online. Most games are played human vs AI (artificial intelligence) and for online games (rated), the AI is hosted on the APE server to prevent cheating.
Of course, having AI on the server is not recommended because it is CPU intensive. However, this should not really be a problem as when I have more players, they will play against each other and there is therefore no need for an AI at peak times. Well, in reality, I have an issue and it is not easy to see where it is. The symptoms are: The AI stops abruptly without giving any error. To be accurate, it is not only the AI, one or two other functions related to the refereeing of games also stop abruptly from time to time. By stopping abruptly I mean the function stops without being completed. And it does not tell anyone. I noted that this only occurs when: - lots of users are connected at the same time (so lots of AIs working at the same time). - the server has run for a few days or weeks (the APE memory increases slightly over time, but it never goes over 110-120MB). Please note the machine is more powerful than needed and that issues are not related to any other activity on the machine. So the problem lies within APE (APE itself or my code). Have you got any clue why APE stops functions abruptly? Or how I could find the issue? Thanks for your time! Nicolas. PS: my AI routines take only a tiny fraction of seconds (the AIs can play 1,000 moves per second). -- -- 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.
