Hello, As I said before, I believe a system and stayed in webfaction.com. When I create theapplication there, they already have a script to download the web2py and prepare itwith Apache. But those weeks while using the system it gives the following error:
502 - Bad Gateway Reported that they were using too much memory, so why the server goes down. Onlyhas 2 to 4 users accessing the system, and specifically access a list of records thathave a total of 2000, and is paged using the plugin called jQuery Javascript DataTable. How do I use the MySQL database, I checked that was not using commit, andinsert after the queries, insertions and data edits. Still continued with the error. I askeveryone's help on this, because I will develop another web application, and I'mtraumatized about what happened and wanted to use the web2py for this project. What should I do when I play in production? What best practices should I play in the project to avoid this memory leaks with Apache and avoid excessive use of memory in queriesto the database? _____________________________________________ *Gilson Filho* *Web Developer http://gilsondev.com*

